ASP.net
Awesome
Learn
Forum
Buy
Demos
Sign In
☾
☀
Switch to
Dark
Light
Mode
this site works best with javascript enabled
Ask Question
position elements side by side
Title:
B
I
{code}
?
Is there a way to have EditorFor controls positioned side by side in a popup form? I have a form that's going to have a box with 16 checkboxes in it and I'd like to have the checkboxes and their labels be oriented as if in a table that's 4 columns wide by 4 rows high instead of 16 checkboxes and labels down the left side of the view.
Save Changes
Cancel
Sean Davidson
asked at 14 Dec 2021
Answers
B
I
{code}
?
there are various ways to position elements in css, either via `float`, `flex`, or `display: inline-block;` it doesn't matter that it is inside the popup, this should help: https://www.w3schools.com/css/css_inline-block.asp https://www.w3schools.com/cssref/css3_pr_flex.asp
Save Changes
Cancel
Omu
answered at 14 Dec 2021
please
Sign In
to leave an answer
By accessing this site, you agree to store cookies on your device and disclose information in accordance with our
cookie policy
and
privacy policy
.
OK