In ruby on rails i try to force the from_tag to have a margin of 0 but
it doesn't seem to work. Forms always seem to have a margin inside a
table.

<td><% form_remote_tag :url => {:controller => "sgpanel", :action =>
"remove_from_cart", :id => product.id,:ad => product.sguser_id, :class
=> "formnomargin"} do %>
<%= submit_tag "Remove item" , :class => "medium" %>

input.formnomargin
{
padding:0;
vertical-align: bottom;
margin:0;
}

input.medium
{
font-size:12px;
width:85px;
padding:0;
vertical-align: bottom;
margin-bottom:0;
}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to