Thursday, August 19, 2010

Image submit tag without border

Hi, I used image_submit_tag to submit my form. worked fine.. but the
image is displayed with border.

I used border => 0 but no use.

This is was code.

<%= image_submit_tag "../images/upload.png", :border => 0 %>

& This worked

<%= image_submit_tag "../images/upload.png", :style => "border: none;" %>

-
Sri

No comments: