Posted by Andy Dingley on 11/12/07 11:54
On 11 Nov, 23:11, "Ubi" <ubimm...@libero.it> wrote:
> I have been thinking it's possible to definite :hover :active :visited
> anchor behaviours only by defining a class within a <style> tag.
That's correct.
Validly, you can only do this within <head>
Invalidly you can place a stylesheet in the <body> too, and most
browsers will process it. However this isn't a recommended technique,
except for trivial purposes (i.e. :hover) where you don't mind if it
doesn't always work.
[Back to original message]
|