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 Techniques Display Modes Column Layout with Inline-Block

melissa brown
melissa brown
4,670 Points

3 columns spacing to the right of the page

hi i am playing around with the columns. ive have add an extra column but i have small spacing to the right of the page. how do i make the columns cover the page evenly or center them?

float the columns and reduce margins if necessary

1 Answer

Dominik Sikiric
Dominik Sikiric
2,059 Points

every browser has his own "defaults" properties, like margin for example, so maybe that causing the problem for you. Try to "restore" those properties by adding body {margins:0px;} to it, maybe that causing that little margin