CSS and default fonts
Hi folks.
If I don't specify font for say paragraphs in CSS, the default is used which in Windows most of the times == Times New Roman. Is not specifying font == specifying it as "serif"? So Code:
p { Code:
p { Or specifying "serif" at the end makes a difference? |
Quote:
|
Specifying no font used the browser default, not the system default. The browser will try and sue the font's named starting at the left and moving to the right as it doesn't find the font named. If it doesn't find any of the fonts named in the list it uses the browser default.
In your example 1, the browser would try and use georgia. If it didn't find georgia it would use the main browser default. In your example 2, the browser would try and use georgia. If it didn't find georgia it would use whatever the browser default for serif fonts is set to. Note the difference in the default behaviour. |
Thanks, I got it now.
|
All times are GMT -5. The time now is 07:07 PM. |