Re: colours for bullets - this one is simple, works, & addresses

Scott E. Preece writes:
 > 
 > Can someone comment on the history/rationale that led to FONT having
 > such a limited content model?  Why can't it be wrapped around
 > essentially anything?

Scott, basically, <FONT> is a special case of <SPAN> with implied
style.  <SPAN> designates a stream of characters, and since SGML
doesn't allow elements that overlap (no <A><B></A></B>), if <SPAN>
were to include everything, then serious problems would arise.  Think
about this -- if eny element were allowed in <FONT>, then you could
write

<P>This is <FONT><H1>a title</H1> <P>and a new paragraph</P></FONT>
inside a paragraph.</P>

something undesirable.

Any other comments on this?  With style sheets, <FONT> really becomes
syntatic sugar for <SPAN STYLE="...">
-- 
Ben Combee, Software Guru, (in 'ARMs way, perhaps???)
Motorola > MIMS > MSPG > AMG > AMCD > Austin Design Center
E-mail: ra3781@email.mot.com   Phone: (512) 891-7141

Received on Wednesday, 16 April 1997 09:35:39 UTC