使用Struts 2水平对齐单选按钮

时间:2016-11-16 11:05:17

标签: html css jsp struts2

我正在使用Struts 2来构建我的表单。我必须水平显示单选按钮,但是我的代码会垂直显示。 这是我的代码:

<s:radio key="type" list="typeAboListe"></s:radio>

{ min-height: 20px; 
padding: 19px; 
margin-bottom: 20px; 
background-color: #f5f5f5; 
border: 1px solid #e3e3e3; 
-webkit-border-radius: 4px; 
-moz-border-radius: 4px; 
border-radius: 4px; 
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); 
-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); 
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); }

有任何解决方案吗?

0 个答案:

没有答案