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

推荐订阅源

让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
U
Unit 42
IT之家
IT之家
Y
Y Combinator Blog
T
Tailwind CSS Blog
B
Blog
大猫的无限游戏
大猫的无限游戏
博客园 - 叶小钗
Jina AI
Jina AI
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
I
InfoQ
J
Java Code Geeks
F
Fortinet All Blogs
T
The Blog of Author Tim Ferriss
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
H
Hackread – Cybersecurity News, Data Breaches, AI and More
人人都是产品经理
人人都是产品经理
腾讯CDC
Hugging Face - Blog
Hugging Face - Blog
GbyAI
GbyAI
博客园 - 司徒正美
The GitHub Blog
The GitHub Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
L
LangChain Blog

博客园 - 天生舞男

多个平均数列的子查询 迁移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冲突