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
Brian Njenga
3,973 PointsIssues with linking normalize.css reset with my index.html page
I am having problems linking the noumalize.css reset template i downloaded with my index.html page. I have followed the steps the instructor outlined to no avail. I used the link element in the following snippet '''html <link rel = "stylesheet" type = "text/css" href = "css/normalize.css"> ''' The first css in the href value is the folder i placed the reset. i have other css stylesheets in it all of which are working flawlessly.
1 Answer
Petter Östergren
6,920 PointsHi Brian
Not sure that I understood your question correctly but all give it a try.
First of is your folder structure laid out like:
project
index.html
css(folder)
normalize.css
main.css
If this is the case you should be able to just link to your CSS sheets within the <head> tag as follows:
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/main.css">
One important note is that you need to place your normalized.css in the top of the CSS stack. In order to be able to overwrite properties within your main.css sheet.
Hope it will work out.
Brian Njenga
3,973 PointsBrian Njenga
3,973 Pointsthank you