Namespaces
Variants
Actions
Revision as of 14:10, 28 June 2012 by hamishwillee (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Archived:Font size support on XHTML devices (Known Issue)

Jump to: navigation, search
Archived.png
Archived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.

Article Metadata

Tested with
Devices(s): All devices that support XHTML

Compatibility
Platform(s): 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

Article
Created: User:Technical writer 1 (25 Jan 2007)
Last edited: hamishwillee (28 Jun 2012)

Description

Most of the XHTML browsers do not support the font size tag if pixel measurements are used. For example, {{{1}}} 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>

Solution

Pixel font sizing does not work. Use another method for font sizing.

194 page views in the last 30 days.
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved