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!
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
Jordan Howlett
8,854 PointsNegative Margins in CSS
If I used 49% instead f a negative margin will this create any adverse effects? It seems to work fine in IE, Mozilla, and Chrome.
1 Answer

David Moore
14,324 PointsA margin of 49% is a positive margin based on the width of the element.
Jordan Howlett
8,854 PointsJordan Howlett
8,854 PointsWasn't clear i meant {display: inline-block; width: 49%} instead of {display:inline-block; width: 50%; margin-right: -5px;}