Reply to Re: font face question

Your name:

Reply:


Posted by Harlan Messinger on 12/26/07 15:05

charles cashion wrote:
> rf wrote:
> > "charles cashion" <tennis-fan@dunjas.com> wrote in message
> > news:Dflcj.3462$nh7.469@trnddc01...
> >
> >> Perhaps my question was a bit too terse
> >
> > Terse?
> >
> > Your original question was: "Can somebody tell me what is happening?".
> >
> > That was not only terse but is in fact a non question.
>
> rf: my question was two sentences long. If you take the
> second sentence out of context, it is not very acute.
> *BUT* I know what you are saying. It is desirable for
> posters to refrain from obtuse pointless questions.
>
> I think I know what is happening.
> If the firefox browser does not recognize
> face=roman or face=times or any other non
> recognizable face, it defaults to Times
> New Roman.
>
> Now my question is: Is it possible to change
> the *default* font?

If you don't know what fonts the user has, how could you presume to
choose his *default* font for him? The user chooses his default font, or
leaves it as was set in the browser when it was installed.

>
> OBTW rf is correct. One cannot nest fonts.

Yes, one can. From the transition DTD:

<!ELEMENT FONT - - (%inline;)* -- local change to font -->

and

<!ENTITY % inline "#PCDATA | %fontstyle; | %phrase; | %special; |
%formctrl;">

and

<!ENTITY % special
"A | IMG | APPLET | OBJECT | FONT | BASEFONT | BR | SCRIPT |
MAP | Q | SUB | SUP | SPAN | BDO | IFRAME">

FONT can contain %inline, which can be %special, which can be FONT.
There is no self-exclusion as there is for A or FORM:

<!ELEMENT A - - (%inline;)* -(A) -- anchor -->
<!ELEMENT FORM - - (%flow;)* -(FORM) -- interactive form -->

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация