fantasai wrote:
Jeff Schmidt wrote:
1) Most noticably - the borders of the table are kind of screwed up. There's 'gaps' in the rendering of the border that I don't believe should be there with the stylesheets I've used.
It's apparently a problem with the border-collapse paint code. Bugzilla isn't turning up anything similar, so you should probably file a bug. Please CC me and Bernd Mielke (bernd_mozilla(at)gmx.de).
Ok, I'll try to file a bug report (never done it before hehe; gotta go read the bugzilla documentation).
2) The left most column - I put a <col> tag in the table for the first column of the table, and gave it a class. I then use stylesheets on the class to try to get the text headings for each row to align top-left in the cells. This works in IE, but not in Moz.
This doesn't work because the table cells are not children of the <col> element. (<col> is an empty element) In CSS, inheritance only works through the document tree.
Ok, I replaced this with a colgroup with a span of 1 (and updated the css file accordingly), and it still is not working.
From the HTML 4.01 Specification:
11.2.4 Column groups: the COLGROUP and COL elements
Column groups allow authors to create structural divisions within a table. Authors may *highlight this structure through style sheets* or HTML attributes (e.g., the rules attribute for the TABLE element)[emphasis added].
As an interesting aside - while the table borders are still not rendering correctly, when I replaced the col with the colgroup set of tags, some of the gaps in the table border seemed to paint correctly.
