Hi,
<table width="100">
Ich halte eine Maßeinheit immer für nützlich,
Entschuldige Christoph, aber eine Maßeinheit an dieser Stelle wäre schlichtweg falsch.
Im HTML-Attribut width hat eine Längeneinheit schlicht und einfach nichts verloren, wenn nicht Prozent gewünscht sind.
Das width-Attribut von Table ist vom Typ Length
Der ist wie folgt (unter 2.) definiert, 1. zitiere ich, weil sich 2. darauf bezieht:
1. Pixels: The value (%Pixels; in the DTD) is an integer that represents the number of pixels of the canvas (screen, paper). Thus, the value "50" means fifty pixels. For normative information about the definition of a pixel, please consult [CSS1].
2. Length: The value (%Length; in the DTD) may be either a %Pixel; or a percentage of the available horizontal or vertical space. Thus, the value "50%" means half of the available space.
siehe http://www.w3.org/TR/html401/types.html#type-pixels
Wenn es style="width:..." wäre, lägst Du richtig.
cu,
Andreas
Der Optimist: Das Glas ist halbvoll. - Der Pessimist: Das Glas ist halbleer. - Der Ingenieur: Das Glas ist doppelt so groß wie nötig.
http://mud-guard.de/? http://www.andreas-waechter.de/ http://www.helpers.de/