Click to return to the HTML Help home page    
Web Workshop  |  DHTML, HTML & CSS  |  HTML Help

To Update Your Style Sheet


Microsoft Corporation

Updated June 10, 1999

You can format your section by updating your style sheet with a new class. By doing this, you can make the section have a colored border, or set a specific color for the background. You can also add style attributes to specify the spacing, margins, and overall positioning of the section.

Example

The following is the style class used for the dynamic "Go" link in the HTML Help documentation:

SPAN.classname {
line-height: 6pt;
position: relative;
top: 1pt;
background-color: transparent;
font-weight: bold;
font-size: 7pt;
font-style: italic;
color: black;
text-decoration: none;
cursor: hand;
width: 20px;
height: 8pt;
padding-top: -2pt;
padding-bottom: 1pt;
margin: 0pt;
border-bottom: 1pt solid #cc0033;
border-top: 1pt solid #cc0033; }

Go back Back to the beginning
 


Back to topBack to top

Did you find this material useful? Gripes? Compliments? Suggestions for other articles? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.