Give individual cell's a border?

H

Harry

I would like to have just the top row cells of a table to have borders - is
this possible/easy? or do I have to make the title row another table?

thanks

harry
 
E

Evertjan.

Harry wrote on 23 okt 2003 in comp.lang.javascript:
I would like to have just the top row cells of a table to have borders
- is this possible/easy? or do I have to make the title row another
table?

No js, just css:

<style>
tr.frst td {border:green solid 1px;}
</style>

<table>
<tr class="frst"><td>x</td><td>y</td></tr>
<tr> <td>x</td><td>y</td></tr>
</table>
 

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,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top