下拉列表外观 [英] Dropdownlist Look

查看:89
本文介绍了下拉列表外观的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人可以告诉我如何在asp.net下拉列表中获得以下外观(平面外观)".





进入此下拉列表的数据是动态的(我的意思是来自数据库).

谢谢

Can anybody please tell me "How to Get the following type of look to asp.net dropdownlist (a Flat look)".





Data coming to this dropdownlist is Dynamic (I mean from DB).

Thanks

推荐答案

某些浏览器不允许您设置Select的样式,因此,如果您使用的是IE 6或不支持样式的浏览器,则需要使用divs创建ComboBox. .

http://articles.sitepoint.com/article/style-web-forms-css [ ^ ]

:thumbsup:

更新:上次错过了.
Some browsers does not allow you to style Select, so if you are in IE 6 or a browser that does not support style you need create your ComboBox using divs.

http://articles.sitepoint.com/article/style-web-forms-css[^]

:thumbsup:

Update : last s missed out.


你好,
我得到了答案,

使用
http://www.marghoobsuleman.com/ [ ^ ]

并从各个角度使图像变大2px.将适合下拉边缘.

最终的输出将是我刚才提到的样子,

谢谢.
Hello,
I got the answer,

Use
http://www.marghoobsuleman.com/[^]

and make the image 2px big from all side. that will be fit to dropdown edge.

and the final output will be look-a-like which i had mentioned,

Thanks.


这篇关于下拉列表外观的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