Solution to the problem that the content of the select drop-down box in HTML is not fully displayed and partially covered_HTML/Xhtml_Web page production

WBOY
Release: 2016-05-16 16:38:16
Original
1887 people have browsed it

Today, I encountered such a problem: the content in the drop-down box in the query column was too long, causing part of it to be covered.

I looked up some information, some said to use function control, some said to use event control, some couldn't understand, and some were too complicated to implement. Later, I asked my colleague if there was any simple method. He told me to add the title attribute to the option, so I tried his method and finally found that this method worked. In this way, I want to record it to prevent myself from forgetting.

1. The specific examples are as follows

Copy the code
The code is as follows:





Solution to the incomplete display of the select drop-down box content in HTML













Related labels:
source:php.cn
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