The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

> Inheritance question
Eddie
post May 4 2017, 02:55 PM
Post #1





Group: Members
Posts: 4
Joined: 4-May 17
Member No.: 26,395



Hi,
I have a problem with <tr> and <td> inheritance.
Here are the details:

HTML code:
<tr bgcolor="#FFFFCB" align="left" valign="middle" class="c19">
<td height="30">Name</td>
<td>phone</td>
<td>email</td>
</tr>

css code for class="c19":
.c19 { color: #527531; font-family: verdana,tahoma,arial,helvetica; font-size: 11px; padding-left: 5px; }

The problem is that the <td> cells do not inherit the padding-left from <tr> but they inherit everything else, font color, size, font family.
Can someone tell me why that is?
Thanks,
Ed
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
 
Reply to this topicStart new topic
Replies
Eddie
post May 4 2017, 07:30 PM
Post #2





Group: Members
Posts: 4
Joined: 4-May 17
Member No.: 26,395



Thanks for the quick input, I really appreciate it and I'll heed your advice.
Cheers,
Ed
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Posts in this topic


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: 16th April 2024 - 01:43 PM