Border-Collapse

J

Just Me

Hi,

OK this is not really a ASP.NET issue perse, however it is a Internet
Explorer issue.

I am trying to render tables using asp.net natively which is fine, but it
has exposed what looks like a failing in explorer.

Basically, if I collapse the borders of a table then border conflict
precedence should come into play. Lets say I have all red cell borders
right. OK, now I want to make some of those cells blue borders. The borders
occupy the same space so how does explorer decide which border it should
render.

According to W3c there are precedence rules. In short, the more strong a
border is, the more likely it should be to win, so a 2 point border should
win over a 1 point.

IE seems to disobey mody of these rules and allows the top and left border
of a cell to loose out to the border of those above and to the left if the
border width is the same, regardless of if the cell is stronger in terms of
Solidity, IE Not dashed.


Anybody seen this, have comments or "Sensible" workaround ?

Cheers _ PS Firefox obeys the rules !!!!!
 
B

bruce barker

also IE border-collapse does not override cell-spacing as it should. be sure
to set the cell padding to 0.

you have to turn the border off on the adjacent cell (avoid any conflect).

-- bruce (sqlwork.com)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,564
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top