[maemo-users] writing HTML for tablets
From: Mark Somerville mark at scottishclimbs.comDate: Sun Apr 13 12:51:33 EEST 2008
- Previous message: writing HTML for tablets
- Next message: writing HTML for tablets
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sat, Apr 12, 2008 at 01:28:38PM -0700, Andrew Daviel wrote: > This has long seemed a problem with HTML style. Images are specified in > pixels, while text is in point size. What fits on one platform (Windows, > generally) doesn't fit on others (X11), even if the same fonts are > available (Microsoft released "web fonts" including Arial, then withdrew > them, but I think they are still around for free or maybe even included > in distros; I haven't checked recently). And that, as you say, is > regardless of the user having changed their font size away from the > system default. Actually, there's nothing to stop you specifying images in any valid HTML unit. Of course, it may not be a great idea on all sites but I have successfully built a full site sizing everything in ems - this way the *entire* site scales as the text size changes. Also, you all probably know this (but just in case) - using font-family you get to specify a list of fonts and generic family names (like serif). The list is ordered by preference so the browser gets to pick the best fit. Mark -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.maemo.org/pipermail/maemo-users/attachments/20080413/de197f2b/attachment.pgp
- Previous message: writing HTML for tablets
- Next message: writing HTML for tablets
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]