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 September 27th, 2003, 01:02 PM
cogimo cogimo is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 16 cogimo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
simple css problem

I am trying to have 1 link a different color from the rest. This is the code can someone assit

+++++++++++++++++++++++++++++++++++++++++++
<style type="text/css">
<!--
.header {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 9px;
font-style: normal;
color: #003366;
text-decoration: underline;
TEXTAREA { background: #b8ddee; font-family: arial; font-size: 8pt; border: solid 1px black;}
SELECT { background: #b8ddee; font-family: arial; font-size: 8pt; border: solid 1px black;}
INPUT {background: #b8ddee; font-family: arial; font-size: 8pt; border: solid 1px black; font-weight:bold}

a:link.toplink
{ color: #333333;}

++++++++++++++++++++++++++++++++++++++++++++++
I set the class here


<p><font color="#333333" size="1" face="Verdana, Arial, Helvetica, sans-serif"><a href="http://cogimosearch.com/search_results.php?q=art&page=1"class="toplink">Arts</a><br>

++++++++++++++++++++++++++++++++++++++++++++++


Did I miss anything


"class="toplink">Arts</a><br>a:link.toplink

Reply With Quote
  #2  
Old September 27th, 2003, 01:20 PM
Akh's Avatar
Akh Akh is offline
|<.+#f@#+.&.|
Dev Shed Frequenter (2500 - 2999 posts)
 
Join Date: Mar 2002
Location: norway
Posts: 2,622 Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level) 
Time spent in forums: 3 Weeks 6 Days 2 h 20 m 44 sec
Reputation Power: 548
just the wrong order

a.toplink:link

Reply With Quote
  #3  
Old September 27th, 2003, 02:11 PM
cogimo cogimo is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 16 cogimo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Still no luck

Hi
Thanks for the help it still did not work

Any help would be appreciated


<style type="text/css">
<!--
.header {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 9px;
font-style: normal;
color: #003366;
text-decoration: underline;
TEXTAREA { background: #b8ddee; font-family: arial; font-size: 8pt; border: solid 1px black;}
SELECT { background: #b8ddee; font-family: arial; font-size: 8pt; border: solid 1px black;}
INPUT {background: #b8ddee; font-family: arial; font-size: 8pt; border: solid 1px black; font-weight:bold}

a.toplink:link
{ color: #333333;}


-->
</style>




<p><font color="#333333" size="1" face="Verdana, Arial, Helvetica, sans-serif"><a href="http://cogimosearch.com/search_results.php?q=art&page=1"class="toplink">Arts</a><br>

Reply With Quote
  #4  
Old September 27th, 2003, 04:00 PM
DirkPitt's Avatar
DirkPitt DirkPitt is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Location: New Zealand
Posts: 294 DirkPitt User rank is Sergeant (500 - 2000 Reputation Level)DirkPitt User rank is Sergeant (500 - 2000 Reputation Level)DirkPitt User rank is Sergeant (500 - 2000 Reputation Level)DirkPitt User rank is Sergeant (500 - 2000 Reputation Level)DirkPitt User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 2 Days 4 h 31 m 20 sec
Reputation Power: 12
visited?

Are you sure that link hasn't been visited, cause you will need to clear your history to test it properly.

I'm, sure it doesn't matter but I put my class first..


<font color="#333333" size="1" face="Verdana, Arial, Helvetica, sans-serif"><a class="toplink" href="http://cogimosearch.com/search_results.php?q=art&page=1">Arts</a>

Reply With Quote
  #5  
Old September 27th, 2003, 09:43 PM
tah1984 tah1984 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: Qld, Australia
Posts: 71 tah1984 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
I just copied your code and tried it in IE 6.0 and it works fine.
The only thing I can see that might be giving you trouble is that there should be a space between the URL and the class tag.

Reply With Quote
  #6  
Old September 28th, 2003, 06:39 AM
cogimo cogimo is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 16 cogimo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thumbs up Thanks css

Hi

Thanks to everyone who helped. It is now working, Since I had already clicked (visited) it was not showing the correct color.

Thanks again

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > simple css problem


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