Input Text farbig
Futzi
- html
Hallo,
kann man in einem mit Text vorbelegten und readonly gesetzten input-Tag die Schrift farbe bestimmen, wenn ja wie?
Bsp.:
<input type="text" name="zahl" size="9" value="ausverkauft" readonly>
"ausverkauft" soll rot erscheinen.
Danke und Gruß
Futzi
Hallo Futzi,
Deine Antwort:
<input type="text" name="zahl" size="9" value="ausverkauft" readonly style="color:#ff0000;">
Das Design von Eingabefeldern wird nämlich auch mit CSS erledigt:
http://de.selfhtml.org/html/formulare/formatieren.htm#css
cu
Marc Reichelt || http://www.marcreichelt.de/