Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Mar 2000
Posts: 3,594
Moderator / Template Diva
Moderator / Template Diva
Offline
Joined: Mar 2000
Posts: 3,594
On the CSS sheet for my whole page, I've defined hyperlinks to be bold on Hover (and normal all the rest of the time). I have a question though: is it possible to force some links to not conform to that font-weight definition? I would like to make it so the links on my navigation menus stay normal weight all the time, regardless of mouseover. I tried adding onmouseover="this.style.font-weight=normal" to the Anchor tag, but that didn't work. Is it possible to do this? If so, how?

Thanks in advance!

---Skorpion

------------------

strategery.
dignitude.
lockbox.
 


Don't put that signature in your mouth! You don't know where it's been!
Sponsored Links
Joined: Jul 2000
Posts: 237
Member
Member
Offline
Joined: Jul 2000
Posts: 237
i'm not sure, but try to make 2 sheets with different definition... or different definition on the same sheet.
i'm not good with html... so i think it's something like that...


------------------
TyRaN = tyranausaure



Sorry for my english... i speak french.

email:[email protected]
Joined: Sep 2000
Posts: 4,211
Master Hacker
Master Hacker
Joined: Sep 2000
Posts: 4,211
skorp, c'mon, this is easy stuff [Linked Image]

just make a new class, call it something like .menu and make the properties to be normal weight and size, etc. then apply the class to the whole cell with your menu text and it will work like you want it to.

------------------
parallel parking job
------------------

Joined: Jul 2000
Posts: 237
Member
Member
Offline
Joined: Jul 2000
Posts: 237
squage

that's what i wanted to say. [Linked Image]

i'm not realy good with html like i said.
also, i speak french... that's why i'm having a hard time to express myself...

have a nice day!!!

------------------
TyRaN = tyranausaure



Sorry for my english... i speak french.

email:[email protected]
Joined: Aug 2000
Posts: 469
Member
Member
Offline
Joined: Aug 2000
Posts: 469
Thats all right, I just wanted to say that making links bold on hover is a bad idea...bold text is (obviously) bigger than normal text, so any normal text around it gets shifted around weird.

------------------
a nothing thing

Sponsored Links
Joined: Mar 2000
Posts: 3,594
Moderator / Template Diva
Moderator / Template Diva
Offline
Joined: Mar 2000
Posts: 3,594
Thanks all. That worked great Squage & TyRaN... I should have known that! [Linked Image]

Empire, actually my links are set to be bold all the time, not just on Hover - I kinda messed up when I said that earlier, sorry. I have seen sites who use bold only on Hover, and you're right, it does look pretty bad.

---Skorpion

------------------

strategery.
dignitude.
lockbox.
 


Don't put that signature in your mouth! You don't know where it's been!
Joined: Sep 2000
Posts: 4,211
Master Hacker
Master Hacker
Joined: Sep 2000
Posts: 4,211
glad to be of assistance [Linked Image]

------------------
parallel parking job
------------------


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Shock Hosting
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,153
Joined: July 2001
Forum Statistics
Forums63
Topics37,583
Posts293,955
Members13,824
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 464
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 13
Top Posters
AllenAyres 21,080
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2026 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260108)