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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T04:09:39+00:00 2026-05-15T04:09:39+00:00

I m trying to leave a gap from left in select list, but its

  • 0

I m trying to leave a gap from left in select list, but its getting problem in firefox and safari please give me source code or any reference link from where i can work…

code which i use :

<select style="padding:10px">
   <option>Male</option>
   <option>female</option>
   <option>other</option>
</select>

Thanks

Yes i want indent from left

  • 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-15T04:09:40+00:00Added an answer on May 15, 2026 at 4:09 am

    Maybe you were after something like:

    <select style="padding: 0 0 0 10px">
       <option>Male</option>
       <option>female</option>
       <option>other</option>
    </select>
    

    jsFiddle example here.

    Is that what you wanted?

    Edit:

    After some testing in Safari(for PC) you can style your select with text-indent:20px; Safari. Maybe you’d be better off using something like the Brainfault select box replacement jQuery, which I just viewed the example in Safari (PC) and the jQuery works fine.

    Last Edit:

    For your specific needs, get this: CSS Browser selector, and install it on your page (just download it to your scripts folder and copy and paste this into your head: <script src="path-to-file/css_browser_selector.js" type="text/javascript"></script>)

    Then use this HTML:

    <select class="myselect">
       <option>Male</option>
       <option>female</option>
       <option>other</option>
    </select>
    

    Then use this CSS:

    .gecko .myselect {
      padding: 0 0 0 20px;
    }
    
    .webkit .myselect {
    text-indent:20px;
    }
    

    Isung this jQuery selection plugin, it will tell FF to use padding and Safari(and chrome) to use text indent.

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

Sidebar

Related Questions

Trying to get some movies and their genres but leave out any records that
I'm trying to rewrite a URL such as http://www.example.com/someword/ to http://www.example.com/someword/index/ But leave http://www.example.com/someword/anotherword/
am trying to leave only a-zA-Z0-9._ in a text using : $new_pgname=preg_replace('|(^[a-zA-Z0-9_\.])|s','',$new_pgname); but guess
I'm trying to detect mouse enter/leave messages CM_MOUSEENTER and CM_MOUSELEAVE but it isn't catching
I am trying to remove the query string from a url, but I need
I'm trying to fill a torus texture of wood, but leaves only one color:
Basically, I am trying this, but this only leaves array filled with zeros .
Trying to implement LoaderManager + CursorLoader. In onFinish method adapter should swap its cursor
I am using a loading spinner when I am trying to leave a page.
I'm trying to obfuscate all the ids that leave the server, i.e., ids appearing

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.