I'm wondering how I can add vertical white-space to a blueprint div.

Setting the width with blueprint is easy with just adding the css class: append-x which adds empty columns

I'm searching for an equivalent to add some height to my div, since the height of the div is always set to the height of the content I have in the div.

2 answers


vertical padding will increase div height to be bigger than the content, or set a min-height for it. or add a vertical margin to it.

or have you tried all these and nothing happens?

in which case you may need to clear any floats contained inside.

a test case or url to your code would help with more sensible answers.

Answered about 7 years ago by Tony Crockford

Oh no these do work, I was just searching for a blueprint inbuild way to do it. But probably there is nothing build-in.

Answered about 7 years ago by Thomas K