Ergebnis 1 bis 2 von 2
-
17-07-2008, 23:04 #1
Jungspund
- registriert
- 28-05-2007
- Beiträge
- 15
Linie in Tabelle beim IE klappt nicht richtig
Hi. Ich möchte gerne eine Linie mit HR durch 4 miteinander verbundene Tabellen-Zellen ziehen. Beim Firefox 2 und 3 klappt das auch, nur beim Internet Explorer 6 nimmt er nur eine Zelle ein.
HTML-Code:<table border="0" cellpadding="0" cellspacing="4" width="780"> <tr> <td width="500"><p class="main_title">%title%</p></td> <td width="80"><p class="main_title">%stat1%</p></td> <td width="80"><p class="main_title">%stat2%</p></td> <td width="160"><p class="main_title">%recent%</p></td> </tr> <tr> <td colspan="4" width="460"><hr class="main_line" size="1"></td> </tr> <tr> <td colspan="3"><i>%info%</i></td> <td rowspan="2" valign="top">%recent_det%</td> </tr> <tr> <td colspan="3">%subforums%</td> </tr> </table>
hr.main_line {
color: #8888ff;
margin-top: 0px;
margin-bottom: 0px;
}
Kann mir jemand sagen, woran das liegt und wie man das Problem beheben kann ?
-
19-07-2008, 09:52 #2
AW: Linie in Tabelle beim IE klappt nicht richtig
Nimm mal die width-Angabe raus
Code:<td colspan="4" width="460"><hr class="main_line" size="1"></td>
.:Taunusstein - Nachrichten und Kommentare
"Ich bin doch lieber jeden Tag glücklich als im Recht."
(Per Anhalter durch die Galaxis)
Ähnliche Themen
-
tabelle über tabelle legen?
Von Gamer20 im Forum CSS und (X)HTMLAntworten: 12Letzter Beitrag: 02-01-2008, 15:06 -
Anzahl Zeilen von Tabellen aus Tabelle
Von Conny80 im Forum Serverseitige ProgrammierungAntworten: 31Letzter Beitrag: 04-03-2007, 06:24 -
Mit Javascript die Grösse einer Tabelle dynamisch anpassen
Von derber im Forum JavaScriptAntworten: 1Letzter Beitrag: 29-11-2006, 22:38 -
Mozilla-Firefox macht Tabelle einfach breiter / Rand wird falsch angezeigt
Von pit im Forum AllgemeinesAntworten: 8Letzter Beitrag: 03-04-2006, 10:12 -
anker in tabelle / formular - funkt. nicht richtig
Von ollih im Forum AllgemeinesAntworten: 4Letzter Beitrag: 02-12-2004, 08:24
Lesezeichen