I ran into an issue today with the way IE6 (uuuggghhh!) treats the button created by merb's delete_button helper. IE adds extraneous spaces above and below the form element that holds the button's input tag (discussed here - http://www.webdevelopersnotes.com/tips/html/removing_space_padding_from_form_tag.php3 ), which produces result that is inconsistent with other browsers.
It seems that the problem can be overcome fairly easily by applying a zero margin to the style on the form element. The problem is that the delete_button helper, as far as I can tell, doesn't provide any way to apply that attribute. Something like :style => 'margin: 0' gets applied to the inner submit input element, not the form as a whole, which is what is required. It's simple enough to create the button without the helper and apply the appropriate styling to the form element, though it's a bit annoying to have to take this route. Alternatively I could hack the helper, but I'm wondering if anyone has any other bright ideas. Mark. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "merb" 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/merb?hl=en -~----------~----~----~----~------~----~------~--~---
