ituano
04-21-2007, 09:13 AM
I have used the div tag with left and right margins set to auto to center my page. However on the design view on dreamweaver as well as while previewing it in IE the page is aligned to the left. This is not the case when previewed in other browsers like Opera and Mozilla. In the aforementioned browsers he page is centrally positioned.
What should I do to ensure that the page is centrally positioned in both the design view as well as when previewed over the IE.
I have below the Css
#container
{
background: #ffcc00;
width: 760px;
text-align: left;
margin-right: auto;
margin-left: auto;
}
Thanks
ituano
What should I do to ensure that the page is centrally positioned in both the design view as well as when previewed over the IE.
I have below the Css
#container
{
background: #ffcc00;
width: 760px;
text-align: left;
margin-right: auto;
margin-left: auto;
}
Thanks
ituano