I'm trying to put two divs side by side using the following code. Basically it works as you can see here :
div.keep-row-together {
overflow-x: hidden;
white-space: nowrap;
}
div.keep-row-together [class*="span"] {
display: inline-block;
float: none; /* - disabled as having issue in firefox */
}
But when I put a js grid into the right div the left div moves down (at least in Chrome and Firefox). Any idea what I have to change? Here is the plnkr .
添加到您的div
vertical-align: bottom;
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.