Topic: Can't get CSS to link

I know I'm missing somthing simple here.

I have a style sheet called style.css which is saved in my public folder

In my layout I have <%= stylesheet_link_tag "style" %>

Part of my style sheet is

div #header {
    text-align: center;
}

and in my layout

<div id="header">
<h3>
Letter Request System
</h3>
</div>


The style is not applied.  Help!

Re: Can't get CSS to link

get rid of the space

div#header

Like if you had used a class selector instead of id, you'd have

div.header

with no space. Same thing applies to id selectors.

Re: Can't get CSS to link

Told you it was simple!!! smile

Cheers!