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

Border Styles

From: Benjamin C. W. Sittler <bsittler@prism.nmt.edu>
Date: Fri, 7 Jul 1995 15:54:14 -0600
Message-Id: <199507072154.PAA07252@white.nmt.edu>
To: www-style@www10.w3.org
I'd like to propose a set of stylesheet properties for CSS: border.*
This would be used to put outlines around paragraphs, titles, hyperlinks,
etc., and would also be useful for tables.

border.style = none | single | double | 3d
border.size  = narrow | medium | wide | <spacial>
border.color = <color>

Example:

<HTML>
<HEAD>
  <TITLE>Document Title</TITLE>
  <STYLE NOTATION="css">
    H1           : align = right; border.style = single; border.size = narrow
    NOTE         : border.style = single; border.size = wide
    NOTE.CAUTION : border.style = double
  </STYLE>
</HEAD>
<BODY>
  <H1>
    Headline Here
  </H1>
  <NOTE CLASS=CAUTION>
    Cautionary note... lots of legal information you must read
    before running your new screen saver.
  </NOTE>
  <P>
    Paragraph of text here...
  </P>
  <NOTE CLASS=NOTE>
    Plain note...
  </NOTE>
</BODY>

Possible (crude) Rendering:

                                           +---------------+
                                           | Headline Here |
                                           +---------------+
           ############################################
           # ######################################## #
           # #           Cautionary note... lots of # #
           # # [CAUTION] legal information you must # #
           # #           read before running your   # #
           # #           new screen saver.          # #
           # ######################################## #
           ############################################

        Paragraph of text here...

            ############################
            #   [NOTE]   Plain note... #
            ############################


Any comments?
Received on Friday, 7 July 1995 17:54:21 GMT

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