# Ror css

**URL:** <https://www.ruby-forum.com/t/ror-css/94054>\
**Category:** Rails\
**Created:** [April 19, 2006, 11:43am UTC](https://www.ruby-forum.com/t/ror-css/94054 "2006-04-19T11:43:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![scott](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/3e96dc/32.png) [@scott](https://www.ruby-forum.com/u/scott)\
**Post date:** [April 19, 2006, 11:43am UTC](https://www.ruby-forum.com/t/ror-css/94054/1 "2006-04-19T11:43:32Z")

</div>

Hi

pretty new to this ROR stuff, ive just created my first simple plication  
using scaffold, was just wondering if anyone knows of any good tutorials  
on how to screate custom css stylesheets for these pages.

also whats the best way to go about adding a footer / header html images  
to all pages

Thanks  
scott

---

<div class="post-metadata">

**Author:** ![scott](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/3e96dc/32.png) [@scott](https://www.ruby-forum.com/u/scott)\
**Post date:** [April 19, 2006, 12:19pm UTC](https://www.ruby-forum.com/t/ror-css/94054/2 "2006-04-19T12:19:56Z")

</div>

On 19 Apr 2006, at 11:43, scott wrote:

> Hi
> 
> pretty new to this ROR stuff, ive just created my first simple  
> plication  
> using scaffold, was just wondering if anyone knows of any good  
> tutorials  
> on how to screate custom css stylesheets for these pages.

There are quite a few books on this subject and I have my favorite  
three (in order of preference):  
? CSS Mastery ([http://www.cssmastery.com/](http://www.cssmastery.com/)), review can be found here:  
[Parameter: Design, Technology & Productivity Blog](http://www.cssbeauty.com/archives/2006/April/)  
css\_mastery\_advanced\_web\_standards\_solutions\_solutions\_review/  
? The Zen of CSS Design  
? Bulletproof Web Design

> also whats the best way to go about adding a footer / header html  
> images  
> to all pages

You can use the layout folder for this. It’s explained in the Agile  
Web D. book.

---

<div class="post-metadata">

**Author:** ![scott](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/3e96dc/32.png) [@scott](https://www.ruby-forum.com/u/scott)\
**Post date:** [April 19, 2006, 12:30pm UTC](https://www.ruby-forum.com/t/ror-css/94054/3 "2006-04-19T12:30:29Z")

</div>

> There are quite a few books on this subject and I have my favorite  
> three (in order of preference):  
> ï¿½ CSS Mastery ([http://www.cssmastery.com/](http://www.cssmastery.com/)), review can be found here:  
> [Parameter: Design, Technology & Productivity Blog](http://www.cssbeauty.com/archives/2006/April/)  
> css\_mastery\_advanced\_web\_standards\_solutions\_solutions\_review/  
> ï¿½ The Zen of CSS Design  
> ï¿½ Bulletproof Web Design
> 
> > also whats the best way to go about adding a footer / header html  
> > images  
> > to all pages
> 
> You can use the layout folder for this. It’s explained in the Agile  
> Web D. book.

thanks for the links, will take a look at these and maybe get some.

In the mean time has anyone got any quick suggestions to get me going,  
am I right in thinking placing a file scaffold.css in  
public/stylesheets/ should automatically link in?

---

<div class="post-metadata">

**Author:** ![scott](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/3e96dc/32.png) [@scott](https://www.ruby-forum.com/u/scott)\
**Post date:** [April 19, 2006, 12:47pm UTC](https://www.ruby-forum.com/t/ror-css/94054/4 "2006-04-19T12:47:56Z")

</div>

On 19 Apr 2006, at 12:30, scott wrote:

> > 
> 
> am I right in thinking placing a file scaffold.css in  
> public/stylesheets/ should automatically link in?

If you have a stylesheet tag in your layout file (rhtml), yes. If you  
like to learn by example, you could look at the css files at http://  
[www.csszengarden.com/](http://www.csszengarden.com/) The site shows you how the same HTML can be  
rendered in any style using CSS both for formatting and positioning.

Best regards

Peter De Berdt
