MudGuard: INPUT-Feld mit CSS formatieren

Beitrag lesen

Hi,

mache, dann sieht das Ergebnis in N4.7 katastrophal aus. Irgendwie stellt N4.7 das ganze nicht richtig dar (siehe Link), indem es das Input-Feld horizontal wahnsinnig gross darstellt, obwohl die Breite des Feldes auf 50 Pixel reduziert ist.

Wo? Auf der angegebenen Seite befindet sich nur ein
<input type="text" name="outtext" size="50" maxlength="50">

Und da wird das Feld auf 50 Zeichen Breite gesetzt. Nicht auf 50 Pixel.

Siehe auch im Standard:
size = cdata [CN]
    This attribute tells the user agent the initial width of the control. The width is given in pixels except when type attribute has the value "text" or "password". In that case, its value refers to the (integer) number of characters.

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/