[thelist] Gecko wrong rendering width property?

Gauthier@PlacidSound gauthier at placidsound.com
Mon Jun 10 02:12:01 CDT 2002


Hi,
I've some problems with the width property with css:
I've table nested in a div (contentPart1)

Gecko interpret my width:100% based on the body width and not on the div
width (wich is auto/undefined)
http://test.wisard.net/Gauthier/evolt/post10062002/evolt.html
http://test.wisard.net/Gauthier/evolt/post10062002/evolt.css

Take a look on what IE render:
http://test.wisard.net/Gauthier/evolt/post10062002/evolt.gif

Does the IE render is compliant ? (width:100% based on the parent element
width)

I don't want to replace my div's with a table layout

Thanks a lot for any clue!

Gauthier

PS: here is a snip from my css:

#contentPart1
{
 background-color: #EEE;
 height:300px;
 clear:right;
}

#contentPart1 table
{
 width:100%;
 border:1px solid #000;
}




More information about the thelist mailing list