Använder den här stylesheeten
<style type="text/css">
<!--
a.klickad { text-decoration: none; color: FF0000; FONT-WEIGHT: bolder }
td {
font-size: 8pt;
color: #FFFFFF;
font-family: verdana
}
a:link, a:visited {
text-decoration: none;
font-size: 11px;
font-weight: bold;
color: #FFFFFF;
}
a:hover {
color: #FF0000;
text-decoration: none}
.minlank {font-size: 11px;
color: #000000;
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
}
a.minlank:link {
text-decoration: none;
font-size: 11px;
font-weight: bold;
color: #FF0000;
}
a.minlank:visited {
text-decoration: none;
font-size: 11px;
font-weight: bold;
color: #FF0000;
}
a.minlank:hover {
text-decoration: none;
font-size: 11px;
font-weight: bold;
color: #FF0000;
}
-->
</style>
Den här koden funkar:
<a href="start.asp" class="minlank">start</a>
Men inte när jag lägger in classen i en div tag:
<div id="sub1" class="minlank"><a href="start.asp">start</a></div>
Någon som vet vad det är för fel?