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 trialKingsley 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?