Connecting Tech Pros Worldwide Help | Site Map

Re: comp.lang.javascript FAQ - Quick Answers 2008-11-17

  #1  
Old November 18th, 2008, 06:35 PM
Dr J R Stockton
Guest
 
Posts: n/a
In comp.lang.javascript message <49213296$0$90268$14726298@news.sunsite.
dk>, Mon, 17 Nov 2008 09:00:02, FAQ server <javascript@dotinternet.be>
posted:
Quote:
>comp.lang.javascript FAQ - Quick Answers- 10, Updated October 13, 2008
>
>1 Meta-FAQ meta-questions
>
You are reading the _comp.lang.javascript_ meta-FAQ,
version 10. It is available on the web at
<URL: http://www.jibbering.com/faq/index.html in HTML form.

It is not. But I think I now know what Garrett was doing at about 17:35
GMT today.

The FAQ still has the ordinary writing set by a CSS file to a font
which I don't like and a size smaller than my chosen setting. If that
CSS is disabled, the FAQ is much more readable, though it would be worth
using on-page CSS to set padding and background and/or border for <pre>.

--
(c) John Stockton, nr London UK. replyYYWW merlyn demon co uk Turnpike 6.05.
Web <URL:http://www.uwasa.fi/~ts/http/tsfaq.html-Timo Salmi: Usenet Q&A.
Web <URL:http://www.merlyn.demon.co.uk/news-use.htm: about usage of News.
No Encoding. Quotes precede replies. Snip well. Write clearly. Mail no News.
  #2  
Old November 19th, 2008, 08:15 AM
David Mark
Guest
 
Posts: n/a

re: Re: comp.lang.javascript FAQ - Quick Answers 2008-11-17


On Nov 18, 12:46*pm, Dr J R Stockton <j...@merlyn.demon.co.ukwrote:
Quote:
In comp.lang.javascript message <49213296$0$90268$14726...@news.sunsite.
dk>, Mon, 17 Nov 2008 09:00:02, FAQ server <javascr...@dotinternet.be>
posted:
>
Quote:
comp.lang.javascript FAQ - Quick Answers- 10, Updated October 13, 2008
>
Quote:
1 Meta-FAQ meta-questions
>
Quote:
You are reading the _comp.lang.javascript_ meta-FAQ,
version 10. It is available on the web at
<URL:http://www.jibbering.com/faq/index.htmlin HTML form.
>
It is not. *But I think I now know what Garrett was doing at about 17:35
GMT today.
>
The FAQ still has the ordinary writing set by a CSS file *to a font
which I don't like and a size smaller than my chosen setting.
Well, Christ. We can't have *that*. Granted, I haven't looked at the
CSS. Just what font do you like? Is the body not 100%?

*If that
Quote:
CSS is disabled, the FAQ is much more readable, though it would be worth
So disable CSS when you read it.
Quote:
using on-page CSS to set padding and background and/or border for <pre>.
Well, yes.
  #3  
Old November 19th, 2008, 10:45 AM
Thomas 'PointedEars' Lahn
Guest
 
Posts: n/a

re: Re: comp.lang.javascript FAQ - Quick Answers 2008-11-17


David Mark wrote:
Quote:
On Nov 18, 12:46 pm, Dr J R Stockton <j...@merlyn.demon.co.ukwrote:
Quote:
>The FAQ still has the ordinary writing set by a CSS file to a font
>which I don't like and a size smaller than my chosen setting.
>
Well, Christ. We can't have *that*. Granted, I haven't looked at the
CSS. Just what font do you like? Is the body not 100%?
Fortunately, the layout and contents of the FAQ of this newsgroup is not
defined by the likes or dislikes of John Stockton (or anyone else), but by
practical reasons.

No default font size is set, and that is good so. The default font family
is sans-serif, which is reasonable enough; however, that declaration could
be omitted, too. And I wonder why it would be necessary to define it for
the `html' element instead of the `body' element.
Quote:
Quote:
>If that CSS is disabled, the FAQ is much more readable, though it would
>be worth
>
So disable CSS when you read it.
He may also employ a user stylesheet to make the FAQ layout fit his needs.
In any reasonable user agent, that is one that implements CSS2 rules,
!important rules in user stylesheets take precedence over any other rules.
Quote:
Quote:
>using on-page CSS to set padding and background and/or border for
><pre>.
>
Well, yes.
ACK


PointedEars
--
realism: HTML 4.01 Strict
evangelism: XHTML 1.0 Strict
madness: XHTML 1.1 as application/xhtml+xml
-- Bjoern Hoehrmann
  #4  
Old November 19th, 2008, 11:05 AM
Thomas 'PointedEars' Lahn
Guest
 
Posts: n/a

re: Re: comp.lang.javascript FAQ - Quick Answers 2008-11-17


