Home > Web Front-end > HTML Tutorial > Is SELECT style customization a worldwide problem? Is there any better way? _html/css_WEB-ITnose

Is SELECT style customization a worldwide problem? Is there any better way? _html/css_WEB-ITnose

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-24 12:20:58
Original
1090 people have browsed it

I searched on Google for a long time yesterday. Although it is not very simple to customize the appearance of form elements such as radio buttons, multi-select buttons, text boxes and buttons, you can still get good results. But this SELECT is too difficult to make, and it is impossible to make it according to the effect I want. Even if it is made, there will be browser compatibility issues.


Reply to the discussion (solution)

Let’s write a JS plug-in to implement it. Select behaves differently in different browsers, so there is no good solution.

There are many such plug-ins on the Internet, you can try them out.

Use js to simulate a

Let’s write a JS plug-in to implement it. Select behaves differently in different browsers, so there is no good solution.

There are many such plug-ins on the Internet, you can try them out.

Use js to simulate one

The better ones I searched yesterday were all made with JS. I saw something that seemed to be done by putting the value into a hidden input.
But I have already written the HTML, and I have added JS to the SELECT. And I am not very familiar with JS, so I cannot modify the JS code at all. It's a lesson. If you want to be beautiful in the future, you must not use those form tags, at least until HTML5 becomes popular.


Let’s write a JS plug-in to implement it. Select behaves differently in different browsers, so there is no good solution.

There are many such plug-ins on the Internet. You can go look for it and give it a try.

Use js to simulate one

The better ones I searched yesterday were all made with JS. I saw something that seemed to be done by putting the value into a hidden input.
But I have already written the HTML, and I have added JS to the SELECT. And I am not very familiar with JS, so I cannot modify the JS code at all. It's a lesson. If you want to be beautiful in the future, you must not use those form tags, at least until HTML5 becomes popular.
I’m not sure whether form tags in HTML can be customized well. I posted a question:
http://bbs.csdn.net/topics/390449118

My post is for 50 points, and I usually post 20-point posts.

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template