• Welcome to AcornDomains.co.uk, a friendly community for UK domain investors, developers and anyone interested in domain names.

    Whether you're looking to buy or sell domains, learn more about the UK domain market, get feedback on your names, or simply chat with other domainers, you're in the right place. AcornDomains has been bringing together people from across the UK domain industry for many years, from complete beginners to experienced investors.

    Have a look around, join the discussions and, if you haven't already, create a free account and introduce yourself.

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