Follow Along as I Stumble on the Path to Learning RoR

Aligning Image_Submit_Tag with form elements

To align the image and form element, try:

<%= image_submit_tag “image.jpg”, :style => “position:absolute”  %>

http://tech.gaeatimes.com/index.php/archive/how-to-perfectly-align-image-button-with-html-input-textbox/

Advertisements

Comments are closed.