i have to div one on the left and one on the right and i would love, when the screen is resized smaller to pushe the right one on top and not on the bottom as it is now..
This is the code :
<div class="row">
<div class="col-md-9 col-sm-8">
LEFT DIV
</div>
<div class="col-md-3 col-sm-4">
RIGHT DIV
</div>
</div>
Now the right div when i resize it goes on the bottom, but i woul love this to be on top!!
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
Member
327 Points
1770 Posts
Push right div bootstrap on top in stead of on the bottom
Jun 14, 2017 08:57 AM|grafic.web|LINK
Hi,
i have to div one on the left and one on the right and i would love, when the screen is resized smaller to pushe the right one on top and not on the bottom as it is now..
This is the code :
Now the right div when i resize it goes on the bottom, but i woul love this to be on top!!
How to do?
Thanks
All-Star
31362 Points
7055 Posts
Re: Push right div bootstrap on top in stead of on the bottom
Jun 14, 2017 09:35 AM|kaushalparik27|LINK
I feel as not a good solution, but it works with jQuery handling in resize event:
[KaushaL] Blog Twitter [MS MVP 2008 & 2009] [MCC 2011] [MVP Reconnect 2017]
Don't forget to click "Mark as Answer" on the post that helped you
Star
8670 Points
2882 Posts
Re: Push right div bootstrap on top in stead of on the bottom
Jun 15, 2017 07:20 AM|Cathy Zou|LINK
Hi grafic.web
Use column ordering to complete this.
Working example as below:
Output screenshot as below:
Best regard
Cathy
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.