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. 🚫 No AI-generated (LLM) posts allowed. 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.

Rule #1: Be Respectful

Do not insult any other member. Be polite and do business. Thank you!

Members online

Premium Members

New Threads

Domain Forum Friends

Our Mods' Businesses

*the exceptional businesses of our esteemed moderators
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Siusaidh AcornBot:
    Siusaidh has left the room.
      Siusaidh AcornBot: Siusaidh has left the room.
      Top Bottom