|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
ok, this may be a pretty simple question, but i just have never really needed to use css until now. so, here goes....
I have this code in my document... </title> <STYLE fprolloverstyle> A:link {TEXT-DECORATION: none; COLOR: white} A:vlink {TEXT-DECORATION: none; COLOR: white} A:hover {TEXT-DECORATION: underline; COLOR: #ff0000} </STYLE> </head> Everything works right, except for my declarations for the vlink. I assume maybe vlink is not the correct way to say Visted link. what happens right now is that the document looks great until you have visted a link, and then the link turns black and has a line under it. how do i keep the link white with no underline after it has been visted? Also, how do right the same style sheet inline? So that i can have some of my links one color and other links another. i do not want to link my style sheets, because of some complications with PHP. i would rather just use inline. Thanks! Caleb ![]() caleb@jsoftintl.com Last edited by calebdzahnd : August 2nd, 2001 at 09:27 AM. |
|
#2
|
|||
|
|||
|
Caleb:
This is what you're looking for: ------------------------------ <style type="text/css"> a:link {text-decoration:none;color:#ffffff;} a:visited {text-decoration:none;color:#ffffff;} a:hover {text-decoration:underline;color:#ff0000;} </style> ------------------------------- Quote: "<STYLE fprolloverstyle>". Is this a typo? By the way, css def's are conventionally written in lowercase, although I suppose your uppercase def's wouldn't cause problems. Good luck |
|
#3
|
|||
|
|||
|
Thanks! That worked great!
|
![]() |
| Viewing: Dev Shed Forums > Web Design > CSS Help > Simple CSS - Here's your chance to look REALLY smart! |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|