CSS Selectors, Properties and Values - HTML Dog: "Note
It is a sad fact that the world is full of anally retentive designers who want a web page to look EXACTLY as they have designed it - down to the pixel.
A good HTMLer will be able to take a static design and get a very good likeness of it in code, but the HTMLer should also be able to apply relative values rather than absolute values.
A web page is not a static, absolute medium. It is meant to be flexible and the user should be allowed to view the web page how the hell they like, which includes the font size AND the size of the screen.
'em' or '%' are the best units to use for font-sizes (and heights and widths, which we shall come across in the CSS Advanced Guide) and 'px' should be used sparingly, for border sizes for example."

Commenti

Post più popolari