I have been tidying up some code and have hit a problem.
Entry from my CSS.
In the main prog (PERL Script) the div id was declared twice but only closed once yet it worked ok. Items display white with a dark grey rollover.
Removing one of the div id's still allows it to work but is displaying blue with a dark grey rollover.
What have I missed?
Keith
Entry from my CSS.
Code:
#elButton a {
color: #ffffff;
font-size:12px;
font-family:verdana;
font-weight:bold;
text-decoration: none;
border:0px outset white;
background-color: none;
td {text-align:center;}
display: block;
padding: 3px 5px;
margin: 1px;
}
#elButton a:hover {
color:#003366;
padding-left:4px;
font-weight:bold;
border:0px inset black;
text-decoration: none;
}
In the main prog (PERL Script) the div id was declared twice but only closed once yet it worked ok. Items display white with a dark grey rollover.
Removing one of the div id's still allows it to work but is displaying blue with a dark grey rollover.
Code:
<div id="elbutton">
<table border="0" width="100%">
<tr><br>
<td align="center" width="17% nowrap"><a href="$LINK1">$TEXT1</a></td>
<td align="center" width="17% nowrap"><a href="$LINK2">$TEXT2</a></td>
<td align="center" width="16% nowrap"><a href="$LINK3">$TEXT3</a></td>
<td align="center" width="16% nowrap"><a href="$LINK4">$TEXT4</a></td>
<td align="center" width="17% nowrap"><a href="$LINK5">$TEXT5</a></td>
<td align="center" width="17% nowrap"><a href="$LINK6">$TEXT6</a></td>
</tr>
</table>
<hr>
</div>
Keith