From: shapper on 29 Jan 2010 12:12 Hello, I am styling some anchors as follows: a {color: #2E6194;} a:link {color: #2E6194;} a:visited {color: #285580;} a:hover, a:active, a:focus {text-decoration: none;} Is there a specific order to style the anchors? And should I use the common a? What is the correct way to style anchor tags? Thanks, Miguel
From: Jukka K. Korpela on 29 Jan 2010 12:38 shapper wrote: > I am styling some anchors as follows: > > a {color: #2E6194;} Setting color without setting background is bad. And you don't style tags. You style elements. > Is there a specific order to style the anchors? Yes. > And should I use the common a? No. > What is the correct way to style anchor tags? Check out http://www.cs.tut.fi/~jkorpela/www/links.html It may look difficult, but correct styling of links (which is what you really mean) is much more complex than people use to think. -- Yucca, http://www.cs.tut.fi/~jkorpela/
From: shapper on 29 Jan 2010 13:37 On Jan 29, 5:38 pm, "Jukka K. Korpela" <jkorp...(a)cs.tut.fi> wrote: > shapper wrote: > > I am styling some anchors as follows: > > > a {color: #2E6194;} > > Setting color without setting background is bad. And you don't style tags.. > You style elements. > > > Is there a specific order to style the anchors? > > Yes. > > > And should I use the common a? > > No. > > > What is the correct way to style anchor tags? > > Check outhttp://www.cs.tut.fi/~jkorpela/www/links.html > > It may look difficult, but correct styling of links (which is what you > really mean) is much more complex than people use to think. > > -- > Yucca,http://www.cs.tut.fi/~jkorpela/ Thank you Yucca. The article was really useful. Thanks, Miguel
From: Harlan Messinger on 30 Jan 2010 08:45 shapper wrote: > Hello, > > I am styling some anchors as follows: > > a {color: #2E6194;} > > a:link {color: #2E6194;} > > a:visited {color: #285580;} > > a:hover, a:active, a:focus {text-decoration: none;} > > Is there a specific order to style the anchors? Las Vegas Free Hotel Accommodations (link, visited, focus, hover, active). > And should I use the common a? You mean, should you write a:hover as opposed to just :hover? Yes.
From: Andy Dingley on 1 Feb 2010 05:09 On 30 Jan, 13:45, Harlan Messinger <hm.usenetremovert...(a)gavelcade.com> wrote: > Las Vegas Free Hotel Accommodations (link, visited, focus, hover, active). We should have a CSI-based mnemonic for that. Is there a pseudo- selector with G-Grissom or M-Morpheus?
|
Next
|
Last
Pages: 1 2 Prev: css problems Next: Layout Float and Anchor problems. Need advice. Online Example. |