Forum: Ruby on Rails Noob Question concerning code in Agile Web Development with

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
A73f446eaaf56db0aeaa578aa373989b?d=identicon&s=25 Terry Donaghe (Guest)
on 2006-01-18 00:15
(Received via mailing list)
Hi,

I'm currently learning Ruby on Rails using "Agile Web Development with
Rails."  I am using RadRails as my development environment.  Everything
has
been going along well, until the end of chapter 7.  Just before the end
of
the chapter, we set up our store pages so that they can be styled with
the
depot.css stylesheet.  This is where I run into my problem.  The
stylesheet
only seems to work partially.  The divs have been moved properly, but I
can
apply no other styles to the "side" div.  No matter what value I use for
the
"background" style it remains white, neither can I draw a border around
it.
Styles also do not work on the "main" div.  Styles seem to work fine for
the
"banner" div.

Perhaps someone who's been through this book has seen something similar?
Or
maybe it might ring a bell for someone else.

I'd really appreciate any clues you can throw my way.

Thanks!
6661ef9d747db3af8896cd94959d717d?d=identicon&s=25 Paul Barry (Guest)
on 2006-01-18 00:54
(Received via mailing list)
Not sure what your issue could be.  Have you tried downloading the code
for
the book and comparing it to your code?  It has to be something in the
HTML
or CSS, not rails.
A73f446eaaf56db0aeaa578aa373989b?d=identicon&s=25 Terry Donaghe (Guest)
on 2006-01-18 01:03
(Received via mailing list)
I'm only using the code downloaded from the book's website.  I agree
that it
shouldn't have anything to do with rails.  I was mainly interested in
finding out if anyone else had run into a similar problem.
E48d29dc8fedb2878fa518d41cc63d88?d=identicon&s=25 Jan Prill (Guest)
on 2006-01-18 01:39
(Received via mailing list)
Hi, Terry,

could you post the rendered page source and the css the page is loading.
sometimes a few more pairs of eyes will see the problem...

Regards
Jan Prill
Ac31d0d6453b50ad6fdfe16742273424?d=identicon&s=25 John McGrath (Guest)
on 2006-01-18 01:39
(Received via mailing list)
i went through the book last week and was able to change those styles,
including the side div color. perhaps it's a browser issue, or a typo,
like
a missing quote?

the errata for the book can be found here:
http://books.pragprog.com/titles/rails/errata


_______________________________________________

John McGrath
http://fryolator.com <http://fryolator.com/>
A73f446eaaf56db0aeaa578aa373989b?d=identicon&s=25 Terry Donaghe (Guest)
on 2006-01-18 01:42
(Received via mailing list)
Hi all,

Thanks for the help.  I must have had a typo in my .rhtml code.  I
copied
over the .rhtml code from the downloaded code and things are working
now.
Not only am I learning Ruby on Rails, I'm also trying to cram all this
html
and css in too.  My brain hurts!
This topic is locked and can not be replied to.