Re: [css-d] Property Group Compression

2008-09-30 Thread Tim Visher
@Phillipe: Mainly because they're _already_ header links. The a tag is in the context of header. As Bobby pointed out, the inclusion of a class there seems like unnecessary cluttering of the markup to accomplish a visual effect. I'm trying to stay away from doing that. @Gunlaug. That does flip my

Re: [css-d] Property Group Compression

2008-09-30 Thread Gunlaug Sørtun
Bobby Jack wrote: > It's a shame that there's no concept of 'inheritance' in CSS that > would allow grouping of, for example, headings (h1-h6) or lists (ul, > ol, dl). AFAIK, the W3C CSS WG is open for suggestions. If enough people suggest something along the same lines, and can back it up, they

Re: [css-d] Property Group Compression

2008-09-30 Thread Bobby Jack
--- On Tue, 9/30/08, Philippe Wittenbergh <[EMAIL PROTECTED]> wrote: > what's wrong with using a class on those links ? Keeps > the selector > much shorter... > .my-heading-links:link, .my-heading-links:visited {} I'd argue against that - much better, IMO, to keep the markup as clean as possib

Re: [css-d] Property Group Compression

2008-09-30 Thread Philippe Wittenbergh
On Sep 30, 2008, at 11:17 PM, Tim Visher wrote: > I think there must be a way to compress the following style, but I > can't figure it out. Help's appreciated. > > `h1 a:link, h1 a:visited, h2 a:link, h2 a:visited, h3 a:link, h3 > a:visited, h4 a:link, h4 a:visited, h5 a:link, h5 a:visited, h6 >

[css-d] Property Group Compression

2008-09-30 Thread Tim Visher
Hello Everyone, I think there must be a way to compress the following style, but I can't figure it out. Help's appreciated. `h1 a:link, h1 a:visited, h2 a:link, h2 a:visited, h3 a:link, h3 a:visited, h4 a:link, h4 a:visited, h5 a:link, h5 a:visited, h6 a:link, h6 a:visited {}` I think a much m