CSS control text length: CSS control text positioning

Source: Internet
Author: User
The following is the program code


In this section we will discuss how to use CSS to control the positioning of text in a Web page, these properties are
Line-height: Line Spacing
Text-align: In that direction.
Vertical-align: Up or down
Text-indent: First line of paragraph space
Text-transform: Case of letters
Text-decoration: To decorate a text, such as a downward line
Spaced
Sometimes we might want to make the text look clearer by increasing the line spacing. Css
In the line-height can achieve this adjustment
p.double {Line-height:2}
Please see the comparison below.
[Code]


<TR><TD bgcolor=666666>


section is normal.  The line spacing for this section is normal. This section of the line
The distance is normal.  The line spacing for this section is normal.



<TR><TD bgcolor= "#ffffcc" > The line spacing for the This article links http://www.cxybl.com/html/wyzz/CSS/20120601/27369.html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.