Topic: Problem with standard linkcolor in CSS (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=10753" title="Pages that link to Topic: Problem with standard linkcolor in CSS (Page 1 of 1)" rel="nofollow" >Topic: Problem with standard linkcolor in CSS <span class="small">(Page 1 of 1)</span>\

 
Xdreamer.ch
Maniac (V) Inmate

From: Switzerland
Insane since: Mar 2001

posted posted 06-12-2002 10:03

hi there

I've got following CSS sheet for the corp. I work for:

code:
a:active  
{
FONT-FAMILY: times, sans-serif;
color: #000000;
font-size: 8pt;
font-weight: normal;
text-decoration: none;
}

a.link
{
color: #000000;
FONT-FAMILY: times, sans-serif;
font-size: 8pt;
font-weight: normal;
text-decoration: none;
}

a:visited
{
FONT-FAMILY: times, sans-serif;
color: #000000;
font-size: 8pt;
font-weight: normal;
text-decoration: none;
}

a:hover
{
FONT-FAMILY: times, sans-serif;
color: #32427E;
font-size: 8pt;
font-weight: normal;
text-decoration: none;
}



All works fine, but if the user came up the first time he see
just the blue marked links....but I decided to have all so in
my CSS....

How can I get the right result?

thx in advice

cu
~Xdreamer.ch~
-------------------------------
to stupid for transparent sigs

u-neek
Bipolar (III) Inmate

From: Berlin, Germany
Insane since: Jan 2001

posted posted 06-12-2002 11:53

Change the order:

:link
:visited
:hover
:active

someoneInverse
Bipolar (III) Inmate

From:
Insane since: May 2002

posted posted 06-12-2002 11:56

I think it's because you have a.link instead of a:link defined in the stylesheet

that should do the trick
I:.

Xdreamer.ch
Maniac (V) Inmate

From: Switzerland
Insane since: Mar 2001

posted posted 06-12-2002 13:17

hi

yes it works now. I thank you very much...

code:
a:link

worked

cu
~Xdreamer.ch~
-------------------------------
to stupid for transparent sigs

Emperor
Maniac (V) Mad Scientist with Finglongers

From: Cell 53, East Wing
Insane since: Jul 2001

posted posted 06-12-2002 14:47

Added to FAQ:
http://faq.ozoneasylum.com/FaqWiki/shownode.php?id=556

___________________
Emps

FAQs: Emperor

CPrompt
Maniac (V) Inmate

From: there...no..there.....
Insane since: May 2001

posted posted 06-12-2002 15:18

Just to add one more thing, you could shorten this a little bit if you wanted. (You probably know this but in any case)

code:
a:active  
{FONT-FAMILY: times, sans-serif;
color: #000000;
font-size: 8pt;
font-weight: normal;
text-decoration: none;}



to:

code:
a:active  {
font:normal 8pt times, sans-serif;
color: #000000;
text-decoration: none;}



Later,
C:\


~Binary is best~

[This message has been edited by CPrompt (edited 06-12-2002).]

DL-44
Maniac (V) Inmate

From: under the bed
Insane since: Feb 2000

posted posted 06-12-2002 15:36

And even one more shortening bit -

change #000000 to #000 (anytime you have 3 sets of the same letter/number, you can omit the 2nd of each - s0 #00CC33 could be written #0C3, etc...)



Xdreamer.ch
Maniac (V) Inmate

From: Switzerland
Insane since: Mar 2001

posted posted 06-12-2002 15:37

very great infos, DL and Cprompt...

thanx

cu
~Xdreamer.ch~

u-neek
Bipolar (III) Inmate

From: Berlin, Germany
Insane since: Jan 2001

posted posted 06-12-2002 16:10

You could shorten it even more:

a:link, a:visited, a:hover, a:active {
font: normal 8pt times, sans-serif;
text-decoration: none;
}

a:link, a:visited, a:active {
color: #000;
}

a:hover {
color: #32427E;
}



edit: the code is correct now.



[This message has been edited by u-neek (edited 06-12-2002).]

CPrompt
Maniac (V) Inmate

From: there...no..there.....
Insane since: May 2001

posted posted 06-12-2002 16:36

cool, we got it down from for long lines to 3 short ones.

Long live the Asylum.

Later,
C:\


~Binary is best~

Xdreamer.ch
Maniac (V) Inmate

From: Switzerland
Insane since: Mar 2001

posted posted 06-12-2002 19:24

yes of course...hihi

cu
~Xdreamer.ch~



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu