FRIHOSTFORUMSSEARCHFAQTOSBLOGSDIRECTORY
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.
Related topics

Stoping a marquee using onmouseover
Javascript button effects
There's One Born Every Minute
[java scripts] Text effect , img ....
Transport yourself over the Net

Delete all over 3 week old posts
Not Bold oh please dont keep it BOLD.
Top Chinese General Warns US Over Attack
Worms 4: Mayhem
CSS tooltips (sort of)

Tutorial: Image Rollovers w/ Javascript
HELP!!!! My computer keeps rebooting over and over again.
It's 'Let's Roll', NOT 'Let's roll over'
My list of musics
News and Comment system!
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.