Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Banned
    Join Date
    Mar 2007
    Posts
    1,523
    Thanks
    116
    Thanked 0 Times in 0 Posts

    Internet Explorer IE7 form button on new line

    Hi, on my site: http://aet.inpreview.net
    In the footer, there is a Newsletter sign up form.

    In IE7, the submit button falls on the next line, please help, I think I've tried eveything?!

    html
    Code:
    <div id="newsletter">
    				<form name="newsletter" action="#" method="post">
    					<p>Sign up to our e-newsletter</p>
    					<input type="text" value="Name" class="newslettertextbox" name="name"><input type="text" value="email" class="newslettertextbox" name="email"><input type="button" value="Sign up" name="submit">
    				</form>
    			</div>
    CSS
    Code:
    #newsletter {
        clear: both;
        float: right;
        height: 72px;
        margin-top: 10px;
        text-align: right;
        width: 50%;
    }
    #newsletter form {
        display: inline-block;
        margin-bottom: 0;
    }
    
    .newslettertextbox {
        font-size: 12px !important;
        margin-right: 4px !important;
        width: 80px !important;
    }

  • #2
    Banned
    Join Date
    Mar 2007
    Posts
    1,523
    Thanks
    116
    Thanked 0 Times in 0 Posts
    is anyone able to help me here?

  • #3
    Senior Coder jerry62704's Avatar
    Join Date
    Oct 2007
    Location
    Springfield, IL
    Posts
    1,100
    Thanks
    13
    Thanked 87 Times in 87 Posts
    I removed the "max-width:100%" on the input[type-'text'] and it went to the same line.
    .
    .
    ...and gladly would he learn and gladly teach

    Visit www.LiberalsWin.com for humor and the unique Bush/Obama Approval Polls


  •  

    Tags for this Thread

    Posting Permissions

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