Connecting Tech Pros Worldwide Help | Site Map

td vs. colgroups - borders not working (IE6+)

Newbie
 
Join Date: Jul 2009
Location: Silicon Valley
Posts: 2
#1: Jul 31 '09
I can't figure out how to get double borders at right side of cols 3, 6, 9 in a table WITHOUT putting a class into <td> which I do not want to do since the <td>'s are generated by XSLT. This is for IE6+ only.

If I try to stick with straight css styling the single <td> border seems to take precedence over the double border via <colgroup>.

I've tried all conbinations of <col>, <colgroup>, rules=groups, class selectors (not on td), ID selectors (not on td), !important.

Some nice person gave me a solution for Opera, no luck in IE.

What to do?

Dick Penny
drhowarddrfine's Avatar
Expert
 
Join Date: Sep 2006
Posts: 5,561
#2: Jul 31 '09

re: td vs. colgroups - borders not working (IE6+)


Need an example page to work with.
Newbie
 
Join Date: Jul 2009
Location: Silicon Valley
Posts: 2
#3: Aug 3 '09

re: td vs. colgroups - borders not working (IE6+)


A guru from another forum (yes, I cross posted) says it cannot be done with IE6/7, that the <td> wins out over <col> or <colgroup> everytime with respect to borders.

Sigh.....

Dick Penny
Reply


Similar HTML / CSS bytes