Thread Textarea oder Input-Feld, Text-Teile in Farbe (6 answers)
Opened by master at 2005-05-04 13:38

GwenDragon
 2005-05-09 17:20
#24463 #24463
User since
2005-01-17
14748 Artikel
Admin1
[Homepage]
user image
Einzelne Zeichen mit Span
Code: (dl )
Das ist der T<span style="color:black">e</span><span style="color:red">x</span><span style="color:green">t</span>


Als HTML:
Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<!DOCTYPE html PUBLIC 
"-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

<HTML>

<HEAD>
<META http-equiv="content-type" content="text/html;charset=iso-8859-1">
<TITLE></TITLE>
<style>
input {
color: yellow; /* Textfarbe */
background-color: blue; /* Hintergrund */
}
textarea {
background-color: silver;
color: green;
}
</style>
</HEAD>

<BODY>
<P>Das ist der T<span style="color:black">e</span><span style="color:red">x</span><span style="color:green">t</span></P>
<FORM>
<INPUT>
<BR>
<textarea cols="50" rows="10">Oha
aaa
aaa</textarea>
</FORM>
</BODY>

</HTML>
\n\n

<!--EDIT|GwenDragon|1115645447-->

View full thread Textarea oder Input-Feld, Text-Teile in Farbe