3 replies [Last post]
DaytonaSteve
Offline
Regular
Last seen: 11 years 27 weeks ago
Timezone: GMT-4
Joined: 2007-05-31
Posts: 12
Points: 0

Very new at this and being self taught. I have successfully added instructions to my first external CSS file to control the appearance of hyperlinks. I am still using tables for layout. I'd like to make the hyperlinks in a table called .tomb behave differently.

I added a set of instuctions:

a.tomb:link{color: #FFFFFF}
a.tomb:hover{color: #FF00FF; font-style:bold}
a.tomb:visited{color: blue}
a.tomb:active{color: red}

but the actions are the same as my main instuctions:

a:link{color: #ad311F}
a:hover{color: #FFFFFF; font-style:italic}
a:visited{color: #FFFF00}
a:active{color: red}

Thanks in advance for any help on this.

wolfcry911
wolfcry911's picture
Offline
Guru
MA, USA
Last seen: 6 years 47 weeks ago
MA, USA
Timezone: GMT-5
Joined: 2004-09-01
Posts: 3224
Points: 237

I'm assuming you'll be

I'm assuming you'll be working at getting away from the table layouts...

give this a try:
.tomb a:link {color: #FFFFFF}
.tomb a:visited {color: blue}
.tomb a:hover {color: #FF00FF; font-style:bold}
.tomb a:active {color: red}

DaytonaSteve
Offline
Regular
Last seen: 11 years 27 weeks ago
Timezone: GMT-4
Joined: 2007-05-31
Posts: 12
Points: 0

yes, well

I will try this tonite but it makes sense. Maybe get away from tables one day but it's been a struggle to get this far.

DaytonaSteve
Offline
Regular
Last seen: 11 years 27 weeks ago
Timezone: GMT-4
Joined: 2007-05-31
Posts: 12
Points: 0

hyperlinks in tables

Worked like a charm... Thanks for the help with the table.