On 11/10/05, CJ Larson <[EMAIL PROTECTED]> wrote: > I have a feature table in which I have 5 total columns: ID, Name, > Description, Cost, and Activated. On my main feature page, I wish to > display the Name, Desc, and Cost fields in that order. On my "manage > your features" page, I wish to display the Name, Description, and > Activated fields in that order. On my shopping cart page, I wish to > display the Name and Cost fields in that order. Using the method you > linked to, I will need to style all tables completely separate in my > CSS. Using what most people think to be what "colgroup" should be, I > would only have 1 colgroup per field, and simply omit or add a colgroup > when I display certain columns. Easy! (but currently not possible)
It's possible, and pretty simple. You just use the solution from the wiki, where you style the COL and IE picks it up, and use adjacent siblings for standards-complient browsers. Then, to get different styling for the tables on different pages, either give the different tables different class names (e.g., table class="features", table class="cart", etc.) or use classes on the body element so you can do other context-sensitive styling for different areas of the site as well. It's a little bit more CSS, but it gets the job done without wading into the conceptual impossibility that is trying to force table cells to inherit from a COL or COLGROUP. -- "May the forces of evil become confused on the way to your house." -- George Carlin ______________________________________________________________________ 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/
