Section 23
MORE ABOUT THE HORIZONTAL RULE TAG (<HR...>)
     I did not mention the option for Color when using the <HR> tag.  This
option may not work with all web browsers.  As with most other HTML tags,
if the web browser does not understand it, it will most likely just ignore
it.  Here is the full form of the Horizontal Rule tag:
<HR ALIGN="left|right|center" COLOR="color" WIDTH="width" SIZE="height">
     Use left, right, or center for ALIGN if you wish to.  The COLOR can be
either a color name, or in the "#nnnnnn" hex format.  WIDTH can be in
either Pixels, or percentage of screen (use "n%" for percentage).
Likewise, SIZE can also be in Pixels, or percentage of screen (again using
"n%").  I should point out that Netscape ignores the COLOR, and creates
a box outline (rather than a bar) if you specify a SIZE.
     Here are some examples:
<HR ALIGN="left" COLOR="RED" WIDTH="50%" SIZE="10">
<HR ALIGN="center" COLOR="GREEN" WIDTH="50%" SIZE="10">
<HR ALIGN="right" COLOR="BLUE" WIDTH="50%" SIZE="10">
     Here is what they look like with the web browser you are using now:



     Ah, heck.  Might as well get your monitor adjusted right.  (Hmm,
for some unknown reason, this could also be a gray scale for the Color
blind... I wonder how it would look on a Monochrome monitor?)  Anyway, IF
your web browser supports Color for the Horizontal Rule tag the bars below
should be: White, Yellow, Cyan, Green, Magenta, Red, Blue, and Black.








[Previous Section] [Table of Contents] [Addendum] [Milt's Micro Digest Home Page] [Next Section]
The names Microsoft, Internet Explorer, Netscape, and others used in this document
are Trademarks, or Registered Trademarks of the companies represented.
E-mail questions, comments, or suggestions to: miltst@hotmail.com
© 1999 miltst@hotmail.com

Counter
(This page was last modified on: Monday, February 08, 1999)
1