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 Basics (2014) Basic Layout Floats

Aitor Laskurain
Aitor Laskurain
1,160 Points

Problems with float left right

Hi, It seems I´m also experiencing problems with float. I did manage to make size of both divs 46.5% but for some reason I´m not able to put them on the left and right side.

/* Floated columns ------------------ */

.resorts, .tips { width:46.5%;

.tips { float: right; }

.resorts { float: left; }

Any suggestion? Thanks!

Aitor Laskurain
Aitor Laskurain
1,160 Points

Ok, now that I posted my comment I realized of my mistake...

1 Answer

Steven Parker
Steven Parker
231,275 Points

Congratulations on resolving your own issue! :+1:

For the benefit of other students reading this, the issue was caused by the first rule missing a closing brace (}).