bonjour
pour textarea (comment)
sous IE cela m'affiche une ligne
sous firefox m'affiche 2 lignes
comment puis je contourné ce probleme ?
merci
Code : Sélectionner tout - Visualiser dans une fenêtre à part
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
34
35
36
37
38
39
40
41
42
43
44
45
46 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>Untitled Document</title> <style type="text/css"> * { margin:0px; padding:0px; } #form { font:12px, Georgia, "Times New Roman", Times, serif; width: 400px; } input, textarea { border: 3px double #DDDDDD; padding: 2px; font: 11px Geneva, Arial, Helvetica, sans-serif; display: block; margin: 4px 0 4px 0; } fieldset { padding: 12px; border: 1px solid #DDDDDD; margin-top: 6px; } legend { color: #666666; padding: 0 12px; } label { color: #666666; display: block; } #name, #comment{width: 250px;} </style> </head> <body> <form action="#" method="post" id="form"> <div> <fieldset> <legend>Post it</legend> <label class="required">Name: <input type="text" id="name"/> </label> <label class="required">Comment text: <textarea id="comment" cols="1" rows="1"></textarea> </label> </fieldset> <input type="submit" id="submit" value="Send it!" /> </div> </form> </body> </html>
Partager