开发者

using CSS extend div heights of all divs in a row as content adds in one single row

开发者 https://www.devze.com 2023-01-09 07:28 出处:网络
I\'ve 3 divs as columns in a single row using CSS float left attribute and I want to increase the heights of all the columns as content adds up in any column so that the height of all the 3 开发者_如何

I've 3 divs as columns in a single row using CSS float left attribute and I want to increase the heights of all the columns as content adds up in any column so that the height of all the 3 开发者_如何学编程columns remains relative to the initial height. How should I do that?? (I'm using 960 CSS grid)


give the container a defined height (i think the classname is container_12 or container_16) and set the grid class you're using to height:100%;display:block;.

0

精彩评论

暂无评论...
验证码 换一张
取 消