I've understand the concept of inheritance, but not the application entirely. I could use your help.
Lets say I want to create a table that does the following: I'm only interested in modifying the background, text & link properties in this example, not create the table itself.
| cell 1 | cell 2 |
| | |
| std bkgd | std bkgd |
| std text | special text |
| std link | special link |
| cell 3 | cell 4 |
| | |
| std bkgd | special bkgd |
| special text | std text |
| special link | std link |
So, how do I go about this? I'll tell you what I know, and ask questions along the way.
My first step is to define some standard for the body tag, eg.
font-family: Arial, Helvetica, sans-serif;
Can I combine my standard background properties in this statement?
Otherwise I need to do a class statement
and call this out either in the body, or in the 1st row
<body class="stdbkgd"> or <tr class="stdbkgd">
That's doable, but, I get a little lost here. I assume no one cell can call 2 classes, am I correct? I could use some clarification on this.
I know how to define the link properties in a general condition as well, but am not clear on how to call a specific font or link condition in combination other conditions, unless with an item by item span declaration, eg.
<span class="specialfont">link text</span>
I've tried to make this simple as I can - thanks for any help.
Edited by arlen, 23 January 2005 - 11:39 PM.