| ID | KIC000556 | Creation date | January 25, 2007 |
| Platform | Series 40 1st Edition Series 40 2nd Edition Series 40 3rd Edition S60 1st Edition S60 2nd Edition S60 3rd Edition Series 80 2nd Edition | Devices | All devices that support XHTML |
| Category | Content | Subcategory | XHTML and WML |
| Keywords (APIs, classes, methods, functions): |
Most of the XHTML browsers do not support the font size tag if pixel measurements are used. For example, style="font-size:10px" is not supported. It is, however, possible to change the font size, but not using pixels.
Note that the XHTML standard does not require font size tag support with pixel measurements.
Here is an example:
<style type="text/css">
.small { font-size:small; }
.medium { font-size:medium; }
.large { font-size:large; }
</style>
Or it can also be added directly to the code
<big>Big</big> normal <small>small</small>
Pixel font sizing does not work. Use another method for font sizing.
No related wiki articles found