Membership is FREE, giving all registered users unlimited access to every Acorn Domains feature, resource, and tool! Optional membership upgrades unlock exclusive benefits like profile signatures with links, banner placements, appearances in the weekly newsletter, and much more - customized to your membership level!

Css

Status
Not open for further replies.
Joined
Jul 8, 2004
Posts
2,604
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.

The Rule #1

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

Premium Members

Latest Comments

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.
      There are no messages in the current room.
      Top Bottom