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
znzlcrstkk
Front End Web Development Techdegree Graduate 28,511 PointsHow to set checkbox and radio buttons to inline
Hello, right now I work on project 3, and the issue is that input and label is set to display:block, and further in my code I need to add radio, checkbox, to inline, I dont know how to do it.
2 Answers

Parth Gada
8,484 PointsSo, here's what you can do, Keep the position relative to the object by command position: relative; and display it using command, display: flexbox OR display: inline;

znzlcrstkk
Front End Web Development Techdegree Graduate 28,511 Pointsthank you Parth for your answer, but I solved by myself what was wrong, I needed to set selectors to display:inline, and then use flex-basis
znzlcrstkk
Front End Web Development Techdegree Graduate 28,511 Pointsznzlcrstkk
Front End Web Development Techdegree Graduate 28,511 PointsI did it I just used the position:relative and flexbox