Topic: Scaffold CSS to make multiple columns
Hi Everyone,
I built a scaffold and I'm having trouble getting results properly formatted. I'm not sure if the problem lies in scaffold.css, layout/books.rhtml, or the books/index.rhtml.erb Anyways, here is the default scaffold view:
Title Abstract
Book One Book One Abstract Show Edit Destroy
Book Two Book Two Abstract Show Edit Destroy
Book Three Book Three Abstract Show Edit Destroy
-------------------------------------------------------------------
I've tried editing scaffold.css, layouts/books.rhtml.erb, and books/index.rhtml.erb but can only achieve this result:
Book One
Book One Abstract
Show Edit Destroy
Book Two
Book Two Abstract
Show Edit Destroy
Book Three
Booth Three Abstract
Show Edit Destroy
-------------------------------------------------------------------
This is the view I would like to see:
Book One Book Two Book Three
Book One Abstract Book Two Abstract Book Three Abstract
Show Edit Destroy Show Edit Destroy Show Edit Destroy
Does the problem lie elsewhere? Perhaps in books_controller.rb? Thanks for your help!