Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Styling <select>&<option> tags

Featured Replies

You can style input and select boxes with CSS just like any other element.

Here are some examples

http://www.456bereas..._form_controls/

http://gutfeldt.ch/m...orms/index.html

input { background: red; }
select { border: 1px solid black; }

Edited by Wickham

  • Author

Yes, beacause I can't style it enough (only partially). So, are you able style the option & select tags, how it's for example on deviantart? If yes, please send a code here. Because everything what i found be solved by DIVs and SPANs.

There isn't a way to style pulldowns consistently across browsers and platforms. There will always be slight differences, especially when you get to OSX/mobile devices.

 

You'll have to do some kind of replacement like:

http://harvesthq.github.com/chosen/

 

Or just deal with the differences in the native controls. It's a huge pain to redesign them (and if you mess it up your users will hate you) but it's worth it if you can provide an excellent user experience across all devices.

  • Author

yes, porkchops understand me. Thanks for great alternative!

Or just deal with the differences in the native controls. It's a huge pain to redesign them (and if you mess it up your users will hate you) but it's worth it if you can provide an excellent user experience across all devices.

 

Embrace the differences! In trying to provide a consistent user experience across all browsers, be aware that you are also breaking the consistent user experience provided by users browser of choice. Think very carefully before doing this, and be very careful about how you do it. As Porkchops rightly points out, do it wrong and your users will hate you for it.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.