Re: color text?
Lou Montulli (montulli@netscape.com)
Wed, 3 May 95 01:35:50 EDT
On May 2, 6:22pm, Joe English wrote:
> Subject: Re: color text?
>
> 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.
I fully support the idea of allowing sytle information as attributes.
It gives us progressive layout as well as backwards compatibility.
It is the best of all worlds. We should definately move forward
and implement this...
:lou
--
Lou Montulli http://www.mcom.com/people/montulli/
Netscape Communications Corp.