|
Prev: Pure space directly inside div ignored, but pure space directly inside span honored
Next: Alignment of 'editbox'
From: Ben Bacarisse on 31 Mar 2008 14:44 VK <schools_ring(a)yahoo.com> writes: > On Mar 31, 4:47 pm, Andy Dingley <ding...(a)codesmiths.com> wrote: >> On 30 Mar, 15:27, VK <schools_r...(a)yahoo.com> wrote: >> >> > > <http://meyerweb.com/eric/css/link-specificity.html> >> >> > The linked resource is erroneous, it just repeats the urban legend >> > about the "right order". >> >> Read Meyer's page you fruitbat. > > I did. > >> He explains it, and he explains it >> clearly enough for an idiot to follow. > > His explanations are wrong, Can you say where? It looked like a good explanation to me. <snip> > All I want to do is to stop this "use right order" voodoo and start > proper CSS rules explanation. What is the proper explanation and why is using the right order voodoo? -- Ben.
From: Andy Dingley on 31 Mar 2008 08:47 On 30 Mar, 15:27, VK <schools_r...(a)yahoo.com> wrote: > > <http://meyerweb.com/eric/css/link-specificity.html> > > The linked resource is erroneous, it just repeats the urban legend > about the "right order". Read Meyer's page you fruitbat. He explains it, and he explains it clearly enough for an idiot to follow. If you know an idiot, perhaps they'll explain it to you.
From: Beauregard T. Shagnasty on 29 Mar 2008 14:02 Ed Jay wrote: > a.nav4w:link {color:#f8fafc;} > a.nav4w:hover {color:#330099;background-color:#f8fafc;} > a.nav4w:visited {color:#ffff00;} /*background-color:#3c93db;*/ > a.nav4w:active {color:#ffffff;} > > If I specify a background-color for the visited link, it doesn't > change on hover. Is this normal, or what am I doing wrong? You have the order wrong above. Needs to be: link, visited, (focus,) hover, active -- -bts -"Las Vegas Has Animals"
From: Ed Jay on 29 Mar 2008 14:27 Beauregard T. Shagnasty scribed: >Ed Jay wrote: > >> a.nav4w:link {color:#f8fafc;} >> a.nav4w:hover {color:#330099;background-color:#f8fafc;} >> a.nav4w:visited {color:#ffff00;} /*background-color:#3c93db;*/ >> a.nav4w:active {color:#ffffff;} >> >> If I specify a background-color for the visited link, it doesn't >> change on hover. Is this normal, or what am I doing wrong? > >You have the order wrong above. Needs to be: >link, visited, (focus,) hover, active Thank you... -- Ed Jay (remove 'M' to respond by email)
From: Molly Mockford on 30 Mar 2008 03:55 At 11:27:16 on Sat, 29 Mar 2008, Ed Jay <edMbj(a)aes-intl.com> wrote in <gf2tu3le195mqu0l9ih375mti3sip5ppfr(a)4ax.com>: >Beauregard T. Shagnasty scribed: > >>Ed Jay wrote: >> >>> a.nav4w:link {color:#f8fafc;} >>> a.nav4w:hover {color:#330099;background-color:#f8fafc;} >>> a.nav4w:visited {color:#ffff00;} /*background-color:#3c93db;*/ >>> a.nav4w:active {color:#ffffff;} >>You have the order wrong above. Needs to be: >>link, visited, (focus,) hover, active > >Thank you... A useful mnemonic to use in the future is Little Virgins Have Arses. (For a while I tried suggesting Little Virgins Have Arms, but the former proved the more memorable ... for some strange reason...!) -- Molly Mockford They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety - Benjamin Franklin (My Reply-To address *is* valid, though may not remain so for ever.)
|
Next
|
Last
Pages: 1 2 3 4 Prev: Pure space directly inside div ignored, but pure space directly inside span honored Next: Alignment of 'editbox' |