On 5/26/06, Scott Haneda <[EMAIL PROTECTED]> wrote: > > I see four total things here, but two are the same and the other two are > the > same, is there some way to merge these so there are only two blocks? > > a:visited.secondLinks { > color: #FFF; > text-decoration: none; > } > > a:link.secondLinks { > color: #FFF; > text-decoration: none; > }
becoming this code: a.secondLinks, a.secondLinks:visited { color: #FFF; text-decoration: none; } a:active.secondLinks { > color: #FFF; > text-decoration: underline; > } > > a:hover.secondLinks { > color: #FFF; > text-decoration: underline; > } becoming this code: a.secondLinks:hover, a.secondLinks:active { color: #FFF; text-decoration: underline; } should do it. note that you need to specify the class (.secondLinks) before the state (:hover). ·skye· ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/