如何减小datalist中的行高 [英] How do i reduce the line height in datalist

查看:180
本文介绍了如何减小datalist中的行高的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所有人,在我的项目中,我从数据库获取超链接,因为我在asp.net中使用了数据主义者,但听到我想减少链接之间的行高,这样我就可以放置更多的链接,请帮忙我在做...事先感谢...





如有问候

D Ramu

解决方案

嗨Damu,



添加一个jquery并添加超链接的css属性,如下所示。



 


#ID)。css( line-height xx);





谢谢


Hii everyone, in my project iam getting the hyperlinks from database,for this i used datalist in asp.net,but hear i want reduce the line height between the links,so that i can place more no of links, please help me in doing thi....thanks in advance...


with regards
D Ramu

解决方案

Hi Damu,

Add a jquery and add the css property for the hyperlink as below.


("#ID").css("line-height","xx");



Thanks


这篇关于如何减小datalist中的行高的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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