asp.net RadioButtonList大小调整 [英] asp.net RadioButtonList sizing

查看:360
本文介绍了asp.net RadioButtonList大小调整的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用vs2012我遇到了RadioButtonLis的问题。它总是显得宽阔。没有任何css和样式属性的控件布局是200 px但它在crome上看起来要大得多,或者10



Using vs2012 I have issue with RadioButtonLis. It's always appears to wide. There no any css and style properties of the control layout is 200 px but it's appear much bigger on crome or ie 10

<asp:RadioButtonList ID="RadioButtonListPhoto" runat="server" RepeatDirection="Horizontal" Width="200px" >
        <asp:ListItem >Photo 1</asp:ListItem>
        <asp:ListItem>Photo 2</asp:ListItem>
        <asp:ListItem>Photo 3</asp:ListItem>
        <asp:ListItem>Photo 4</asp:ListItem>
        <asp:ListItem>Photo 5</asp:ListItem>
        <asp:ListItem>Photo 6</asp:ListItem>
        <asp:ListItem>Photo 7</asp:ListItem>
        <asp:ListItem>Photo 8</asp:ListItem>
    </asp:RadioButtonList>





有什么建议吗?



Any suggestions ?

推荐答案

CellPadding: The amount of pixels between the border and the contents of the table cell  
CellSpacing :The amount of pixels between table cells







你可以使用这些属性




you can use these properties


这篇关于asp.net RadioButtonList大小调整的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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