What Isaac said, but you'd also be well served to learn how to use the
development tools in your browser of choice.

In Chrome, hit Option (Ctrl for Win?) + Cmd + i  to show the development
tools. Then click on the header that says Console and reload the browser.
You'll see any errors reported in the console window.

Good luck!


On Thu, Apr 25, 2013 at 1:30 PM, Isaac Schlueter <[email protected]> wrote:

> I'm not familiar with the book.
>
> What do you get when you point your web browser at
> `/stylesheets/style.css`?  (Or better yet, use `curl -v` on the
> command line to see exactly what's going in both directions.)
>
> On Thu, Apr 25, 2013 at 11:21 AM, Foxpro <[email protected]> wrote:
> > Hi,
> >
> > Just wondering if there is a trick to this.
> >
> > Trying to get stylesheets to work.  Reading the book Sams Teach Yourself
> > Node.js in 24 hours.
> >
> > Thanks,
> >
> > I am on Chapter 08.
> >
> > I placed the stylesheet in public\stylesheets\
> > The program uses MongoDB and Jade.
> >
> > // Here is the layout.jade file
> > !!
> > html
> >   head
> >     title= title
> >     link(rel='stylesheet', href='/stylesheets/style.css')
> >   body
> >     section.container!= body
> >
> >
> > // Here is the style.css file in public/stylesheets/ folder
> > body
> > {
> > background-color:#d0e4fe;
> > }
> > h1
> > {
> > color:orange;
> > text-align:center;
> > }
> > p
> > {
> > font-family:"Times New Roman";
> > font-size:20px;
> > }
> >
> > --
> > --
> > Job Board: http://jobs.nodejs.org/
> > Posting guidelines:
> > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> > You received this message because you are subscribed to the Google
> > Groups "nodejs" 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/nodejs?hl=en?hl=en
> >
> > ---
> > You received this message because you are subscribed to the Google Groups
> > "nodejs" group.
> > To unsubscribe from this group and stop receiving emails from it, send an
> > email to [email protected].
> > For more options, visit https://groups.google.com/groups/opt_out.
> >
> >
>
> --
> --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" 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/nodejs?hl=en?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "nodejs" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" 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/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to