【发布时间】:2014-02-12 10:43:48
【问题描述】:
我在下面有一个按钮:
<table align="center" width="50%">
<tr>
<td style="color: #212121;">
<div class="button">
<%= button_to "Search", {:class => "buttonhome" } %>
</div>
</td>
</tr>
</table>
我正在申请 buttonhome 类,即下面
.buttonhome
{
height: 100px;
width: 200px;
font-family: Arial;
background-color: transparent;
border-style: none;
font: white;
}
但它不适用于按钮。请建议我。等待回复。谢谢
【问题讨论】:
标签: ruby-on-rails