SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: Form not displaying in IE7

  1. #1
    a fresh, new start... dujmovicv's Avatar
    Join Date
    Aug 2006
    Location
    Earth
    Posts
    556
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Form not displaying in IE7

    Hi all!

    I have this simple html code for displaying a sign up form :
    Code:
    <form name="form_newsletter" class="form_newsletter" method="post" action="">
    <input type="text" name="subscriber_name" class="text_box" value="Your name" onfocus="blank(this)" onblur="unblank(this)" />
    <img src="" alt="captcha image" /><br />
    <input type="text" name="subscriber_email" class="text_box" value="Your email" onfocus="blank(this)" onblur="unblank(this)" />
    <input type="text" name="captcha_value" class="text_box" value="Insert symbols" onfocus="blank(this)" onblur="unblank(this)" /><br />
    <input type="image" class="sign_me_up" src="graphics/sign_me_up.jpg" name="Submit" value="sign_me_up" />
    </form>
    and a CSS which defines the layout :
    Code:
    .text_box {
    	width: 124px;
    	border: 1px solid #000066;
    	border-left: 2px solid #000066;
    	font-family:Verdana, Arial, Helvetica, sans-serif;
    	font-size:11px;
    	padding-left:5px
    }
    
    .sign_me_up {
    margin-top:3px
    }
    .form_newsletter {
    background-image:url(../graphics/mailbox.gif);
    background-position:right;
    background-repeat:no-repeat;
    height:130px
    }
    The form is displayed just nice in Firefox and Chrome, however in IE7 there's absolute NOTHING at the place where the form supposed to be..... Any ideas?

    Thanks in advance!

    Full time ADMIN - art community
    Part time coder - dsign

  2. #2
    SitePoint Evangelist
    Join Date
    Nov 2008
    Posts
    594
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    it is displaying fine in my ie7.

    may be something else in your rest of code is disturbing

    vineet

  3. #3
    a fresh, new start... dujmovicv's Avatar
    Join Date
    Aug 2006
    Location
    Earth
    Posts
    556
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Interesting.... It was a
    Code:
    margin-left:425px
    attribute for the containing div...... Thanks!

    Full time ADMIN - art community
    Part time coder - dsign

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •