FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

Bold OnMouse Over

 


yule
This Link Will Be Bold OnMouse Over:

[CODE]
<a href="home.html" style="color:navy"
onmouseover="this.style.fontWeight='bold';"
onmouseout="this.style.fontWeight='normal';">Your Link Text</a>
snowboardalliance
Good tip, but you could just use css and do a:link/a:hover.
corypina
here's what you would do...

your style info would look like this to make ALL links go to bold over mouseover...

Code:

a:hover {
font-weight:bold;
}


But understand that if you actually do this (in most cases) it will shift all your text and give a really funny feeling. That's why underlining or changing the color is a better way to go... anything that doesn't change the weight or amount of space the text takes up.
Grievez
I wonder why people just dont use css instead of that? Its alot faster, and easier 2. Ohh well.
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.