liamC
Member
Registered: 28th Feb 04
User status: Offline
|
Can anyone help me out with this CSS?
Basically, have some text in the footer and I want all of the text to be the same colour, but want the links underlined.
This is what I have but it isn't working? Everything is how it should be, but the links aren't appearing white as they should be.
Can anyone point out where I'm going wrong?
---
#footer {
width: 752px;
margin: auto;
font-family: Tahoma;
font-size: 11px;
text-align: center;
color: #FFFFFF;
padding-top: 10px;
text-decoration: none;
}
#footer a, a:active, a:visited {
text-decoration: underline;
colour: #FFFFFF;
}
#footer a:hover {
text-decoration: underline;
color: #FFFFFF;
font-weight: bold;
}
---
Any help appreciated
Liam
|
liamC
Member
Registered: 28th Feb 04
User status: Offline
|
Fecks sake, just realised where - these damn yanks and their COLOR instead of COLOUR
|
danward
Member
Registered: 14th Nov 06
Location: Northants Drives: C Exclusiv
User status: Offline
|
Its always the simplest of things...
|
Rus
Member
Registered: 24th Jan 05
Location: SE London, Kent
User status: Offline
|
whats all that a:active, a:visited about?
|
ed
Member
Registered: 10th Sep 03
User status: Offline
|
a means achchor and anchor is a link.
a is your link style.
a:hover is the style when your cursor is over the link.
a:active is the style that appears when you have clicked the link.
a:visited is... well, you get the idea
|
Rus
Member
Registered: 24th Jan 05
Location: SE London, Kent
User status: Offline
|
ahh right cool. as i'm doing a website at the moment thats fully css/asp.net and flash. just never came across them yet. i'll remember that
|
ed
Member
Registered: 10th Sep 03
User status: Offline
|
Tis really usefull You can do a lot of cool stuff...
|