PDA

View Full Version : noob question?


visualarts
09-20-2003, 03:06 PM
ok, i got a quick question. i run 1024x768 res. and the site im building is designed for 800x600. but i want it to look good on any res. ive seen it done b4. how do i make the entire site center on 1024x768? the best example i got is www.miniclip.com it centers on 1024x768 and it fills the whole page on 800x600. can anyone help me?

liorean
09-20-2003, 03:12 PM
You set margin: 0 auto; in your css on the element that contains the site. (You might have to wrap the entire thing in a div if you don't have a single containing element)

visualarts
09-20-2003, 03:15 PM
ty liorean. gonna try that now. btw if it makes a diff. i use DreamWeaver.

ionsurge
09-20-2003, 03:18 PM
That shouldn't make a difference.

:)

visualarts
09-20-2003, 03:23 PM
it worked! ty guys very much! :D