I tried a different approach using positioning rather than line-spacing. This is the correct way to do it. It resolves problems between browsers.
In this example, I used predefined font-size rather than points so that in IE it changes if you change text size. If I used points it would always be the same size (except in Opera where it is Zoom rather than Text).
The Philadelphia Area Computer Society CSS Workshop started with the basics of cascading style sheets and will continue as long as there is interest and we have something new to learn.
February 12, 2005
Another example of using line-height
Member Ken Taylor forwarded another interesting example of using line-height. As Ken explains,
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment