Hallo,
ich habe eine kleine Tabelle wo ich einen Box-Shadow per onMouseover nach Innen eingestellt habe. Leider funktioniert der Effekt nicht auf Zeilen, die wiederum auch 2 Zeilen behinhalten. Auf Zeile 1 funktioniert der Effekt, auf Zeile 2 nicht. Das Problem habe ich schon erkannt. Das blaue Hintergrundbild überdeckt den Effekt.
Habt Ihr ne Idee wie ich das Lösen kann, bevor ich mir wieder stundenlang den Kopf zerbreche oder die Finger heiß tippe.
Vielen Dank.
Alles anzeigen
ich habe eine kleine Tabelle wo ich einen Box-Shadow per onMouseover nach Innen eingestellt habe. Leider funktioniert der Effekt nicht auf Zeilen, die wiederum auch 2 Zeilen behinhalten. Auf Zeile 1 funktioniert der Effekt, auf Zeile 2 nicht. Das Problem habe ich schon erkannt. Das blaue Hintergrundbild überdeckt den Effekt.
Habt Ihr ne Idee wie ich das Lösen kann, bevor ich mir wieder stundenlang den Kopf zerbreche oder die Finger heiß tippe.
Vielen Dank.
Quellcode
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
- "http://www.w3.org/TR/html4/loose.dtd">
- <html>
- <head>
- <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
- <style type="text/css">
- * {margin: 0px; padding: 0px; border-collapse: collapse;}
- .außendiv {width: 100%; height: 100%; text-align: center; vertical-align: middle;}
- .b6 {-moz-box-shadow: 0px 0px 10px #333; -webkit-box-shadow: 0px 0px 10px #333; box-shadow: inset 0px 0px 10px #333;}
- .b7 {border-left: 1px solid #888; border-top: 1px solid #888; border-bottom: 1px solid #888;}
- .b-blue {background-image: url(b-blue.gif); background-position: center; background-repeat: repeat-x;}
- </style>
- </head>
- <body>
- <table border="1">
- <tr>
- <td><input type="button" value=" Wo " style="width: 100%;"></td>
- <td><input type="button" value=" Wer1 " style="width: 100%;"></td>
- <td><input type="button" value=" Wer2" style="width: 100%;"></td>
- </tr>
- <tr onmouseover="this.className='b6';" onmouseout="this.className='b7';">
- <td class="b-blue"> Entenhausen </td>
- <td class="b-blue"> Donald Duck </td>
- <td class="b-blue"> Mickey Mouse </td>
- </tr>
- <tr onmouseover="this.className='b6';" onmouseout="this.className='b7';">
- <td class="b-blue"> Entenhausen </td>
- <td class="b-blue"> Donald Duck </td>
- <td><table class="außendiv"><tr><td class="hrow b-blue">Tick</td></tr><tr><td class="hrow b-blue">Trick</td></tr></table></td>
- </tr>
- </table>
- </body>
- </html>