Tell us what’s happening:
Describe your issue in detail here.
I can’t get past the task “Center an Element Horizontally Using the margin Property” in the course Responsive Web Design. When I click “run the tests” it says “The div should have a margin set to auto.”, which means I am unable to get to the next exercise. I will include a screen shot of this.
**Your code so far**
<style>
div {
background-color: blue;
height: 100px;
width: 100px;
margin: auto;
}
</style>
<div></div>
**Your browser information:**
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.4 Safari/605.1.15
Challenge: Center an Element Horizontally Using the margin Property
Link to the challenge: