[BNM] rrrrgghh - why won't this centre?...
Adam Mould
adam at amcreative.biz
Mon Feb 2 10:13:15 GMT 2009
On 2 Feb 2009, at 10:08, Tarun Hari wrote:
> margin: 0 auto;
>
> needs to be applied to the cms container too
hhmmm... doesn't work for me here:
MAC IE / SAFARI / FIREOX / NETSCAPE?
amended CSS:
/* CMS style sheet */
body {
font: 100% georgia, sans-serif;
background: #501646;
text-align: center;
margin-top: 0px;
}
/*MAIN CONTAINER 2*/
#container2 {
background-image:url(img/basket.jpg);
width: 1024px;
height: 768px;
text-align: center;
margin: 0 auto;
position:relative;
}
#cmscontainer {
background-color:#fff;
width:600px;
height:500px;
overflow:auto;
padding:10px;
margin: 0 auto;
position:relative;
}
More information about the BNMlist
mailing list. Powered by Wessex Networks