corsasport.co.uk
 

Corsa Sport » Message Board » Off Day » Geek Day » CSS Help


New Topic

New Poll
  Subscribe | Add to Favourites

You are not logged in and may not post or reply to messages. Please log in or create a new account or mail us about fixing an existing one - register@corsasport.co.uk

There are also many more features available when you are logged in such as private messages, buddy list, location services, post search and more.


Author CSS Help
liamC
Member

Registered: 28th Feb 04
User status: Offline
6th Jun 07 at 13:07   View User's Profile U2U Member Reply With Quote

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
6th Jun 07 at 13:08   View User's Profile U2U Member Reply With Quote

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
6th Jun 07 at 13:34   View User's Profile U2U Member Reply With Quote

Its always the simplest of things...
Rus
Member

Registered: 24th Jan 05
Location: SE London, Kent
User status: Offline
6th Jun 07 at 13:38   View User's Profile U2U Member Reply With Quote

whats all that a:active, a:visited about?
ed
Member

Registered: 10th Sep 03
User status: Offline
6th Jun 07 at 21:07   View User's Profile U2U Member Reply With Quote

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
6th Jun 07 at 21:29   View User's Profile U2U Member Reply With Quote

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
6th Jun 07 at 21:46   View User's Profile U2U Member Reply With Quote

Tis really usefull You can do a lot of cool stuff...

 
New Topic

New Poll

  Related Threads Author Forum Replies Views Last Post
CSS webdesign help Houckham Geek Day 3 910
20th Apr 06 at 11:01
by Houckham
 
Making a PC DVD writer drive multi region? Sam Geek Day 2 1322
2nd May 06 at 00:34
by Jules
 
any web designers here??? KITcorsa Geek Day 7 1615
12th Jul 06 at 19:16
by Dom
 
FAO: Webmasters: CSS Bart Geek Day 14 1140
24th Oct 06 at 14:57
by Ian
 
Input on a website please, web designers especially :D drunkenfool Geek Day 56 3051
25th Nov 06 at 19:08
by aPk
 

Corsa Sport » Message Board » Off Day » Geek Day » CSS Help 29 database queries in 0.0156519 seconds