Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

onMouse button events

Status
Not open for further replies.

davext

Programmer
Oct 6, 2003
18
CA
Hi, does anyone know of a website that will definie all the possible events and a page that has a bunch of different styles for buttons? I'd like to do things like.. onmouseover, change a color, or onmousenotover(however the heck you do it), change to another color.. set default colors.. etc.

Thanks in Advance!
 
I do a bit of CSS, so for links default color:
a {
color: #3366CC;
text-decoration: none;
}

Hovered over:
a:hover {
color: #6699FF;
text-decoration: underline;
}
Active link:
a:active{
color:#FFFFFF;
}

Visitied link:
a:visited{
color:#FF0000;
}

There are a lot more things you can do inbetween these links, but I don't know of anywhere you can go to find them. Obviously you'll have to change my colours and text decoration options, take out my text and save it as a .css file and link it to yor HTML. If you need any help doing this just ask
 
How would I link it? Never actually heard of CSS but thanks for the reply!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top