Source file: http://james.globalhavens.com/css-discuss/webtop/2col-scroll.html
I'm trying to get columns lined up between three stacked tables, the middle one of which is in a scrolling DIV. The scroll bar has pushed the content in, so the %-width columns have adjusted, and no longer line up with the header and footer. To fix this, I've tried to add 19px of padding to the table, to adjust for the scrollbar. This works in Firefox, where I could use border-spacing, but not in IE, where I was forced to use border-collapse. Can anyone think of a CSS way to do this, without adding an extra element to the page? As well, if there any way to declare a background-color for a TR? The padding space won't pick up the color so far, unless I format the table itself, which I'd rather not do. So far, TR and TBODY/THEAD/TFOOT seem to not take the property. Thanks for your help (and a special thanks to David Laakso, who solved the earlier float problem). James __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
