Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6103349
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T13:43:08+00:00 2026-05-23T13:43:08+00:00

My markup looks like so: <p> <select></select> <input type=submit id=submit value=submit name=submit /> </p>

  • 0

My markup looks like so:

<p>
   <select></select>
   <input type="submit" id="submit" value="submit" name="submit" />
</p>

Here’s the CSS:

//No specific styles for the select element nor inherited ones.

#submit {
    background: url("images/img.png") no-repeat scroll 0 0 transparent;
    border: 1px solid #FFFAEE;
    cursor: pointer;
    height: 34px;
    margin-left: 30px;
    width: 145px;
}

The issue is the submit button is a few pixels above the select element. Here’s a screenshot:

enter image description here

This happens in Webkit browsers and IE but not in Firefox.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T13:43:08+00:00Added an answer on May 23, 2026 at 1:43 pm

    I copied your code into jsfiddle and the select and submit button align up nicely in ff,chrome and ie9.

    http://jsfiddle.net/PTF3Q/

    Apparently there’s some code you’re not supplying causing this – do you have a live url to the page?

    If not, you could try: vertical-align: middle;

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Markup: <input type=text name=email /> Code: $(':text').focusout(function(){ $(this).validate(function(){ $(this).attr('name'); }); }); Plugin: (function($){ $.fn.validate
Existing markup: <g:textField name=identifier/> <g:remoteLink action=newId update=identifier>generate new id</g:remoteLink> Corresponding HTML markup: <input type=text
My markup looks like this : <div class='container' style='margin:10em'> <div class='content'><p>some content here !</p></div>
i have a markup which look like this: <h3>Paragraf3-dummytext</h3> <p> <a name=paragraf3> Quisque id
My markup looks like this: <ul class=menu collapsible> <li class='expand sectionTitle home'> <a class='clicker'
If my markup looks like this: <button id=button-1 class=nice> <button id=button-2 class=nice> <button id=button-3
I have a horizontal menu. The markup looks like this: <ul class=menu> <li>Item 1</li>
My markup looks like: <div class=c1> <li class=c2><a href=>blah</a></li> </div> I want the text
I'm using a helper class to build my hyperlink. The markup looks like this:
I have a big HTML file that has lots of markup that looks like

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.