Click to See Complete Forum and Search --> : table {border-collapse:kablooey;}


Mr Initial Man
01-13-2006, 02:36 AM
I used border-collapse:collapse on a table, and it completely screwed up the borders. I have a table header, footer, and body, and the body scrolls between the header and the footer. However, though the content scrolls, the borders do not! Where did I go wrong?

http://coachrandom.furtopia.org/tutorial/elements/elements.html

Fang
01-13-2006, 11:57 AM
https://bugzilla.mozilla.org/show_bug.cgi?id=135236
Until it's solved don't use border-collapse with scrolling.

Mr Initial Man
01-13-2006, 12:00 PM
Thanks. *fixes page* :)

Fang
01-14-2006, 02:28 AM
A few changes to the css can emulate the border-collapse:table{
border-spacing:0;
padding:0px;
width:100%;
margin:0 auto;
border-top:1px solid #00f;
border-left:1px solid #00f;
}
th, td{
border-right:1px solid #00f;
border-bottom:1px solid #00f;
padding:0px;
height:20px;
padding:3px;
text-align:center;
}
tbody{
border-right:1px solid #00f;
height:400px;
overflow:auto;
}