ASP.net
Awesome
Learn
Forum
Buy
Demos
Sign In
☾
☀
Switch to
Dark
Light
Mode
this site works best with javascript enabled
Ask Question
Grids side by side
Title:
B
I
{code}
?
I have two grids that aren't very wide and I'd like to having them displayed on the view side by side, horizontally. How could I do that? I've made attempts using float:left but one of the grids will then show no rows.
Save Changes
Cancel
Sean Davidson
asked at 26 Oct 2021
wrapping them in divs with `float:left` and `max-width` should do it, if you it doesn't work you could show us the problem as shown here: https://www.aspnetawesome.com/learn/mvc/CommonProblems#Isolate-the-problem
at 26 Oct 2021
Omu
I'm not sure what I was doing wrong, but I have it working correctly now. Thanks!
at 26 Oct 2021
Sean Davidson
Answers
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