Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Kingsley Felix
8,591 Pointsnumber of classes
Hello;
How many number of classes are we allowed to use? this below class is not floating the image to the right or left.
class="mb-1 img-fluid rounded float-right"
2 Answers

Sergey Podgornyy
20,660 PointsHi there Kingsley!
As Lee Torson said before, you can use as many classes as you want. But in this situation you have css rule which prevent or even interrupts float-right class displaying proper behavior. Can you show your css and full html element for this part of markup. Or you can give a link to your workspace.
Best regards!

Kingsley Felix
8,591 Pointsits nothing really, was just testing, maybe when i start practicing offline

Kingsley Felix
8,591 PointsI am using Bootstrap 4
Lee Torson
8,694 PointsLee Torson
8,694 PointsUnlike ID's, You can have as many classes as you desire. Have you set the selected class in the styling to float however which direction you want?