My CSS file doesn't touch the tag 'select' at all, also no CSS classes are related to the tag 'select'. But when showing in browser, the dropdown box which contains values are shown at the wrong place, as in the screenshot below:
Why is it so? Or is it a bug of Chrome? 'cause as I know we can't change this kind of dropdown box position neither by CSS nor JS. I want it back to the normal place just right below the SELECT element!!!
这是上述“select”标签的 HTML 部分:
<select id="sel_user">
<option value="39" >Bùi Ngọc Sơn <[email protected] /cdn-cgi/l/email-protection></option>
<option value="19" >Cao Thanh Hải <[email protected] /cdn-cgi/l/email-protection></option>
<option value="15" >Cao Thanh Thảo <[email protected] /cdn-cgi/l/email-protection></option>
<option value="72" >Cao Thị Lan Anh <anh[email protected] /cdn-cgi/l/email-protection></option>
...
</select>
select标签的id仅用于JS,它不与任何CSS项链接。
我不明白......我尝试了你的选择列表,但它运行得很好。
您的选择列表可以在其他浏览器中运行吗?
我认为您的 HTML 代码中有一些错误。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)