I am having an issue with tags in IE 7 and 8 there are some unwanted spaces which I am experiences on these browsers my css snippet.
form{margin:0;padding:0;text-align:left;}
This css 开发者_StackOverflow中文版fails only on IE 7 and 8 Please let me what I am doing wrong
Add display : inline;
in the css as follows:
form{margin:0;padding:0;text-align:left;display: inline;}
There is a bug in IE7&8 where if a form is preceded by an unclosed <p>
tag, it will create an extra box above the form. Closing the <p>
should fix the issue.
精彩评论