Give individual cell's a border?

Discussion in 'Javascript' started by Harry, Oct 23, 2003.

  1. Harry

    Harry Guest

    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
     
    Harry, Oct 23, 2003
    #1
    1. Advertisements

  2. Harry

    Evertjan. Guest

    Harry wrote on 23 okt 2003 in comp.lang.javascript:
    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>
     
    Evertjan., Oct 23, 2003
    #2
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.