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 October 22nd, 2001, 08:47 AM
carpman carpman is offline
Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2001
Posts: 27 carpman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
CSS class & embedded table

Hello, i have a table embedded in another table, when i apply a class to a table cell ie:

<td height="60" valign="top" class="sectionImportant">Important! Click here
</td>

all works except the link values. class in question is:

.sectionImportant {
FONT-SIZE: 8pt; COLOR: White; FONT-FAMILY: Arial, Helvetica, sans-serif; BACKGROUND-COLOR: #ff0000; TEXT-ALIGN: left; TEXT-DECORATION: none;
font-weight: bold; padding-left : 2px; padding-bottom : 0px; padding-right : 0px; padding-top : 0px;
}
A.sectionImportant:link {
FONT-WEIGHT: bold; COLOR: Blue; BACKGROUND-COLOR: #ff0000; TEXT-DECORATION: underline; padding-left : 2px; padding-bottom : 0px; padding-right : 0px; padding-top : 0px;
}
A.sectionImportant:visited {
FONT-WEIGHT: bold; COLOR: Blue; BACKGROUND-COLOR: #ff0000; padding-left : 2px; padding-bottom : 0px; padding-right : 0px; padding-top : 0px;
}
A.sectionImportant:hover {
FONT-WEIGHT: bold; COLOR: #ffffff; BACKGROUND-COLOR: #ff0000; TEXT-DECORATION: underline; padding-left : 2px; padding-bottom : 0px; padding-right : 0px; padding-top : 0px;
}

Reply With Quote
  #2  
Old October 22nd, 2001, 09:33 AM
JMM JMM is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Feb 2001
Location: USA
Posts: 830 JMM User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 17 m 56 sec
Reputation Power: 8
What browser(s) are you experiencing this problem with?

Reply With Quote
  #3  
Old October 22nd, 2001, 09:34 AM
carpman carpman is offline
Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2001
Posts: 27 carpman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Quote:
Originally posted by JMM
What browser(s) are you experiencing this problem with?


I have only tested with NS6 and IE5.5

Reply With Quote
  #4  
Old October 23rd, 2001, 10:36 AM
bamaster bamaster is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2001
Location: Houston, TX, US
Posts: 75 bamaster User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 26 m 49 sec
Reputation Power: 7
I've experienced this too. Seems that tables want to "reset" any styles. I've been forced to assign a class attribute to the anchor tag, i.e.

<A HREF="doc.htm" CLASS="sectionImportant">Clickity Click</A>

Just an idea.
__________________
Tony Melendez
tony dizat amerigo dizot com
http://www.amerigo.com

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > CSS class & embedded table


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 1 hosted by Hostway