W3C home > Mailing lists > Public > www-style@w3.org > August 1995

Boxes (was: Re: leading (source of information))

From: Bert Bos <bert@let.rug.nl>
Date: Fri, 4 Aug 1995 13:13:21 +0200 (METDST)
Message-Id: <199508041113.AA145324801@freya.let.rug.nl>
To: bsittler@prism.nmt.edu (Benjamin C. W. Sittler)
Cc: www-style@www10.w3.org
Benjamin Sittler writes:

 |One point I came across while reading it: if we are goiung to have
 |adjustable border styles (i.e. border.style,) we should consider the
 |following possibilities:
 |
 |   ________________
 |   | ______________        Thin border inside thin border
 |   | |
 |
 |   ________________
 |   |
 |   |  #############        Thick border inside thin border
 |   |  #  
 |
 |   ################
 |   #
 |   #  #############        Thick border inside thick border
 |   #  #
 |
 |   ################
 |   #
 |   #   ___________
 |   #   |
 |
 |(Tin-0in-thick)
 |
 |(eh, in.)
 |
 |we should consider adjustable interborder spacing, and also spacing
 |between borders and the text blocks they affect... although the latter can
 |probably be set using the text container's margins.

I agree we need to allow for different border styles, but the question
is how many (and how detailed) parameters there should be in the style
sheet.

There will of course be some way to set the offset, color, style, and
width. But the number of possible styles is very large. There probably
needs to be a small set of 5 to 20 styles that a formatter needs to
recognize, plus a mechanism for substituting styles, in case a
formatter doesn't implement some of them.

The designer can help the formatter by giving a list of alternatives,
in decreasing order of priority:

  border-style = wavy dotted  -- use wavy if available, otherwise dotted

But depending on the style, other parameters could be added as well:

 - for double border, thick-in-thin, thin-in-thick: width of each
   line and space between them
 - for dotted lines: the sizes and positions of the dots
 - for wavy lines: the wave length and line thickness
 - etc.

It may be possible to allow for these parameters in the syntax, with
the proviso that very few, if any, formatters will actually use them.



Bert
-- 
                          Bert Bos                      Alfa-informatica
                 <bert@let.rug.nl>           Rijksuniversiteit Groningen
    <http://www.let.rug.nl/~bert/>     Postbus 716, NL-9700 AS GRONINGEN
Received on Friday, 4 August 1995 07:13:29 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:53:42 GMT