Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

CSS CSS Layout Basics CSS Layout Project Creating and Styling the Layout Containers

guram dgebuadze
seal-mask
.a{fill-rule:evenodd;}techdegree
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.