Thomas 'PointedEars' Lahn wrote:
Quote:
David Mark wrote:
Quote:
>On Nov 18, 12:46 pm, Dr J R Stockton <j...@merlyn.demon.co.ukwrote:
Quote:
>>The FAQ still has the ordinary writing set by a CSS file to a font
>>which I don't like and a size smaller than my chosen setting.
>Well, Christ. We can't have *that*. Granted, I haven't looked at the
>CSS. Just what font do you like? Is the body not 100%?
>
No default font size is set, and that is good so. [...]
D'oh. There's

html {
...
font-size: 90%;
...
}

...

#faqList {
font-size:120%;
...
}

...

#faqList ul {
...
font-size:83%;
...
}

May I ask why?


PointedEars
--
Prototype.js was written by people who don't know javascript for people
who don't know javascript. People who don't know javascript are not
the best source of advice on designing systems that use javascript.
-- Richard Cornford, cljs, <f806at$ail$1$8300dec7@news.demon.co.uk>
  #5  
Old November 19th, 2008, 11:25 AM
David Mark
Guest
 
Posts: n/a

re: Re: comp.lang.javascript FAQ - Quick Answers 2008-11-17


On Nov 19, 6:01*am, Thomas 'PointedEars' Lahn <PointedE...@web.de>
wrote:
Quote:
Thomas 'PointedEars' Lahn wrote:
Quote:
David Mark wrote:
Quote:
On Nov 18, 12:46 pm, Dr J R Stockton <j...@merlyn.demon.co.ukwrote:
>The FAQ still has the ordinary writing set by a CSS file *to a font
>which I don't like and a size smaller than my chosen setting.
Well, Christ. *We can't have *that*. *Granted, I haven't looked atthe
CSS. *Just what font do you like? *Is the body not 100%?
>
Quote:
No default font size is set, and that is good so. *[...]
>
D'oh. *There's
>
* html {
* * ...
* * font-size: 90%;
* * ...
* }
>
* ...
>
* #faqList {
* * font-size:120%;
* * ...
* }
>
* ...
>
* #faqList ul {
* * ...
* * font-size:83%;
* * ...
* }
Clearly there are some issues with the style sheet(s). I don't
understand the use of the loose doctype either. I think the style is
more important.
Quote:
>
May I ask why?
>
Don't ask me.
  #6  
Old November 19th, 2008, 11:45 PM
Dr J R Stockton
Guest
 
Posts: n/a

re: Re: comp.lang.javascript FAQ - Quick Answers 2008-11-17


In comp.lang.javascript message <4923ED3E.3080200@PointedEars.de>, Wed,
19 Nov 2008 11:41:02, Thomas 'PointedEars' Lahn <PointedEars@web.de>
posted:
Quote:
>David Mark wrote:
Quote:
>On Nov 18, 12:46 pm, Dr J R Stockton <j...@merlyn.demon.co.ukwrote:
Quote:
>>The FAQ still has the ordinary writing set by a CSS file to a font
>>which I don't like and a size smaller than my chosen setting.
>>
>Well, Christ. We can't have *that*. Granted, I haven't looked at the
>CSS. Just what font do you like? Is the body not 100%?
>
>Fortunately, the layout and contents of the FAQ of this newsgroup is not
>defined by the likes or dislikes of John Stockton (or anyone else), but by
>practical reasons.
No; someone in the past wanted to add superfluous decoration. That is
what should be removed. The code sent should reflect the semantics of
the document (in which respect it is considerably better than it was),
and should say almost nothing about the visual appearance in a browser
of the ordinary text and headers.

Quote:
>No default font size is set, and that is good so.
I see that. as is common, you answered too hastily.

Quote:
The default font family
>is sans-serif, which is reasonable enough; however, that declaration could
>be omitted, too. And I wonder why it would be necessary to define it for
>the `html' element instead of the `body' element.
Should be omitted. Once upon a time, before GUI displays, when
characters were simple bit maps of about ten pixels each way, it was
said that sans-serif was more legible than serif. No doubt, for such
characters, it was and is. But a modern GUI display is not like that;
it is more like a newspaper, where seriffed fonts are rightly generally
used for ordinary text.
Quote:
Quote:
Quote:
>>If that CSS is disabled, the FAQ is much more readable, though it would
>>be worth
>>
>So disable CSS when you read it.
A reader should not need to do that. My browsers are set for what I
want to use when reading and writing - there should be no need for me to
use any other settings for particular sites.

All that is justifiable is to have a background slightly different from
white (it aids recognition in a heap of windows) and the boxing of code
and links lists. And a small top (?) and bottom border on the body does
no harm.

--
(c) John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v6.05 MIME.
Web <URL:http://www.merlyn.demon.co.uk/- FAQish topics, acronyms, & links.
Proper <= 4-line sig. separator as above, a line exactly "-- " (SonOfRFC1036)
Do not Mail News to me. Before a reply, quote with ">" or "" (SonOfRFC1036)
Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
FAQ Topic - What online resources are available? (2008-10-09) FAQ server answers 34 October 26th, 2008 07:05 AM
Fire firefox? GarryJones answers 6 September 3rd, 2008 06:35 PM
OT: Why is this group comp.lang.javascript shrinking to <25%? optimistx answers 17 August 31st, 2008 10:35 PM