SunQuest
           CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignCSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old December 6th, 2003, 01:30 PM
lindy3080 lindy3080 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 2 lindy3080 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Trouble with BOLD in CSS link styles

This sounds really odd I'm sure, but here's my problem:

I am using one style sheet attached to my html files. I am also not applying font attributes to my text or links except for with the style sheet.

I have my regular links set to "bold" in the css file. I have other links set to "class=plain" in the href tags of the html files.

The styles work just fine in every regard EXCEPT for the font-weight attribute. Whenever I have the regular links set to "bold", it over-rides the ".plain" class's font-weight of "none" making the links with "class=plain" bolded when they shouldn't be! When I change the regular links to font-weight "none", the ".plain" links show none (as they should).

My CSS for the links in the style sheet looks like this:

------

a:link, a:visited, a:active {font-family: Arial, Arial, sans-serif; font-size: 11px; color: #336699; font-weight: bold; text-decoration: none;}

a:hover {font-family: Arial, Arial, sans-serif; font-size: 11px; color: #333333; font-weight: bold; text-decoration: none;}

.plain, a:link.plain, a:visited.plain, a:active.plain {font-family: Arial, Arial, sans-serif; font-size: 11px; color: #333333; font-weight: none; text-decoration: none;} a:hover.plain {font-family: Arial, Arial, sans-serif; font-size: 11px; color: #666666; font-weight: none; text-decoration: none;}

------

I've also attached my entire style sheet.
Any help would be greatly appreciated!
Attached Files
File Type: zip css.zip (697 Bytes, 173 views)

Reply With Quote
  #2  
Old December 6th, 2003, 02:02 PM
kicken's Avatar
kicken kicken is offline
Wiser? Not exactly.
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: May 2001
Location: Ft Myers, FL
Posts: 4,097 kicken User rank is Colonel (50000 - 60000 Reputation Level)kicken User rank is Colonel (50000 - 60000 Reputation Level)kicken User rank is Colonel (50000 - 60000 Reputation Level)kicken User rank is Colonel (50000 - 60000 Reputation Level)kicken User rank is Colonel (50000 - 60000 Reputation Level)kicken User rank is Colonel (50000 - 60000 Reputation Level)kicken User rank is Colonel (50000 - 60000 Reputation Level)kicken User rank is Colonel (50000 - 60000 Reputation Level)kicken User rank is Colonel (50000 - 60000 Reputation Level)kicken User rank is Colonel (50000 - 60000 Reputation Level)kicken User rank is Colonel (50000 - 60000 Reputation Level)kicken User rank is Colonel (50000 - 60000 Reputation Level)  Folding Points: 115670 Folding Title: Super Ultimate Folder - Level 1Folding Points: 115670 Folding Title: Super Ultimate Folder - Level 1Folding Points: 115670 Folding Title: Super Ultimate Folder - Level 1Folding Points: 115670 Folding Title: Super Ultimate Folder - Level 1Folding Points: 115670 Folding Title: Super Ultimate Folder - Level 1Folding Points: 115670 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 1 Month 2 Weeks 5 Days 22 h 23 m 36 sec
Reputation Power: 532
Send a message via ICQ to kicken Send a message via AIM to kicken Send a message via MSN to kicken
Try using font-weight: normal in your .plain class, not font-weight: none
__________________
Spidermonkey Tutorial

http://wiser.aoeex.com/ - Long term project (offline due to evil crawlers and lack of content)
http://www.aoeex.com/gmap.php - Put yourself on the map

Reply With Quote
  #3  
Old December 6th, 2003, 02:12 PM
lindy3080 lindy3080 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 2 lindy3080 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Works like a charm! I think I originally got faulty information about font-weight values. Go figure. Thanks!!

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > Trouble with BOLD in CSS link styles


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway