Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

lmedland

macrumors newbie
Original poster
Jun 1, 2003
25
0
England, United Kingdom
Hi,

I have just started using Dreamweaver MX. I would like to know how you make a web page centre in a browser.

I have created a page for a screen running at 800 x 600 but when it gets displayed in anything higher, the page has shifted to the left hand side of the browser window. What I would like is to always have the components on the page central to the browser window regardless of what resolution the user is running.

This is probably really easy for you guys but I am just starting out so any help would be great.

Thanks for your help,

Luke
 
I think this should work..

Go to the Windows menu and select Properties. Then do a Select All (apple-a) on your page and select the 'center text' button...



irmongoose
 

Attachments

  • middle.jpg
    middle.jpg
    4 KB · Views: 150
First make a table that is 100% in width and height.

table.gif



Then place your content inside the table. Select a blank area inside the tabe and set the align and valign to center and middle.

center.gif


The best thing to do is to learn some html. If you don't your code will most likely be crappy nomather what you do.

Help/Tutorials <- Go there!
 
Originally posted by F/reW/re
First make a table that is 100% in width and height.

Then place your content inside the table. Select a blank area inside the tabe and set the align and valign to center and middle.

The best thing to do is to learn some html. If you don't your code will most likely be crappy nomather what you do.

Help/Tutorials <- Go there!

Ahh of course... I've learned something! Thanks! :D



irmongoose
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.