Hi,
I have a problem with setting width to 100% for a table inside a div.
Mozilla is fine, but both IE 6 and 7 have problems, showing a
horizontal scroll bar.

To solve this, I tried to put the following IE-specific rule:
width: expression(eval(this.parentNode.offsetWidth) + 'px')
so that width would always be set same as its parent. This solves the
problem, but when the browser is resized, width is not updated until I
refresh the browser.

Any workaround?

Thanks.
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to