Eoin Maguire wrote: > Hi, > > I've successfully implemented a version of the sliding doors > technique and am now looking to add a 'current' selection > that'll highlight the current tab you're on. > > I've looked on A List Apart and have tried their suggested > code (setting the background position, as per the hover state) > but it doesn't seem to work. Has anyone successfully got a > 'current' state to work with sliding doors? If so, how?
Just by adding the selector for the current class to the selectors for the hover state rules. Be aware of specificity though - if you've set a:link and a:visited to a certain style, you'll also need a.current:link and a.current:visited instead of just a.current to overrule it. -- Els http://locusmeus.com/ http://locusoptimus.com/ ______________________________________________________________________ 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/