On Thu, 30 Oct 2008 13:25:10 -0500, Andrew Gaffney wrote:
[...]
>
> I tried to do a CSS solution to this problem by creating a style like:
>
> table.cellpadding_4 tr td {
> padding: 4px;
> }
>
> and then putting class="cellpadding_4" on the TABLE containing the TDs I 
> wanted to have
> the padding, but this didn't seem to have any effect. What's the proper way 
> to do this?

Hmm. I, too, would expect that rule to work as intended. It sure
looks specific enough - unless you have a rule that includes an ID
in the chain to TD?

Do you have a sample page we could look at?

FWIW - I have a "basic styles" CSS I start out with based off the subject
reset. I put EM sized padding on a simple TD selector that seems to
work just fine.

Cordially,
David
--

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to