Share this Page URL

Chapter 15. Sheet Music: Styles for Font... > Textstyles: More Ways to Format Text - Pg. 174

Sheet Music: Styles for Fonts, Colors, and Backgrounds 174 · line-through--Formats text with a line through the middle (this is usually called strike- through text). Most people use this style to represent text that's been "deleted" from a document. · none--Formats text without any decoration. · overline--Formats text with a line over the top. (Note that Netscape doesn't yet support this value.) · underline--Formats text with an underline. Here's some sample code that uses a few text decoration values (see ssdecor.htm on the CD in this book): <HTML> <HEAD> <TITLE>Style Sheets: Text Decoration</TITLE> </HEAD> <BODY> <H2 STYLE="text-decoration: none">None</H2> <H2 STYLE="text-decoration: line-through">Line-through</H2> <H2 STYLE="text-decoration: overline">Overline</H2> <H2 STYLE="text-decoration: underline">Underline</H2> </BODY> </HTML> Figure 15.7 shows how they look in Netscape 6 (which, by the way, is the first version of Netscape that supports the overline value).