Hi, ich frage hier mal die CSS-könner:
ich habe den code hier:
$this->bbcode_second_pass_code('', ' <script language="javascript" type="text/javascript"> function chtext(msg){ var e = document.getElementById('text'); e.innerHTML = msg; } </script> [...] <thead> <tr> <td align="left" height="120" width="200"> <img src="../IMGG/XRenegade_logo.png" border="0" alt="X-Renegade Solutions" /> </td> <td align="center"> <img usemap="#nav" src="../IMGG/nav.jpg" border="0" alt="X-Renegade Solutions" /> </td> </tr> <tr> <td> </td> <td class="subtext"> <center> <div id="text"> </div> </center> </td> </tr> </thead> [...] <map name="nav"> <area shape="rect" coords="29,27,93,51 " onMouseOver="chtext('Zurück zur Hauptseite');" onMouseOut="chtext('');" href="index2.php" target="MAINFRAME" /> <area shape="rect" coords="104,27,201,51" onMouseOver="chtext('Über Uns');" onMouseOut="chtext('');" href="aboutus.php" target="MAINFRAME" /> <area shape="rect" coords="211,27,267,51" onMouseOver="chtext('Unsere Arbeit(en)');" onMouseOut="chtext('');" href="work.php" target="MAINFRAME" /> <area shape="rect" coords="277,27,377,51" onMouseOver="chtext('Downloads');" onMouseOut="chtext('');" href="download.php" target="MAINFRAME" /> <area shape="rect" coords="392,27,476,51" onMouseOver="chtext('Impressum & Kontakt');" onMouseOut="chtext('');" href="contact.php" target="MAINFRAME" /> <area shape="rect" coords="496,27,566,51" onMouseOver="chtext('Sie benötigen Support? Hier lang!');" onMouseOut="chtext('');" href="ticket.php" target="MAINFRAME" /> </map> ')
dazu das css:
$this->bbcode_second_pass_code('', ' td{ font-family: Tahoma; font-size:8pt; } .subtext{ height: 16px; clear: none; text-decoration: none; float: center; } a:link, a:visited, a:active{ color: #CCCC88; font-size: 8pt; font-family: Tahoma; text-decoration: underline; font-weight: 900; } a:hover { color: #ABAB27; font-size: 8pt; font-family: Tahoma; text-decoration: none; font-weight: 900; } ')
im FFox läuft alles perfekt. nur der IE lässt das div um ~1-2 px herum'hüpfen', statt dass es am eigentlichen platz ist wird es um eben diese pixel heruntergeschoben...
irgendwelche ideen?
€dit: ich habs vorerst mit einem trick, der mir nicht gefällt, gelöst:
$this->bbcode_second_pass_code('', ' <div id="text"> <span style="color: #72828B;">.</span> </div> ')
und die areas angepasst. wie gesagt, gefällt mir nicht.
_________________ R.I.P.
†26.7.2004 - 20.3.2006†
†MeteorA†
|