Previous | Next
Full View
Contents of Font Size - Sample Code
Font Size - Sample Code
- You should always use percentages to determine font size or any measurement. this lets the content adjust itself relative to the viewing area.
- font-size: x% [where 80% would put the size at 80% of the default size]. If you feel that you absolutely have to set a size in the CSS file, then use the following coding. Avoid pixel and point sizes whenever possible.
- font-size: xx-small
- font-size: x-small
- font-size: small
- font-size: medium
- font-size: large
- font-size: x-large
- font-size: xx-large
Copyright Karen McCall, Karlen Communications
23