[thelist] CSS & IE 5.5 Puzzle

Buffington, Michael michael.buffington at office.xerox.com
Fri Jun 27 07:39:22 CDT 2003


<><><><><><><><><><><>
ie5 will allways enlarge tables to show all content.
I'm afraid this can't be stopped.
<><><><><><><><><><><>

Strange. In the snippet I showed the table still spanned further than the div should have allowed even though the content is smaller than the div, but it's not so important now. I've figured out a workaround of sorts.

Instead of using auto, as so:

* html #thetable{
   width:auto;/*for ie5*/
   w\idth:100%;/*for ie6*/
}

I've used a percentage:

* html #thetable{
   width:75%;/*for ie5*/
   w\idth:100%;/*for ie6*/
}

It's not perfect, but it's better than spanning too far.

Thanks for the original workaround.

Michael Buffington


More information about the thelist mailing list