OLD | NEW |
| (Empty) |
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" | |
2 "http://www.w3.org/TR/html4/strict.dtd"> | |
3 <html lang="en"> | |
4 <head> | |
5 <meta http-equiv="content-type" content="text/html; charset=utf-8"> | |
6 <title>StyledTA</title> | |
7 <meta name="generator" content="BBEdit 8.2"> | |
8 <style type="text/css"> | |
9 .p { | |
10 border: dotted silver 1px; | |
11 font-style:italic; | |
12 font-family: Verdana, Arial, Helvetica; | |
13 font-size: 10pt; | |
14 line-height:400%; | |
15 width:400px; height:200px; | |
16 } | |
17 | |
18 </style> | |
19 </head> | |
20 <body> | |
21 line-height settings not reflected in textarea<br/> | |
22 <p> TEXTAREA<br/> | |
23 <textarea id="myTA" class="p">Demo text here that wraps a bit an
d should demonstrate the goodness of line-height</textarea> | |
24 <br/><br/>PARAGRAPH - works | |
25 <p class="p">Demo text here that wraps a bit and should demonstr
ate the goodness of line-height</p> | |
26 <br/>DIV - works<br/> | |
27 <div class="p">Demo text here that wraps a bit and should demons
trate the goodness of line-height</div> | |
28 <br/><br/>Un-Styled Textarea<br/> | |
29 <textarea>Demo text here that wraps a bit and should demonstrate
the goodness of line-height</textarea> | |
30 <br/><br/>Totally Blank Un-Styled Textarea<br/> | |
31 <textarea></textarea> | |
32 <br/><br/>Totally Blank STYLED Textarea<br/> | |
33 <textarea id="myTA" class="p"></textarea> | |
34 | |
35 </p> | |
36 </body> | |
37 </html> | |
OLD | NEW |