+ 1

Html

How to ident radio buttons and checkbox so that they have same indentation?! https://code.sololearn.com/W20hb01mPozh/?ref=app

28th Apr 2022, 8:22 PM
Mariam Khaled
5 Antworten
+ 1
Thank you
29th Apr 2022, 8:44 AM
Mariam Khaled
+ 1
input[type='radio']{ width: 100%; }
30th Apr 2022, 3:27 AM
Chris Coder
Chris Coder - avatar
0
It is postion of element I added the code
29th Apr 2022, 8:01 AM
Mariam Khaled
0
Mariam I have remove my comments to reset the post to "Unanswered" state. Please remove your comments also to make it happen ...
29th Apr 2022, 8:48 AM
Ipang
0
Mariam I can't anderestand completely your question, but I explain briefly about them: Activity: Actually its just important to know user can select only 1 item in one group of radio button, and more than 1 items in one group of checkbox! Html codes: In html, they are only different in "Type": type="radio" in radioButton and type="checkbox" in checkbox UI & CSS: As you see, they have their own special default appearance, but you can change their size, color, and behavier on mouse hover in CSS.
30th Apr 2022, 7:17 AM
Ne Gin
Ne Gin - avatar