Center de site with CSS
Last Post 01/31/2010 3:10 PM by Hans Beekman. 2 Replies.
Author Messages
Hans Beekman
Nuke Newbie
Nuke Newbie
Posts:4


--
01/28/2010 6:35 AM  
Hi There, After working for years with tables I switch now to CSS. I followed all the tutorials but can not find the way to center the page. When I place a
with Id wrap and set it in skin.css to margin:0 auto it must do the job. It won't What can be the case? Like to here from you.
sburns
Nuke Newbie
Nuke Newbie
Posts:2


--
01/30/2010 7:13 AM  
Did you set the width inside CSS?
Hans Beekman
Nuke Newbie
Nuke Newbie
Posts:4


--
01/31/2010 3:10 PM  
Thanx for reply: Yes I did: I put the hole site in a container div #container { width:984px; margin:0 auto; position:relative; } It still align's left. Strange though!?


---