IE (Internet Explorer) Form Tag problem

images1.thumbnail

IE (Internet Explorer) Form Tag problem

Most of the desingners of html , perhaps faced this problem, that when use
form tag, extra white space or page break appear. This is most in the case of
using form tag outside a table or a td tag. There is no problem for the same
condition in mozilla. You know what to do.

We can solve this simply using CSS. Just add this

<style>
form {
margin:0;
padding:0;
}
</style>

This will solve your problem

14 Comments

14 Responses to “IE (Internet Explorer) Form Tag problem”

  1. Sean September 18, 2007 at 10:44 pm #

    Thank you for the tip, it should have been obvious to me but…
    Problem solved!

  2. Sean September 18, 2007 at 10:46 pm #

    Thanks for the tip. It should have been obvious to me but…
    Problem solved!

  3. viju April 8, 2008 at 11:02 pm #

    Edit Home Page:
    Home:
    Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Etiam nisl.

    problem is: when i click submit button it says page not found specially in Internet Explorer.. if i refresh again required page will be displayed. can somebody help me?

  4. Sajith M.R April 9, 2008 at 1:09 pm #

    Make sure your form tag is properly closed, or properly nested. Check the action field too. if not solved, Mail you html code to admin@sajithmr.com . I will try my best.

    Thanks you

  5. Michael June 1, 2008 at 5:17 pm #

    Ohhh thanks man, you saved my life!!!!

  6. Madz November 13, 2008 at 8:51 am #

    You solved my problem! Thank you very much for that. This is what is great about developers who are not selfish, they share their solutions to problems and ideas. Thanks again.

  7. shabbir March 20, 2009 at 2:43 pm #

    got lot of bashing from the client ur solution solved the problem

  8. filip April 16, 2009 at 5:39 pm #

    i have another problem, when i double click fast in form to apear a text it doesn’t apear, but when i double click slower it appears, does someone know why?

  9. Marlon January 10, 2010 at 10:45 am #

    Internet Explorer 8 is really good. This browser is very very stable and i have been using it for quite a while without blue screens or crashes.

  10. alice January 29, 2010 at 9:35 am #

    I knew it had to do with the padding & margins somewhere (I had added it to my table tag with no results). Your fix is too obvious. I can’t thank you enough. Thanks for making me look good!!!

    It is problems like these I am glad I use Firefox. IE has been around soooo long you’d figure they’d have alot of these stupid little bugs worked out by now. They should just get over themselves & conform like the rest.

  11. Amit March 3, 2010 at 1:55 am #

    THANK YOU!
    This has been driving me mad recently!!

  12. David August 12, 2010 at 7:13 am #

    Brilliant. Thanks … it works well!

  13. Hemant September 15, 2010 at 10:45 pm #

    Hey,

    I am very new to the website development. Anyway, I learned quite a bit using various tutorial. The one last thing I got stuck with is the contact form page.

    I have a master page and creating contact form in a content page. Whenever I use the , it adds a page break in the IE8; Mozilla works fine.

    I tried your solution of putting css style for form (put it in master as well as in the content page, jsut to check), but it still adds the page break in IE8. Any help will be highly appreciated.

    Thanks,
    Hemant

  14. Jagjot May 27, 2011 at 5:50 pm #

    hi guys ,

    i did try all the above mentioned solution but it did not work in my case
    please help

Leave a Reply

More in html, webworld (66 of 72 articles)


Hello, Javascript supports different types of OOPS concept. You know basically javascript is a functional lanugage. We can make ...