Inheritance question |
Inheritance question |
Eddie |
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 |
Lo-Fi Version | Time is now: 19th April 2024 - 09:28 AM |