[web] hover state doesn't work in Safari :(
my hover state for my list of links works beautifully in Firefox, but not at all in Safari.
can anyone help?? I've googled and can't find an answer.
my links page
can anyone help?? I've googled and can't find an answer.
my links page
Comments
expect that anytime you have sizes borders margins and padding o block level elements (such as divs)
there are hacks to achieve the same but there are also alternative markup solutions
yeah it's broken in IE6 only, works in IE7, Firefox, Safari.
since my target group will be looking at this on a mac in firefox or safari i don't care too much about THIS site in IE6 being broken - but would like to know how to fix it for future reference.
so fire away with alternative markup solutions.
I have a hover state that works in Firefox but not Safari. anybody know how to fix it?
list of links
link
visited
hover
active
At the mo you've got:
visited
link
hover
active
rearranged, no difference.
If I take off the display: block; on the hover state then it will show the black behind the text area only and not the entire width of the element FAVLINKS.
If I add display: block; to all the states - well it's not what I want.
I mean it works here on FL - the nav on the left.
also i've now done something that makes the main content div broken in IE7 (and i'm sure IE6) and pushes it under the sidebar on the right on all my pages. ugh.
border: 0;
display: block;
in: #favlinks a:hover
and rebuild from there if anything else has stopped working . . . .
seems safari won't allow the block pseudo class on the hover state unless I also apply it to the link state, given i don't want the red dots to run the entire width of the div, i'm going to have to settle for no block element on the hover state and just have the black appear behind the text for as wide as each text line is. Or I'd have to give up my red dots.
still don't know what i did to cause the IE7 screw up where the maincontent div is displaying the sidebar correctly, but the div to its left is getting pushed below.EDIT: at some point last night I added a width to the main content and removed the right margin. By not specifying any width and adding a right margin in to clear the sidebar div, all is well in IE7 again.
Couldn't you just drop that red line all together
I'm not sure about it anyway
(ducks as lfm throws a comp at my head)
Do you have a screen-shot of how you'd like it to look link and hover?
I just liked the black in the hover state going for the full width - tied in well with the rest of the site design of these long thin black lines with reversed out type, just cooler than the black only extending as far as the text. So if i decide that's more appealing - I may drop the dotted lines all together so i can do a block element display since Safari needs the hover and link to display the same - doesn't care about visited or active, just that hover and link pseudo classes have the same display.
Now i'm onto trying to incorporate another Javascript gallery on my design page. not as simple as the one for my home page. :P I'll be back with more questions later on that subject. I do so appreciate all your help - this part of web design drives me crazy.