I'm using the <table>
tag to format some text into rows and columns, but I don't want the rows to alternate colors. For some reason this is happening automatically and I don't know how to turn it off.
Here is my HTML:
<table class="homepage" summary "list of dplans">
<div class="options">
<ul>
<% @dplans.each do |dplan| %>
<tr class ='' "list">
<td class="button"><%='' link_to dplan.name, dplan %></td>
<td class="button">
<%='' link_to "edit name", edit_dplan_path(dplan )%>
</td>
<td class="button"><%='' link_to "delete", '#'%></td>
</tr>
<% end %>
</ul>
</div>
</table>
And here is my css:
td.button {
font-size: 16px;
list-style: none;
}
background-color: transparent;
in yourtd
selector.