Hover Bild mit Link läuft nicht im IE , mein Fehler ?
Thomas
- css
0 Cheatah
Ich versuche mich schon seit Stunden, das Grund gerüst besteht aus einem großen Hintergrundbild über dem ein 2tes Bild mit Mouse over liegt, der mouse over funktioniert nur im opera, wie stelle ich es an das der link, über das mouse over Bild angeklickt werden kann ?
<html>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<head>
<style type="text/css">
body{
background: #000000
url("pics/fadenback.jpg")
no-repeat center;
}
.normal{
background:
url("pics/fadenback.jpg")
no-repeat center;
}
.exklusiv{
background:
url("pics/shelby2.jpg")
no-repeat top center;
}
.exklusiv:hover {
background:
url("pics/shelby.jpg")
;
}
</style>
</head>
<body >
<p> </p>
<p> </p>
<table border="0" cellpadding="0" align="center"
cellspacing="0" width="250">
<tr height="161px">
<td height="160" class="exklusiv"><a href="../framebottom.htm" target="topFrame" >
</td>
</tr>
</table>
<p></p>
<table align="center" width="0" border="0" cellspacing="0" cellpadding="0">
<tr height="2px">
<td height="2px" class="normal"><script src=http://www.emath.de/cgi-bin/c/c.pl?i=136011464></script></td>
</tr>
</table>
</body>
</html>
Hi,
.exklusiv:hover {
[...]
<td height="160" class="exklusiv"><a href="../framebottom.htm" target="topFrame" >
der IE kennt, obwohl es seit 1998 allgemeingültig definiert wurde (CSS/2.0), :hover nur bei Links. Deine Klasse .exklusiv trifft jedoch "nur" auf ein <td> zu.
<tr height="161px">
Weder ist das Attribut height in <tr> gültig, noch erlaubt es "px" in seinem Wert.
<td height="2px" class="normal"><script src=http://www.emath.de/cgi-bin/c/c.pl?i=136011464></script></td>
Die URL muss sehr, sehr dringend in Anführungszeichen stehen. Des weiteren benötigt der <script>-Tag ein type-Attribut.
Cheatah