|
Posted by dorayme on 11/12/07 06:52
In article <fh8gco$aq9$1@aioe.org>, "Ubi" <ubimmc93@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. Am I
> >> wrong?
> >>
> >
> > This is not right. You do not have to class anything to style a
> > web page. If you style an a or an a: or whatever, then the styles
> > apply to these. You class things to distinguish them from other
> > like things. An anchor is different enough all on its own from a
> > paragraph not to need classing. But one link might be wanted to
> > be one way, another another way, and then it can be helpful to
> > class them differently (there are other ways too).
> >
> > As I recommended, study the tutorial link I gave.
>
> I couldn't find any information on how to define a :hover behaviour for a
> single anchor, without defining a class. Can anyone provide an example, if
> this is possibile?
>
You can do this, in practice, if the instance you want to pick
out has a certain unique place in the doc, you can take a look at:
http://netweaver.com.au/test/ubi.html
I think that gets just the one, all the others have a different
hover style.
And, of course, you can class anchors and provide for the
behaviour you want in the css sheet in the head or external link.
--
dorayme
[Back to original message]
|