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

HTML How to Make a Website Creating HTML Content Include External CSS

Keith Corona
Keith Corona
9,553 Points

Using normalize.css when creating one's own website

Is the normalize.css file downloaded something that we should hang onto to continue using in outside work when building our own websites or does it change dependent on our needs for each individual project?

If you know that a potential customer/viewer of the website might be using some clunky old version of IE then I would say add the file in. Adding the file in will not hurt the load times of your html document it takes milliseconds to fetch a css file. So if you’re worried about milliseconds then I would leave it out.

5 Answers

Kevin Korte
Kevin Korte
28,149 Points

I would not hold on to and reuse the same file over and over. Each time you start a new project, I'd go to the normalize website and fetch the latest release. Browsers, and specs change over time. Normalize will be updated to reflect those changes.

Alan McClenaghan
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Alan McClenaghan
Full Stack JavaScript Techdegree Graduate 56,501 Points

That's great, thanks! It will be very useful. As I was working through my track, I came across the very useful function of linking to google fonts. This made me think if it was actually possible to include an absolute link to the normalize.css file on the normalise website rather than a relative link to the website you are designing. That way the file would always be up-to-date rather than needing to updated regularly for every website. Is this practical or is it just asking for unforeseen problems to crop up?

I would advise that for every project you use normalize.css or some other type of CSS reset. You can customize the file as you wish, but it's a very good tool to use so you don't to worry about too much browser conflicts when styling.

Keith Corona
Keith Corona
9,553 Points

thank you both, very helpful

so you mean that normalize.css is very common for WEb designer if they want to create a new WEB?

Most designers I know including myself also will include normalize.css into the CSS stack and include it in nearly every project.

OK THX FOR THE SUGGESTION