Membership is FREE – with unlimited access to all features, tools, and discussions. Premium accounts get benefits like banner ads and newsletter exposure. ✅ Signature links are now free for all. Share your own thoughts and experience, accounts may be terminated for violations.

Css

Status
Not open for further replies.
Joined
Jul 8, 2004
Posts
2,605
Reaction score
25
what am i doing wrong here...

i have
Code:
.link2 {
	color: #FF0000;
	text-decoration: none;
	font-family: Arial, Helvetica, sans-serif;
	font-size: large;
}
and this in the body
Code:
<tr>
<td align="center"><a href="valentines.asp" class="link2">Special valentines gift ideas....<em>click here</em></a></td></tr>
why does the default
Code:
a:link {
	color: #FFFFFF;
	text-decoration: none;
}
take priority over link2?

thanks
 
Hi,

try changing the .link2 to a.link2

this should work then

David
 
try this instead:

.link2 {
text-align: center;
}

.link2 a {
color: #FF0000;
text-decoration: none;
font-family: Arial, Helvetica, sans-serif;
font-size: large;
}

<tr>
<td class="link2"><a href="valentines.asp" class="link2">Special valentines gift ideas....<em>click here</em></a></td></tr>

Though it might be better to translate it all into <div id="">stuff</div> and css instead of tables.
 
no problem. nice colour scheme. May be better with a pink/white/patterned background.

Less text in slightly larger font wrapped round the images as well.

S
 
Status
Not open for further replies.
Top Bottom