GIDForums  

Go Back   GIDForums > Webmaster Forums > Web Design Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 11-Jul-2007, 13:17
EvoTech EvoTech is offline
New Member
 
Join Date: Jun 2007
Location: Romania
Posts: 15
EvoTech is on a distinguished road

CSS Problems


I have the next code:
CSS Code:
body
{
margin: 0px;
margin-top: 5px;
margin-bottom: 5px;
font-family: Arial, sans-serif;
font-size: 10pt;
}

a:link
{
text-decoration: none;
font-weight: bold;
color: #0050d4;
}

a:hover
{
text-decoration: none;
font-weight: bold;
color: #4584ed;
}

a:active 
{ 
text-decoration: none;
font-weight: bold;
color: #4584ed;
}

a:visited
{
text-decoration: none;
font-weight: bold;
color: #0050d4;
}

img
{
border: none;
}

.title
{
text-align: center;
font-size: 32pt;
color: #00FF00;
margin-bottom: 15px;
}


.text
{
color: #00FF00;
}

and when somebody uses a link, it lights up (a brighter color), but after it was visited, it doesn't light up anymore .

Can somebody help me? Thanks
  #2  
Old 11-Jul-2007, 15:21
Corey Bryant Corey Bryant is offline
Member
 
Join Date: Oct 2003
Location: Castle Rock, CO
Posts: 216
Corey Bryant will become famous soon enough

Re: CSS Problems


The need to be in this order:
link
visited
hover
active
(I remember it as love-hate)
  #3  
Old 12-Jul-2007, 03:42
admin's Avatar
admin admin is offline
Administrator
 
Join Date: Sep 2002
Posts: 841
admin will become famous soon enough

Re: CSS Problems


Yes, what Corey said is true, they need to be in a specific order. I think this 'bug' affects Internet Explorer and Opera only.

CSS Code:
a:link {}

a:visited {}

a:hover {}

a:active {}
__________________
Custom BB codes you can use here:
[HTML] | [C++] | [CSS] | [JAVA] | [PY] | [VB]
  #4  
Old 12-Jul-2007, 15:55
EvoTech EvoTech is offline
New Member
 
Join Date: Jun 2007
Location: Romania
Posts: 15
EvoTech is on a distinguished road

Re: CSS Problems


Hey, thanks. It worked ... I didn't know whats the problem, i even checked a friends css and i didn't spotted it ... Thanks again
  #5  
Old 14-Jul-2007, 06:54
Corey Bryant Corey Bryant is offline
Member
 
Join Date: Oct 2003
Location: Castle Rock, CO
Posts: 216
Corey Bryant will become famous soon enough

Re: CSS Problems


Well I made that mistake a few times, but you get the hang of it. Good luck with it!
 
 

Recent GIDBlogProblems with the Navy (Chiefs) by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems while burning CD's netnut Computer Software Forum - Windows 16 18-Jan-2008 00:45
Challenge problems plz help plz crazyABOUTyou C++ Forum 3 24-Apr-2007 11:32
Problems when using the computer Paramesh Open Discussion Forum 6 25-Jan-2006 10:31
if loop problems bco1109 C++ Forum 13 11-Oct-2005 22:06
Chaintech Geforce 5600 FX problems bartster74 Computer Hardware Forum 8 04-May-2004 14:16

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 08:24.


vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.