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

Source: Internet
Author: User

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


Today, I encountered a problem: the content in the drop-down box in the query bar is too long, and some of the content is overwritten.

I have queried some materials, some of which use function control, some of which use Event Control, some do not understand, and some are too complicated to implement. Later, I asked my colleague if there were some simple methods. He told me to add the title attribute in option. So I tried his methods and finally found that this method was feasible. In this way, I want to record it and avoid forgetting it.


1. The specific instance is as follows:

 Solution to incomplete display of select drop-down box in HTML          Letter:                  All           Aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa           Bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb           CCCCCCCCCCCCCCCCCCCCCCCCCCCCCC           Dddddddddddddddddddddddddddddddddddddd           Eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee           FFFFFFFFFFFFFFFFFFFFFFFFFFFFFF           GGGGGGGGGGGGGGGGGGGGGGGGGGGGGG           Hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh           Iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii          

2. instance results



3. Dynamic Data <喎?http: www.bkjia.com kf ware vc " target="_blank" class="keylink"> VcD4KPHA + PHByZSBjbGFzcz0 = "brush: java;"> Province: All $ {Area. areaName}




Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.