html - CSS Attribute selection not working in safari -


quick question. i've tried search, not find anything. because use wrong keywords search.

anyways, problem:

i'm hiding elements on webpage using css this:

.selectbox option[value='6']{     display:none; } 

works fine on windows pc, safari v8.0.6 on mac not use css. there workarounds? add new class , hide based on class, using either 'value' or 'label' attribute

fiddle: https://jsfiddle.net/qdsq5v70/

as far know short answer no, it's not possible using css, safari doesn't allow styling options, select container (styling option value in select drop down html not work on chrome & safari)

but can remove , add options using javascript (of course know already)


Comments

Popular posts from this blog

How to provide Authorization & Authentication using Asp.net, C#? -

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

How to use Authorization & Authentication in Asp.net, C#? -