T
Toronto Newf
Hi
How do you do a Mouse Over in CSS
thanks,
Robert
How do you do a Mouse Over in CSS
thanks,
Robert
Toronto said:Hi
How do you do a Mouse Over in CSS
thanks,
Robert
<X class ="Default"
onmouseover =" this.className='mouseOn" />
rf said:I think the OP means without javascript.
a:link {...}
a:visited {extra properties for visited links}
a:hover {extra properties for hovered links}
a:active {extra properties for the active link}
Toronto Newf said:Hi
How do you do a Mouse Over in CSS
Roy said:rf wrote:
That's correct, but there was no mentioning of link elements in the
question.
Leif said:So then use a different selector:
p:hover {
color: red
}
SpaceGirl said:IE only support :hover on links. You cannot use it on any other elements.
SpaceGirl said:IE only support :hover on links. You cannot use it on any other elements.
Leif said:And Lynx doesn't support CSS in the slightest, but no one complains
about Web pages not being quite as pretty when viewed with it. As long
as the page remains usable and non-ugly, why worry if it's not quite as
pretty as it should be in grossly inferior Web browsers?
Roy Schestowitz said:SpaceGirl wrote: elements.
Indeed. I was surprised when you suggested that statement which appears a
little too sophisticated for IE to support.
all the nasty javascript.
Michael Winter said:[Image swaps]
all the nasty javascript.
It's a little unfair to poor old Javascript to generalise like that. Yes,
there certainly are many poor implementations that are hard to maintain,
but it doesn't have to be that way.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.