Border Styles

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 UTC