Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Little help with Bug 316425

2 views
Skip to first unread message

Aaron Larson

unread,
Nov 15, 2008, 8:01:42 PM11/15/08
to
I was working the subject bug (adding time summary to the buglist
page), but I could not get the numeric values to get right aligned. I
reduced the issue to a sample .html file (attached). I thought the
class specified with a "col" tag would be used for all table cells in
that column. However, when I tried the example with Firefox 3.0.3 and
Konqueror 3.5.10 and 4.1.2, the columns are left aligned. I tried
looking through the w3w stylesheet specifications but I could not find
an explicit statement that classes would be inherited, although it
certainly makes sense they would.

I'm hoping someone more literate with .css and html can tell me if I'm
doing something wrong, or if this is a firefox bug.

col-class-issue.html

Max Kanat-Alexander

unread,
Nov 15, 2008, 8:26:35 PM11/15/08
to support-...@lists.mozilla.org
On Sat, 15 Nov 2008 19:01:42 -0600 Aaron Larson
<NOSPAMPl...@LarsonsOnline.net> wrote:
> I thought the
> class specified with a "col" tag would be used for all table cells in
> that column.

Don't use or rely on the <col> tag, it pretty much just doesn't
work in any way you'd expect it to. Instead give the relevant <td>s a
class.

-Max
--
http://www.everythingsolved.com/
Competent, Friendly Bugzilla and Perl Services. Everything Else, too.

Aaron Larson

unread,
Nov 16, 2008, 5:17:18 PM11/16/08
to
>>>>> "MK" == Max Kanat-Alexander <mka...@bugzilla.org> writes:

MK> On Sat, 15 Nov 2008 19:01:42 -0600 Aaron Larson
MK> <NOSPAMPl...@LarsonsOnline.net> wrote:

>> I thought the class specified with a "col" tag would be used for
>> all table cells in that column.

MK> Don't use or rely on the <col> tag, it pretty much just doesn't
MK> work in any way you'd expect it to. Instead give the relevant
MK> <td>s a class.

That was the conclusion I was coming to myself. Note that COL was
previously (and still is) used by Bugzilla's buglist.cgi/template
code. Should I submit a request to change the code to specify the
class on each TD?

BTW, I did verify that IE seems to handle the above case properly.

0 new messages