Re: color text?

Joe English (joe@trystero.art.com)
Tue, 2 May 95 18:22:38 EDT

wmperry@spry.com wrote:

> This would be a good thing. The problem right now is that <style> is
> restricted to the <head> of a document. emacs-w3 will gracefully switch
> styles wherever it encounters the <style></style> container, but I don't
> know about arena. If we recommend it as a 'Good Thing' to do, we should
> definitely change the DTD to reflect this.

I don't think it's necessarily a Good Thing...
If you're going to allow:

<style>h1: font.family=utopia</style>
<h1>Blah</h1>
...
<style>h1: font.family=times-roman</style>
<h1>Blah</h1>

why not just use

<h1 font.family="utopia">Blah</h1>
...
<h1 font.family="times-roman">Blah</h1>

(other than ending up with gazillions of attributes, that is)?

If style information is to be embedded in the document body,
I feel it should at least be synchronous with the element structure.
Changing style sheets "midstream" defeats this; they would
act more like PIs.

--joe@art.com