January 18, 2005

Test CSS : Line Height 0

At our last meeting, we talked about the line-height property, and we played with setting it to a value of 0em. Ken Taylor sent me this page on Test CSS : Line Height 0. It is a nice example of using CSS to create a stylish look using nothing more than simple HTML text and CSS. Ken says that this works fine in IE & Firefox, but "2005" is higher in Opera causing it to be a bit off.

Try it yourself in different browsers with different settings.

No comments: