Re: writing HTML for tablets

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: pgpq7VNdDOWO2.pgp
Description: PGP signature

_______________________________________________
maemo-users mailing list
maemo-users@xxxxxxxxx
https://lists.maemo.org/mailman/listinfo/maemo-users

[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Big List of Linux Books]    

  Powered by Linux