单选按钮对齐 [英] Radio Button alignment

查看:100
本文介绍了单选按钮对齐的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

<tr style="background-color: #ECF6CE;">
                    <td width="150px">
                        <asp:RadioButton ID="RBQue1" runat="server" TextAlign="Left" GroupName="que1" Text="(1/3)" />
                    </td>
                    <td width="150px">
                        <asp:RadioButton ID="RBQue2" runat="server" GroupName="que1" Text="(1/8)" />
                    </td>
                </tr>



这是我在asp中的单选按钮。网页。我想要那个按钮旁边的单选按钮文字。请帮帮我。


this is my radio buttons in asp.net page. I want radio button text besides that button. please help me.

推荐答案

<tr style="background-color: #ECF6CE;">
                    <td width="150px">
                        <asp:radiobutton id="RBQue1" runat="server" textalign="Left" groupname="que1" text="(1/3)" xmlns:asp="#unknown" />
                    </td>
                    <td width="150px">
                        <asp:radiobutton id="RBQue2" runat="server" groupname="que1" text="(1/8)" xmlns:asp="#unknown" />
                    </td>
                </tr>


使用 textalign 左侧单选按钮的属性。
use the textalign propery of the radio button on the left.


这篇关于单选按钮对齐的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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