/    Sign up×
Community /Pin to ProfileBookmark

IE6 Psuedo weirdness

Hi,

I have created a nav for a website and of course it works great on everything but IE6.

[url]http://www.undertow.co.uk/misc/code/test.html[/url]

I am aware of the psuedo class problem, but am not quite sure how to fix it in this instance.

When you hover over the white text in the nav it should turn to blue. When you go down into a second level the the heading text i.e. item 1/item 2 should stay blue – for some reason in IE6 it changes back to white.

Does anyone know of a way of fixing this?

Thanks

to post a comment
CSS

4 Comments(s)

Copy linkTweet thisAlerts:
@CentauriJun 23.2008 — [CODE][COLOR="Red"]#nav li.sfhover a[/COLOR], #nav li:hover a { color: #03c; background: url(../images/icon_arrow_red_on.gif) no-repeat 5px 8px; zoom: 1; }[/CODE]
Copy linkTweet thisAlerts:
@DisfunctionalauthorJun 23.2008 — Just tried that and still doesn't work - any other ideas?

Thanks
Copy linkTweet thisAlerts:
@rpgfan3233Jun 23.2008 — Umm... You did do the following in your markup, right?

<li class="sfhover"><a ...</a></li>

Without the class, the .sfhover bit is useless in the CSS. :p
Copy linkTweet thisAlerts:
@DisfunctionalauthorJun 23.2008 — Hi,

I didn't add that as assumed it was swapped dynamically in the JS?

I have just added it to the code, but still doesn't work as the navigation just stays open if I add the class 'sfhover'.

I had to create the nav multiple times across files rather than use an include, so it's not dynamic so am looking for a css fix if possible so I can just change the one file ?

Any more ideas on this, such an annoying bug ?
×

Success!

Help @Disfunctional spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.27,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...