Re: Processing instructions for style tweaks?

Steinar Bang (steinarb@falch.no)
Wed, 30 Nov 94 14:51:10 +0100


>>>>> On Wed, 30 Nov 1994 01:39:20 +0100, Wilfredo Sanchez <tritan@dill.lcs.mit.edu> said:

[snip]

> So we don't want things like '12pt'. It's too restrictive.

> I'm OK with the idea of giving the browser hints as to how to show
> things, so this might be a little smarter:

> <em size="+1">

The whole point about Dan's suggestion wasn't that you should use
'12pt' to say what font size to use. That was just an example.

The point was that you might allow style sheet constructs as SGML
processing instructions and offer this as a compromise solution to the
people who otherwise go ahead and implement their own arbitrary
tags. Or for that matter, add attributes to the tags (as in your
example).

It's bad practice, unstructured, and inelegant, but these are valid
SGML constructs that won't break anything except bogus HTML parsers
[names withheld].

*And* once you have implemented support for the PIs in a structured
way, you should be able to use the same code to interpret style sheets
using the same format.

- Steinar