[thelist] Table Width in IE

Ian Anderson ian at zstudio.co.uk
Mon Jun 12 13:45:15 CDT 2006

Minh Lee Goon wrote:
> I have a <TABLE> inside a <DIV>, but when I set the table width="100%", 
> the table stretches to the full width of the screen, not 100% of the div 
> width. This causes a little side scrolling. Is there anyway to make the 
> table take up 100% of the <DIV> and not 100% of the entire display?

Perhaps you could share a link to an example, or provide a bit more 
information about the DOCTYPE and any style applied to the DIV...

I have just tried it in a minimal test case and it works as you desire - 
IE6 Win in standards mode.


zStudio - Web development and accessibility
- http://zStudio.co.uk
Snippetz.net - Your personal, private code library
- http://snippetz.net

More information about the thelist mailing list