When it comes right down to it, positioning is a very compelling technology. It's also likely to be an exercise in frustration if you're trying to get it to behave consistently in a cross-browser environment. The problem isn't so much that it won't work in some browsers: it's that it will only sort of work in a number of them, such as Navigator 4 and Internet Explorer 4 and 5. It can be great fun to play with positioning, and one day we'll be able to use it in place of tables and frames while dramatically improving accessibility and backward compatibility. As of this writing, though, it remains a great way to create design prototypes, but a tricky thing to use on a public web site. a small amount.</P></DIV>
There are two solutions. One is to set theline-height explicitly for every element, but thisis not a very practical approach, given that you may have a number ofelements that need such properties. The other possibility is to set aplain number instead, which actually sets ascaling factor:
As it happens, this sentiment may be applied to the majority of CSS2, which is given an overview in the next chapter.
In the meantime, however, here's the script: