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
> a:link, h6 a:visited {}`
>
> I think a much more presentable way to do this would be:
>
> `(h1,h2,h3,h4,h5,h6) (a:link, a:visited)`
>
> but I'm fairly certain CSS does not support that type of notation
No it doesn't. Maybe with CSS-variables in the future, but that is
still very much in its infancy.
what's wrong with using a class on those links ? Keeps the selector
much shorter...
.my-heading-links:link, .my-heading-links:visited {}
Philippe
---
Philippe Wittenbergh
http://l-c-n.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/