Rob Biedenharn wrote:
> On Oct 16, 2009, at 2:52 PM, Sergio Ruiz wrote:
>> <div id="headerTop" style="background:url('images/header_bg.gif');
>> height:60px;">
>
> background:url('/images/header_bg.gif');
> Note the initial / to make the path from your document root absolute.
>
>
Yup. Also, never use the style attribute. Use a separate CSS file
instead.
Best,
--
Marnen Laibow-Koser
http://www.marnen.org
[email protected]
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---