Hi,
Kurzzusammenfassung über Block und Inlineelemente:
Eine der wichtigsten Eigenschaften ist,
dass Blockelemente bis ans ENDE des Bildschirms gehen
also von links nach rechts gesehen AUSSER man definiert eine
spezielle "width"
HTML sagt dazu (siehe http://www.w3.org/TR/html401/struct/tables.html#adef-width-TABLE:
This attribute specifies the desired width of the entire table and is intended for visual user agents. When the value is a percentage value, the value is relative to the user agent's available horizontal space. In the absence of any width specification, table width is determined by the user agent.
Bei fehlender Breitenangabe darf also der user-agent (sprich: Browser) die Breite bestimmen.
Dazu wird er im Normalfall die CSS-Regeln beachten:
CSS sagt dazu (siehe http://www.w3.org/TR/REC-CSS2/tables.html#q5):
The table and caption boxes retain their own content, padding, margin, and border areas, and the dimensions of the rectangular anonymous box are the smallest required to contain both.
cu,
Andreas
MudGuard? Siehe http://www.Mud-Guard.de/
Fachfragen per E-Mail halte ich für unverschämt und werde entsprechende E-Mails nicht beantworten. Für Fachfragen ist das Forum da.