Click to See Complete Forum and Search --> : Auto Center Website


nitehawk416
05-19-2005, 02:39 PM
This may be a really stupid question, but, my web page doesn't fill the whole screen up, and it looks kind of stupid with it on the left side when the monitor's resolution is higher. I want it to center at any resolution size. like this web page http://www.projectfireworks.com/index.aspx. Anyone know how to do this?

Thanks
Ryan :confused:

jmaresca2005
05-19-2005, 03:13 PM
dont use pixels sizes in ur code. use % in your width and height. the % will keep everything in order while being viewed in different resolutions.

nitehawk416
05-19-2005, 03:24 PM
do you know how to do that in fireworks? how do I change it if I already used pixels?

ray326
05-19-2005, 03:29 PM
Set the margin-left and margin-right of your content container to auto.

nitehawk416
05-19-2005, 04:22 PM
In Fireworks MX 2004, I went to page setup, and the source is set to automatic, but the left and right margins only allow numbers. what is a content container?

ray326
05-19-2005, 10:22 PM
but the left and right margins only allow numbers
Sounds like you need a more sophisticated editor. Try HTML-kit.
what is a content container?
It's a div wrapped around all your content. Sometimes you can use the body for that; generally not.