Subject: Re: [xsl] OT: HTML and tables (was Re: [xsl] First character in a word as capital-letter.) From: "Joris Gillis" <roac@xxxxxxxxxx> Date: Tue, 13 Sep 2005 17:10:03 +0200 |
As the example given:
<xsl:variable name="table-heading"> <tr> <td><b>Date</b></td> <td><b>Home Team</b></td> <td><b>Away Team</b></td> <td><b>Result</b></td> </tr> </xsl:variable>
is clearly the heading of a table of results, it's perfectly valid to use table markup _in_this_case_: that's what table-related tags (standardised in HTML 3.2) are for.
You got me wrong;-) Of course it's normal to use 'table' elements here; it would be insane not to use table markup in this case.
I assumed that the original objection was to using <td> tags (stands for "table data") when it should obviously be <th> - "table header".
In addition, using <b> tags for emboldening the text would be irrelevant if the correct <th> tag was used, as old browser default styles usually emboldened the contents of <th> tags anyway.
-- Joris Gillis (http://users.telenet.be/root-jg/me.html) B+Et ipsa scientia potestas estB; - Francis Bacon , Meditationes sacrae
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] OT: HTML and tables (was Re: , Nick Fitzsimons | Thread | [xsl] Setting multiple params or va, Anthony Green |
[xsl] OT: HTML and tables (was Re: , Nick Fitzsimons | Date | Re: [xsl] xmlns="" / XML to XHTML, Alexander Nichau |
Month |