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 5960711
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T18:51:51+00:00 2026-05-22T18:51:51+00:00

I have this HTML/CSS code ( JSBin ): .trackTime{width:50px; text-align:left; float:left;} .trackInputTime{width:45px; height:22px; background-color:#F4F4F4;}

  • 0

I have this HTML/CSS code (JSBin):

.trackTime{width:50px; text-align:left; float:left;}
.trackInputTime{width:45px; height:22px; background-color:#F4F4F4;}   

<span class="trackTime">            
    <select name="hours[]" class="trackInputTime" id="trackInputHours" >
        <option value="??">??</option>
     </select>
</span>

<span class="trackTime">            
    <select name="minuts[]" class="trackInputTime" >
        <option value="??">??</option>
    </select>   
</span>

<span class="trackTime">                            
    <select name="seconds[]" class="trackInputTime" >
        <option value="??">??</option>
    </select>
</span>

And I’d like to remove the span for each select field. Tried to remove the span and edit the class (here the edited version) :

.trackInputTime{width:50px; height:22px; background-color:#F4F4F4; text-align:left; padding-right:5px; float:left;}

but there is a white background that I don’t like..

The same for an input submit button :

.trackBotton{width:75px; float:left; text-align:right;}

<span class="trackBotton"><input type="submit" value="+ Side" onClick="addSide(this);return false" /></span>
<span class="trackBotton"><input type="submit" value="+ Track" onClick="addTrack(this);return false" /></span>
<span class="trackBotton"><input type="submit" value="Remove" onClick="remTrack(this);return false" /></span>

I have many of these span, that’s why I’d like to remove them.

How can I do it? Can’t add the jsfiddle because seems to be offline :O

  • 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-22T18:51:51+00:00Added an answer on May 22, 2026 at 6:51 pm

    Looks like you use the spans to get some space between the form elements.
    You can remove the spans and use

    .trackInputTime{width:50px; height:22px; background-color:#F4F4F4; text-align:left; margin-right:5px; float:left;}
    

    You were almost there, just use “margin” instead of “padding”. Padding is extra space on the “inside” of the element, margin on the outside.

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

Sidebar

Related Questions

I have this code <html> <head> <style type=text/css> .frame {width: 50em; border: 1px solid
I have this CSS code : #d_image { float: left; width: 320px; margin-top: 20px;
I have this CSS : .tracklistOff{display:none;} .tracklistOn{width:710px; float:left;} .trackon{width:710px; float:left;} this HTML : <div
I have a page with this HTML: <p> <img src=images/ih01.jpg width=80 height=110 align=left />
I have this html code <div id="mybox"> aaaaaaa </div> and this is my css
I have this code, and it renders this HTML. How can I apply CSS
I have this html code and want to use the text in the divs
I have this CSS code: <style> body { position:absolute; background-image: url(art/c11.jpg); width:100%; height:100%; }
I have this html code <div> <p>MY Text <a href=url>Text</a> </p> </div> I need
I have this HTML code: <span class=left> <img class=avatar src=image.jpg /> </span> <span class=right>

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.