tidy bug

Wolfgang S. Rupprecht wolfgang.rupprecht+gnus200706 at gmail.com
Mon Jun 4 17:18:41 UTC 2007


Tim <ignored_mailbox at yahoo.com.au> writes:
> <style type="text/css">
> p {margin-bottom: 0;
>    font-family: Times New Roman;
>    font-size: 12pt;}
> </style>

And even at that it is broken (although xhtml/css conformant).  The
xhtml author is assuming that the user's monitor is of a certain DPI.
LCD's range from 70dpi for the cheap junk to 150dpi for smaller
laptops with higher pixel-count displays.  The font spec would be much
more portable if the xhtml author left the base font size choice to
the end user and simply specify font sizes as 50%, 70%, 140%, 200%
etc.  That way the fonts are all scaled correctly across a wide DPI
range.  Also control+ and control- in firefox work correctly.  (And
yes that means that most css directives that are in pixels should be
in "em" or similar.)  Just another 100dpi user in a 70dpi world.

-wolfgang
-- 
Wolfgang S. Rupprecht                http://www.wsrcc.com/wolfgang/
Hints for IPv6 on FC6 http://www.wsrcc.com/wolfgang/fedora/ipv6-tunnel.html




More information about the fedora-list mailing list