Share this Page URL

Chapter 15. Sheet Music: Styles for Font... > Using Background Styles - Pg. 177

Sheet Music: Styles for Fonts, Colors, and Backgrounds 177 Figure 15.9. Some background styles. Internet Explorer and Navigator 4 display background colors slightly differently. Another background style you might want to check out is background-repeat, which controls whether (and how) the browser tiles the background image to fill the window. There are four possible values: · repeat--Tiles the background image to cover the entire browser window. · repeat-x--Tiles the background image horizontally, only. · repeat-y--Tiles the background image vertically, only. · no-repeat--Doesn't tile the background image. Also, Internet Explorer supports the background-attachment style. If you set this style to fixed, the background image remains in place when the user scrolls up and down the page. Set this style to scroll to revert to the usual background behavior (that is, the background image scrolls along with the text). The Least You Need to Know · That's about the size of it. To change the font size, use the font-size style and set it equal to a value in points (pt). · Are you my typeface? To change the font typeface, use the font-family style and set it to the name of one or more typefaces. Be sure to enclose multiple-word typeface names in quotation marks. · To boldly go ... To create bold text, use the font-weight style and set it to either bold or one of the following values: 600, 700, 800, or 900. · Italic spoken here. To create italic text, use the font-style style and set it to italic. · If you intend to indent ... To indent the first line of a paragraph, use the text-indent style and set it to the width of the indent. · Adjusting your alignment. To align your text with the margins, use the text-align style and set it to one of the following: left, center, right, or justify. · Links without lines. To format your links without the traditional underline, use the following: A {text-decoration: none} · A splash of color. To create colored text, use the color style and set it to a color name or RGB color value.