W3C home > Mailing lists > Public > site-comments@w3.org > September 2009

Beta's rude CSS

From: Felix Miata <mrmazda@earthlink.net>
Date: Fri, 04 Sep 2009 10:55:39 -0400
Message-ID: <4AA12A6B.8010502@earthlink.net>
To: site-comments@w3.org
W3 pages should be a prime example of best practices. Its beta home page is
currently nothing of the sort. It disobeys W3's own recommendation
(<http://www.w3.org/QA/Tips/font-size>), quite blatantly in
http://beta.w3.org/2008/site/css/advanced lines 2+3 where it rudely sets body
{font-size: 13px}.

In the combined total of http://beta.w3.org/2008/site/css/minimum and
http://beta.w3.org/2008/site/css/advanced there are 42 lines containing
'font-size' or 'font:' specifying the size in px, out of 125 such lines
total. Undoubtedly had it been part of the sample used as a basis for
http://www.useit.com/alertbox/designmistakes.html this violation alone would
put it in the #1 problem group.

Those two CSS files are made up of 2981 lines in 84k bytes. This is arguably
a designer attempt at too much control. One result of that control is that a
simple user (defensive) stylesheet containing nothing but 'body {font-size:
medium !important}' causes most page text to be considerably larger than the
default setting (e.g. using Firefox 2.0.0.20 set without a minimum font size,
#w3c_most-recently .description expand_description text is 140% of (28.4^2
actual/ 24^2 default), according to DOMI).
-- 
"The Scriptures tell us righteousness exalteth a Nation."
			2nd U.S. President, John Adams

 Team OS/2 ** Reg. Linux User #211409

Felix Miata  ***  http://fm.no-ip.com/
Received on Friday, 4 September 2009 14:56:09 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 24 October 2012 16:21:31 GMT