On Fri, Oct 23, 2009 at 1:21 PM, Robert Walker
<[email protected]> wrote:

>>> <%= f.label "Amount $" -%>
>>> <%= f.text_field :amount -%>

> Wait... Do you mean that you're getting a unwanted line break in the
> HTML source, or on the rendered web page? <%= -%> will prevent line
> break characters in the underlying HTML source code, but that line break
> character should not generate a new line in the rendered HTML. That
> should require a <br /> tag.

...or the LABEL or TEXTAREA (or both) being declared as a block
element in the CSS.

-- 
Hassan Schroeder ------------------------ [email protected]
twitter: @hassan

--~--~---------~--~----~------------~-------~--~----~
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