Internet Explorer SPAN style issue when Input button is removed

Posted by Evan on Stack Overflow See other posts from Stack Overflow or by Evan
Published on 2010-05-13T17:17:03Z Indexed on 2010/05/13 18:44 UTC
Read the original article Hit count: 672

Filed under:
|
|
|

Internet Explorer does not remove the extra padding from my button when the input button is missing. The input button will sometimes be missing, because on a dynamic page the button will sometimes be hidden.

See my example using Internet Explorer when viewing my demo link: http://media.apus.edu/it/evan-testing/form.htm

I tested this in Firefox, Safari, Chrome, etc. and all browsers have my style completely removed if the form button is missing.

edit It was asked what internet explorer version does this happen in and it occurs in ie7. It works just fine in IE8. Any hacks for this for IE7 then?

© Stack Overflow or respective owner

Related posts about span

Related posts about style