mumbojumbo
01-09-2010, 02:09 PM
I use the following code to create a link in a meny:
<td width="60" bgColor=#000000 class="lank2" align="center" onclick="window.location.href='index.html'" onMouseOver="this.bgColor='#666666'" onMouseOut="this.bgColor='#000000'">START</td>
As you can see I create the link in a <td>, background color black wich turns grey onMouseOver.
With a black backgroun color I need to make the text white. This I do using the follow css:
.lank2 {
font-family: "Myriad Web", Verdana, Arial, Helvetica, sans-serif;
font-size: 9px;
font-style: normal;
font-weight: bold;
text-decoration: none;
color: #FFFFFF;
cursor: default;
}
The CSS-code loads properly in ie but in Crome it doen't load wich means that the text remains black. With my black background thios means that the text is invisible. However if I reload the page in Crome the CSS is added and the text is white wich I want.
Anyone know why this happens?
<td width="60" bgColor=#000000 class="lank2" align="center" onclick="window.location.href='index.html'" onMouseOver="this.bgColor='#666666'" onMouseOut="this.bgColor='#000000'">START</td>
As you can see I create the link in a <td>, background color black wich turns grey onMouseOver.
With a black backgroun color I need to make the text white. This I do using the follow css:
.lank2 {
font-family: "Myriad Web", Verdana, Arial, Helvetica, sans-serif;
font-size: 9px;
font-style: normal;
font-weight: bold;
text-decoration: none;
color: #FFFFFF;
cursor: default;
}
The CSS-code loads properly in ie but in Crome it doen't load wich means that the text remains black. With my black background thios means that the text is invisible. However if I reload the page in Crome the CSS is added and the text is white wich I want.
Anyone know why this happens?