Comments

The problem with this solution is that your element only should be displayed block but in the case you have an inline element or a table cell it will fail, so this solution is a little bit more flexible: