How to make a div show a whole number of lines?

separate question:
Anybody know a programatic way to prevent something like this from happening?

The hight of the div varies, depending on whether the title above it is 1 or 2 lines.

either I’ll force the hight to be the nearest number devidable by the line height. And then make a override.
Yeah, that’s probably it, unless someone got a better idea.