I hope you don't mind my adding my 2 cents. First, kovidgoyal has made some very good suggestions. I would add that it wouldn't be a bad idea to use XHTML instead of regular HTML. This would be more standardized and structured and would allow you to use the markup in other ways (like epub), while still rendering in a web browser.
As to the suggestion to use percentages, also a very good idea. You can also use ems for the same reasons. Ems are sometimes easier and more intuitive when dealing with text size and positioning. In either case, definitely avoid using absolute units like pixels
Using logical font sizes is also a good suggestion. You don't want to limit the human reader to some font size that maybe you can read, but he/she can't. This is another case where using ems will work. For example, a header size specified in ems will scale up along with the base font when the reader increases the font size in their browser or viewer.
Last edited by jbenny; 11-07-2007 at 06:52 PM.
|