Link to home
Create AccountLog in
Avatar of cnl83
cnl83Flag for United States of America

asked on

My CSS is not displaying properly

Using CSS dreamweaver cs3.

I have attached the two simple files to illustrate my problem. There are no styles on index.php, except for the attached styles.css.

The links at the bottom of that page are suppose to display orange, but they are blue. If you click and hold, it turns on orange but that is it.

http://actionfx.net/his/

index.php
styles.css
Avatar of Chris Stanyon
Chris Stanyon
Flag of United Kingdom of Great Britain and Northern Ireland image

You aren't specifying a colour for your links in your CSS, so they are defaulting to the standard blue

Line 17 of your styles.css has a rule for

a.orange:link

Add your colour there

a.orange:link {
   color: orange;
}

Currently, when you click and hold, they actually turn red, which is the default colour for active links. You can change that on line 30 of your styles.css file

a.orange:active { color: green; }
Avatar of cnl83

ASKER

The color is specified on line 17

a.orange:link {
      color: ff6d01;
      font-weight: bold;
      text-decoration: none;
}
ASKER CERTIFIED SOLUTION
Avatar of Chris Stanyon
Chris Stanyon
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Actually, you've got the same problem on lines 18, 24, 28 and 32