A nit and an addition for the current draft

Steven Grimm ([email protected])
Sun, 17 Sep 1995 23:29:05 -0700


The nit: The text-background attribute has an ambiguous value type.

<style>
body: text-background="bluegreen"
</style>

There's no way for a parser to know if "bluegreen" is a relative URL or a
color name. Perhaps there should be two attributes for background, with a
defined order of precedence between them.

The addition: I think it's critical, if we want stylesheets to be adopted
widely, that they provide a superset of the presentation control that the
Netscape HTML extensions do. One glaring omission is an equivalent to the
"border" attribute of the <img> tag. There's no way for a document author
to specify that a hyperlink on an image be displayed with no decoration.

Maybe "image-border", whose value is a size in any of the usual units.

On a related note, there should also be a way to specify that two images
should be displayed immediately adjacent to one another, with no space
inserted. Some browsers insert extra space even if they don't render a
link border (notably NCSA Mosaic for Windows.)

-Steve