You might be interested in this snippet of code I saw somewhere and use in all my Rails apps.
ActionView::Base.field_error_proc = Proc.new do |html_tag, instance| "<span class="error">#{html_tag}<
/span>"
end
That fieldWithError div [a block element] around bad form fields can really wreck a layout sometimes. An aptly named span works just as well.
RSL