I added to .css file this
background: /images/darkKnight_wide.jpg
aaand it doesn't work.
My problem with css is that it is not part of the source code, so I cant
take a look, where in the code is it built in. You may say that it is
obvious, but I'm saying I don't trust obvious, I trust my eyes. I'm sorry on
this one, but I really don't believe that .css is worthed, but if you'll be
so kind and advice me, how background in css works, I'll be really glad.

"Did you restart your server? What's `view source` show you as the
path? Are you using a tool like Firebug to examine why the request
isn't working?"
Restart I did indeed.
What is `view source` and Firebug I don't know
...and I don't want to create new google. I just want it to be simple and
work, please.

"You might want to play around with some static HTML pages a bit to
get a better feel for how HTML and CSS work..."
I'd say thats exactly what I'm doing last few days despite what I wanted to
do...




2010/7/24 Hassan Schroeder <[email protected]>

> On Sat, Jul 24, 2010 at 10:11 AM, Jan Kadera <[email protected]>
> wrote:
>
> >  <body background=<%= image_tag "darkKnight_wide.jpg" %>>
>
> The background attribute is deprecated -- you should really use CSS
> for this.
>
> > but since my mistake I moved pictures to the images dir...but this still
> > doesn't work :(
>
> Did you restart your server? What's `view source` show you as the
> path? Are you using a tool like Firebug to examine why the request
> isn't working?
>
> > And abou studiing html and css...I did, but I do not understand to
> articles
> > about this stuff, so I learn stuff I need to do and I'm learning it
> > backwards, it works for me.
>
> If you say so   :-)
>
> You might want to play around with some static HTML pages a bit to
> get a better feel for how HTML and CSS work...
>
> FWIW,
> --
> 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]<rubyonrails-talk%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>

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