[thelist] CSS Strangeness -- You Guys are Geniuses!!!!

Rachell Coe rachell at coeville.com
Mon Jul 16 18:30:38 CDT 2001


I can't thank you guys enough!!  After I switched the order of the
selectors, it worked like a dream!

Thank you!

Rachell Coe
Bluhand Design LLC
(541) 607-1886
http://www.bluhanddesign.com

> -----Original Message-----
> From: thelist-admin at lists.evolt.org
> [mailto:thelist-admin at lists.evolt.org]On Behalf Of Seb Potter
> Sent: Monday, July 16, 2001 3:49 PM
> To: thelist at lists.evolt.org
> Subject: Re: [thelist] CSS Strangeness
>
>
> Rachell Coe asked:
>
> | I finally decided to use some CSS on a clients web page, only the CSS
> | selectors aren't working.  http://www.jhsnp.com/redone/ The green links
> are
> | supposed to turn red when the mouse hovers over it, only its been really
> hit
> | and miss on which ones will work.  Is this a normal problem with CSS
> | Selectors?  I coded it using Dreamweaver -- would it work better if I
> tried
> | to hand code the CSS?
>
>
> Hi Rachell,
>
> This is a fairly common bump to encounter when first putting together a
> stylesheet using selectors. It's the order in which you define the styles
> for a:hover and a:visited. You have hover first, which for some
> reason means
> that in IE, it applies the hover style first, then the visited style if
> necessary, causing your hover style to be lost for links that have already
> been visited.
>
> Quick fix: define your a:link style first, then a:visited, then finally
> a:hover
>
> Good luck.
>
>
> Seb.
> http://www.sebpotter.org
>
>
> ---------------------------------------
> For unsubscribe and other options, including
> the Tip Harvester and archive of TheList go to:
> http://lists.evolt.org Workers of the Web, evolt !
>





More information about the thelist mailing list