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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T00:41:38+00:00 2026-06-07T00:41:38+00:00

How do I style width for -webkit only? All of my select boxes are

  • 0

How do I style width for -webkit only? All of my select boxes are roughly 16px wider no matter what I do. Border-box has zero effect and this is really annoying. I’ve even tried making up vendor prefixes hoping against common sense that it would work like -webkit-width. Of course, that didn’t work out too well.

Also, how do you get the arrow only using -webkit-appearance: none? It’s very annoying having to fight off the rounded corners and extra styling webkit gives you by default. Is the only sane browser FF?

  • 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-06-07T00:41:40+00:00Added an answer on June 7, 2026 at 12:41 am

    So for the width I just thought of the solution immediately after typing this.

    @media only screen and (-webkit-min-device-pixel-ratio:0) { 
        select { width: 25%; }
    }
    

    That targets just the -webkit browsers and I should have known that already.

    So as for the arrow…

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

Sidebar

Related Questions

Possible Duplicate: Default textbox border-style and width I have some TextBox on my page
/* Style 1 */ .myclass { background:#ff0; border:1px solid #ff0 } #myid { width:80px;
The problem only happens on input[type=text] in Webkit. No matter what I do, there
I'm trying to style the dropdown arrow of a <select> element with CSS only
I want to style my custom scrollbar. I know this is possible with WebKit,
I'm trying to write Firefox stylish css ( full screen width style ) for
Here is my code: <%= Html.TextArea(txtMyTextArea, new { @style = width: 100%; height:100%, @resize=horizontal
Benefit Set: </label><br /> <%: Html.DropDownListFor(model => model.bvODSMapping.Benefit_Set, Model.BenefitSet,new {id=BSet, style = width:230px; })%>
I have a jQuery-based Style Switcher. Actually it's more like a Width Switcher since
This works great: <style type=text/css> div { width:100px; height:100px; background:red; transition:width 2s; -moz-transition:width 2s;

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.