asp.net中的Dropdownlist垂直滚动条 [英] Dropdownlist vertical scrollbar in asp.net
本文介绍了asp.net中的Dropdownlist垂直滚动条的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
朋友们。
如果我们在下拉列表中添加更大的数据我想放置垂直条。
请帮帮我。
hi friends.
if we are adding larger data into dropdownlist i want to put the vertical bar.
please help me.
推荐答案
如果你的DropDownList周围有一个高度限制的父HTML元素,它会强制滚动条。
在父元素(例如Div)中溢出自动或滚动
溢出:auto会在内容被剪切时显示滚动条
溢出:即使没有剪辑内容,滚动也会显示滚动条
干杯,
Edo
If there would be a parent HTML element with a height limitation around your DropDownList it would force a scroll bar.
In the parent element (e.g. a Div) you overflow Auto or Scroll
overflow: auto will show a scrollbar when content is clipped
overflow: scroll will show a scrollbar even if no content is clipped
Cheers,
Edo
这篇关于asp.net中的Dropdownlist垂直滚动条的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文