|
|||
![]()
Hallo,
Ich habe das Problem, wenn ich ein fieldset als inline definiere, dann wird im FF 1.5 und der vorgänger Version 1.0.4 die im Fieldset eingeschlossene Tabelle zerrissen. Für mich nicht ganz nachvollziehbar, da ja display sich nicht vererben sollte ... Ich setze das fieldset deswegen auf inline, weil ich nicht möchte, dass sich dieses Element über die ganze verfügbare Breite ersteckt. hatte zuvor dieses Element auf width:0px womit ich dies erreicht habe nur finde ich das nicht besonders schön ... Ebenfalls würde mich interessieren, wie ich eine Tabelle innerhalb eines div's zentrieren kann, ohne das auch automatisch der Tabelleninhalt ebenfalls zentriert wird. Hier erhalte ich nämlich auch unterschiedliche interpretationen von IE und FF Beispiel Code: Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /> <meta name="Content-Language" content="de" /> <title>Title</title> <style type="text/css"><!-- body * { border: 1px solid #000000; } form { background-color: #8f8f8f; } fieldset { background-color: #afafaf; display: inline; } table { background-color: #efefef; } --></style> </head> <body> <form action="/index.php" method="post"> <fieldset><legend>Login</legend> <table cellspacing="4"> <colgroup> <col width="200" /> <col width="200" /> </colgroup> <tr> <th>foo</th> <td>bar</td> </tr><tr> <th>longer Test ...</th> <td>lorem</td> </tr><tr> <td></td> <td>foo bar</td> </tr> </table> </fieldset> </form> </body> </html> |
Sponsored Links |
![]() |
Themen-Optionen | |
Ansicht | |
|
|
![]() |
||||
Thema | Autor | Forum | Antworten | Letzter Beitrag |
Tabelle in Tabelle | uwe85 | CSS | 1 | 04.06.2019 14:58 |
Aktuelle Größe von Tabelle bekommen (dynamische Erzeugung der Tabelle) | internet | (X)HTML | 17 | 03.12.2014 10:05 |
Tabelle height 100% im IE | paule | CSS | 0 | 09.05.2007 13:27 |
Mysql: Tabelle Ordnen, nach Integer Werten (timestamp) oder Zeitformaten? | braindead | Serveradministration und serverseitige Scripte | 8 | 14.03.2007 21:21 |
FF: Tabelle in Tabelle centern | wuschba | CSS | 2 | 20.07.2006 11:00 |