Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > Give individual cell's a border?

Reply
Thread Tools

Give individual cell's a border?

 
 
Harry
Guest
Posts: n/a
 
      10-23-2003
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


 
Reply With Quote
 
 
 
 
Evertjan.
Guest
Posts: n/a
 
      10-23-2003
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>



--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
We dont give only job... We give you the Job Satisfaction....... Anuj Digital Photography 0 01-02-2007 06:35 PM
GIVE ME FILM OR GIVE ME DEATH l#vfgsgEg@AO1.com DVD Video 4 07-14-2005 03:10 PM
Why wouldn't this line of give give the address of the pointer? grocery_stocker C Programming 10 05-25-2005 03:05 AM
Give us 3 minutes; we give you the whole library lib Computer Support 1 02-04-2005 03:16 AM
Give us 3 minutes; we give you the whole library lib Computer Support 0 01-27-2005 07:52 AM



Advertisments