The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> how cant I change the color of tr
饕尽天下
post Oct 24 2007, 12:47 AM
Post #1





Group: Members
Posts: 1
Joined: 24-October 07
Member No.: 4,134



This is my html
<table width="200" border="0">
<tr>
<td>a</td>
<td>b</td>
</tr>
</table>

I just want to change the color of border of tr , not td
need your help>_<
thank u befor your help
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Oct 24 2007, 04:22 AM
Post #2


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



Hmmm, I don't think TR can have a border. You have to use (CSS) border-top and border-bottom for each cell, border-left for the leftmost one and border-right for the rightmost one.
http://www.w3.org/TR/CSS2/box.html#border-properties

User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 18th April 2024 - 01:11 PM