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 trialSherman Lackey
387 Pointsremoving margins
in this exercise: margin: none; or margin: o; does not clear the margins. I receive an error that only one margin is set to 0..do I have to use the marine-top: 0; etc to remove all of the margins? is there no global method to remove all margins with a single command?
3 Answers
Ahmed Samy
Courses Plus Student 1,101 PointsYes There is a WAY //margin:0; That's all what U need to Write and also for setting margins for ex: //margin:1px 2px 3px 4px;
Łukasz Czuliński
8,646 PointsAs Ahmed said, this should remove all margins:
element{
margin:0;
}
Can you post the question and your exact code? I see you typed the letter "o" by accident above. Perhaps you did that in the exercise too?
Ahmed Samy
Courses Plus Student 1,101 Pointsits 0 not O THERE IS a BIG Difference between the 2 Symbols