On Wed, Aug 11, 2010 at 1:34 PM, Rick Pasotto <[email protected]> wrote:
> How can I style only some cells in a col? The cells I want to style have
> a class that I can use. I can style the col but that applies the style
> to all the cells in the col.
>
> It may be a matter of using the right selectors, but no combination I've
> tried has worked.
>
> --
> "The liberty the citizen enjoys is to be measured not by the governmental
> machinery he lives under, whether representative or other, but by the
> paucity of restraints it imposes on him." -- Herbert Spencer, 1884
> Rick Pasotto [email protected] http://www.niof.net
td.classname{
(style here)
}
This should work, maybe be more specific like
table tr td.classname{
(style here)
}
I don't think you can use col as a selector, because no elements are
technically wrapped in it.
Hope it helps,
Alex Mitchell
http://gumware.com/
______________________________________________________________________
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/