Re: Inconsistent style - why?

by "Larry Dozier" <mr_griz(at)hotmail.com>

 Date:  Sun, 01 Aug 1999 21:45:19 PDT
 To:  tammy(at)tammyweb.com,
mr_griz(at)hotmail.com,
hwg-basics(at)hwg.org
  todo: View Thread, Original

Thank you! That's the problem. Now the choice of whether to use the (Yuk!) 
default.

>I had the exact same problem and found that when I declared a color on
>visited that hover didn't work for me if you had already visited the link.
>When I left it as the default (purple typically) then the hover worked on
>mouseover on those links. My code looked similar to yours and I changed it
>to:
>
>A:hover {color: red; text-decoration: none}
>A:link {color: brown text-decoration: none}
>A:visited {text-decoration: none}
>A:active {text-decoration: none}
>A {text-decoration: none}
>
>I guess when you declare a color for visited it overrides the hover. But
>removing the declaration made the hover work.
>
>Hope that helps,
>Tammy
>
>------------------------------------------------------------
>Tammy S. Weibel
>tammy(at)tammyweb.com
>http://www.tammyweb.com/
>I didn't fight my way to the top of the food chain to be a vegetarian.
>------------------------------------------------------------
>
>----- Original Message -----
>From: Larry Dozier <mr_griz(at)hotmail.com>
>To: <hwg-basics(at)hwg.org>
>Sent: Sunday, August 01, 1999 6:56 PM
>Subject: Inconsistent style - why?
>
>
> > Hi,
> >
> > I'm still working on my first commercial page at http://redwoodinn.com
> >
> > I seem to have a problem with the A:hover property in the external
> > stylesheet. Some of the links hover, others don't. I've been over the 
>code
> > several times and I'm not finding the problem. Could someone take a 
>look?
> > The specific page I'm working on right now is the Restaurant page.
> >
> > The style sheet it's linked to looks like this:
> >
> > A:hover {color: red}
> > A:link {color: brown}
> > A:visited {color: brown}
> > A:active {color: brown}
> > A {text-decoration: none}
> >
> > I'm real real new to using style sheets, Just know enough to be 
>dangerous,
>I
> > guess. Thanks.
> >
> > Larry Dozier
> >
> > PS - Thanks for the help with my sizing for resolution prob. The best
> > solution I could find was to use js to detect the size and direct to the
> > best page. The drawback is having so many pages to keep track of.
> >
> >
> > _______________________________________________________________
> > Get Free Email and Do More On The Web. Visit http://www.msn.com
> >
>
>


_______________________________________________________________
Get Free Email and Do More On The Web. Visit http://www.msn.com

HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA