Forums | MacLife
You are not logged in.
#1 2008-02-03 5:25 pm
Basic HTML
I'd like to center my page - http://cyclosity.com/, That is, I'd like to center the content of this here wizzeb page.
Ideas?
Last edited by Beowulf (2008-02-03 5:26 pm)
Offline
#2 2008-02-03 9:36 pm
Re: Basic HTML
put everything inside a WRAPPER div and after setting a width ... set the margin to ...
margin:1em auto;
this will automatically center the content inside the WRAPPER div
margin: TOPMARGIN RIGHTMARGIN BOTTOMMARGIN LEFTMARGIN;
so that would look like ..
margin:5px auto 5px auto;
the top and bottom would have a margin of 5px and the left and right values would be adjusted so that the DIV would center.
i hope this helps
"The Fates lead he who will; he who won't, they drag." - Seneca
Offline
