惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

J
Java Code Geeks
F
Fortinet All Blogs
云风的 BLOG
云风的 BLOG
MyScale Blog
MyScale Blog
D
DataBreaches.Net
Stack Overflow Blog
Stack Overflow Blog
A
About on SuperTechFans
Google DeepMind News
Google DeepMind News
Microsoft Security Blog
Microsoft Security Blog
腾讯CDC
The GitHub Blog
The GitHub Blog
Jina AI
Jina AI
B
Blog RSS Feed
I
InfoQ
N
Netflix TechBlog - Medium
T
The Blog of Author Tim Ferriss
Microsoft Azure Blog
Microsoft Azure Blog
Recent Announcements
Recent Announcements
GbyAI
GbyAI
H
Help Net Security
L
LangChain Blog
M
MIT News - Artificial intelligence
Y
Y Combinator Blog
aimingoo的专栏
aimingoo的专栏

博客园 - 天生舞男

多个平均数列的子查询 迁移sharepoint Sharepoint迁移数据库之绝版(只要照着做,一定能够迁移成功) Sharepoint的webpart 虚函数和非虚函数的调用基本原则 The visio to drawing project chart. - 天生舞男 Using MSChart from a C# WinForm About the deeply copy 学习程序的自我建议---从实际软件的源代码开始学习 MS bug "The connection pool" in Oracle 10g and the data sort according to specified filed on DataGrid control. How to get response content with specified post data by post method Post method tip automation服务器不能创建对象 Get the biggest common divisor rose破解 ArrayList按Index删除的问题 Recently expection resolve problem best method is find document from official document 看了宝玉的作品,心理甚是感叹
RadioButtonList中选择框和文字对不齐的解决办法
天生舞男 · 2006-01-25 · via 博客园 - 天生舞男

Posted on 2006-01-25 10:33  天生舞男  阅读(1546)  评论()    收藏  举报

开始的时候:

<asp:radiobuttonlist id="rblPriority" runat="server" Width="88px" Height="40px">
              <asp:ListItem Value="普通" Selected="True>普通<asp:ListItem>
              <asp:ListItem Value="优先">优先</asp:ListItem>
 </asp:radiobuttonlist>
效果是选择框和文字对不齐
修改以后
<asp:radiobuttonlist id="rblPriority" runat="server" Width="88px" Height="40px">
              <asp:ListItem Value="普通" Selected="True">&lt;span style='vertical-align:middle'&gt;普通&lt;/span&gt;</asp:ListItem>
              <asp:ListItem Value="优先">&lt;span style='vertical-align:middle'&gt;优先&lt;/span&gt;</asp:ListItem>
             </asp:radiobuttonlist>
把<变成&lt;是因为不和web controlf冲突