html - Is there a way to make divs the height of the line -
I have several divs on the same line. I have the width of the divi but there is no clear height They derive their height from the amount of text they are involved in Divs, there is a lot more text than another, but I would like them all the same height. For example, in Bella, I would prefer Box 1, 2, 3 and 5 without adding any additional elements or using hard-coded height height like box 4 and work it back on IE8. Is this possible?
Maybe something like this:
Altitude: Line-height; / * I know this is not a real asset * /
Change the display: From inline block
to < Code> Display: Table-cell :
And if you need to be fiddle with the distance between cells, then you Apply them to the container and border-spacing:
Comments
Post a Comment