Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


advertisement
 

CSS: Fonts and Text : Page 7

Learn all kinds of things about altering fonts and text.


advertisement
Text Decoration: {text-decoration: underline/overline/line-through/blink}
The text decoration property lets you make the text appear underlined or with a line through it. Blink and overline are options in the spec, but neither works consistently across browsers and neither adds much value to the presentation.

Example:

p {text-decoration: underline}



If you are using a CSS-enabled browser, this paragraph appears underlined.

P {text-decoration: line-through}

If you are using a CSS-enabled browser, this paragraph appears in "line-through" display mode.

 

Text Transformation: {text-transform: uppercase/lowercase/capitalize/none}
The text transformation (text-transform) property lets you control the element's capitalization in spite of how the original text is cased.

Example:

p {text-transform: uppercase}

If you are using a CSS-enabled browser, this paragraph is displayed in all caps.

p {text-transform: lowercase}

If you are using a CSS-enabled browser, this paragraph is displayed in all lower case.

p {text-transform: capitalize}

If you are using a CSS-enabled browser, this paragraph has the first letter of each word capitalized.



Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date