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 Layout Basics CSS Layout Project Creating and Styling the Layout Containers

guram dgebuadze
guram dgebuadze
Front End Web Development Techdegree Student 4,122 Points

h1 - margin.

I wrote in main css * { margin: 0;} but in normalize css there is determined h1 margin and this hadn't changed. is this ok? if yes, is this ok to have this kind of normalize css, because as i know it's better elements not to have margins and paddings determined to have full control.

3 Answers

I work in a big company, we always use css reset in our projects. It's really better way to star a new website.

That will affect on every child elements of h1.

Paul Walker
Paul Walker
28,904 Points

You can use the CSS reset before you even start to set up your CSS. According to Google search on what is normalize CSS, I get back this definition. "Normalize.css is a small CSS file that provides better cross-browser consistency in the default styling of HTML elements." I would then use a CSS reset before you begin to create your CSS. Take a look at how it looks like before you start working on your CSS. Hope that helps.