|
|||
Abstand zwischen zwei Divs IE6
Hallo,
folgendes Problem: Der IE6 erzeugt zwischen zwei Divs, die in einer Tabellen-Zelle liegen einen Abstand zwischen den beiden Divs, der FF allerdings. Die Seite: Michi's Homepage - Ein Screenshot davon: http://www.michis-homepage.net/extra...iv_abstand.jpg Der relevante Code: xHTML (zweite Zelle zur besseren Sichtbarkeit des Fehlers rot hinterlegt): HTML-Code:
<tr id="main_table_float_bottom"> <td> <div id="main_table_bottom_right"> </div> <div id="main_table_bottom_right_float"></div> </td> <td style="background-color:#ff0000;"> <div id="main_table_bottom_left"> </div> <div id="main_table_bottom_left_float"></div> </td> </tr> HTML-Code:
#main_table_float_bottom td { vertical-align:bottom; } #main_table_bottom_right { float:right; line-height:0; width:245px; height:241px; background:url(../layout/gbr.jpg); } #main_table_bottom_right_float { background:url(../layout/gbf.jpg) repeat-x; height:241px; } #main_table_bottom_left { float:left; line-height:0; width:245px; height:241px; background:url(../layout/gbl.jpg); } #main_table_bottom_left_float { background:url(../layout/gbf.jpg) repeat-x; height:241px; } HTML-Code:
#main_table { width:100%; height:700px; border-spacing:0; border-collapse:collapse; } Ich kann mir nicht erklären wie dieser Abstand zu Stande kommt! Ich freue mich auf eure Tipps! MfG Michael |
Sponsored Links |
|
||||
Hi,
ich denke das liest sich nach der "1%-Sache". Siehe: http://xhtmlforum.de/48023-frage-zu-...1-ie-hack.html
__________________
Der höchste Lohn für unsere Bemühungen ist nicht das, was wir dafür bekommen, sondern das, was wir dadurch werden. Mein aktuelles Projekt bei idealseiten.de |
Sponsored Links |
|
|||
Vielen Dank für deinen Tipp!
Ich habe es jetzt mal folgendermaßen abgeändert: HTML-Code:
<tr id="main_table_float_bottom"> <td> <div id="main_table_bottom_right"> </div> <div id="main_table_bottom_right_float"></div> </td> <td style="background-color:#ff0000;"> <div style="height:1%;"> <div id="main_table_bottom_left"> </div> <div id="main_table_bottom_left_float"></div> </div> </td> </tr> Ich bin mir nur leider nicht 100%ig sicher, ob es reicht dem Eltern-Div diese 1% zu geben, ich finde zu diesem Thema leider nicht sehr viel... MfG Michael |
Themen-Optionen | |
Ansicht | |
|
|
Ähnliche Themen | ||||
Thema | Autor | Forum | Antworten | Letzter Beitrag |
Seltsamer Abstand im IE6 zwischen 2 Divs mit Grafiken | SickofSociety | CSS | 6 | 07.08.2008 20:42 |
IE6 DIVs werden verdeckt, Subnavi zieht streifen, Position Frage | killray | CSS | 16 | 06.06.2008 15:06 |
meine 2 Divs stehen im IE6 nicht nebeneinander??? | jilli | CSS | 15 | 15.11.2007 00:27 |
Abstand zwischen DIVs im IE6 | AhuraMasda | (X)HTML | 1 | 30.09.2007 17:24 |
FF, IE6, IE7 Pixelabweichungen bei DIVs | Krischu | CSS | 1 | 04.04.2007 11:37 |