English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

i have a ccs sheet that contains the following:

BODY, P, TABLE,TD,TR {
background-color: #000000;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size : 12px;
color : Black;
}

A:HOVER {
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size : 12px;
color : #FFFFFF;
text-decoration : underline;
}
A:LINK, A:ACTIVE, A:VISITED {
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size : 12px;
color : #FF0000;
text-decoration : underline;
}

TD.header {
background-color : #000000;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size : 12px;
color : #FFFFFF;
font-weight : bold;
border : 1px solid #FFFFFF;
padding : 2px 2px 2px 2px;
text-align : center;
}
.error {
color: #ff0000;
border-color: #ff0000;
border-width: 1px;
}
.specialcat {
color: #FF0000;
}
INPUT,SELECT,TEXTAREA {
background-color: #ffffff;
color: #000000
}

All of the background stuff works but it doesn't effect my links.

2007-04-01 03:39:59 · 2 answers · asked by turbocharge 1 in Computers & Internet Other - Computers

it's really pissin me off because I got the style sheet from a friend for who it works just fine. The links should be red with a hover of white...Everything looks fine to me I don't know why it doesn't work.
Heres the link to the page using the style sheet.

http://www.x-gfx.com/news/viewnews.php?direct=1&cat=0&limit=5&newdays=0

http://www.x-gfx.com/news/panews.css

Theres the style sheet itself.

2007-04-01 03:42:40 · update #1

krash is an email link and should be red.

2007-04-01 03:44:54 · update #2

2 answers

I think you have other issues.. here is what I get when I follow your link

Parse error: syntax error, unexpected T_STRING in /home2/xgfx/public_html/news/viewnews.php on line 88

Check your php code something tells me the way you are entering the links is probably the issue.
Dont forget CSS has Parents, childeren etc. usually the rules work when used as designed.

2007-04-01 11:07:04 · answer #2 · answered by Tracy L 7 · 0 0

fedest.com, questions and answers