Posted by Neredbojias on 10/09/07 01:21
Well bust mah britches and call me cheeky, on Mon, 08 Oct 2007 13:54:11 GMT
Bruno Barros scribed:
> I have a website template, in which ALL its content is inside a <div
> id='content'>.
> That div has the following CSS:
>
> #container {
> width: 90%;
> margin-left: auto;
> margin-right: auto;
> }
>
> In Firefox, it works. All the content is contained properly. In
> Internet Explorer 6, it doesn't. Can you tell me what I am doing wrong?
Don't think ie6 understands "margin:auto;".
Best to use a conditional comment and do something like:
width:90%;
margin-left:5%;
or just use this alone.
--
Neredbojias
Half lies are worth twice as much as whole lies.
[Back to original message]
|