Indent <textarea> in WebKit in Strict?

0 like 0 dislike
3 views
Inexplicably behaving browsers on cursor WebKit (tested in Chrome and Safari), when doktayp Strict under the tag texarea appears indented 5 pixels. When doktayp Transitional in all browsers indent no.


Can you please tell me how to fix this behavior?

padding.jpg

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">Untitled Document<!--form, textarea, div {padding:0;margin:0;}-->
by | 3 views

2 Answers

0 like 0 dislike
Try textarea {display: block;}
Not sure, but helped with the appearance of a similar indentation in IE the images
by
0 like 0 dislike
You can:
{vertical-align: top;}
by

Related questions

0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
2 answers
110,608 questions
257,186 answers
0 comments
1,107 users