Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS CSS Foundations Getting Started with CSS Adding CSS to a Page

My css is not showing up on the web page.

my css is not showing up on the webpage.

Ricky Catron
Ricky Catron
13,023 Points

Can you post your html code?

1 Answer

Andres Altuve
Andres Altuve
16,274 Points

Inside the head tag write the following line. (Look at the bottom)

Remember to paste the same line of code in every page you have..

Right now is saying yourstyle.css is inside of a folder called CSS if you have your style in other folder change th e CSS for the name of your folder, if you have it in the root of your site remove CSS and the /

Hope it helps.

            <head>
<link rel="stylesheet"  type="text/css" href="css/yourstyle.css">
</head>
            ```