TAILIEUCHUNG - Creating Cool Web Sites with HTML, XHTML, and CSS- P3

Creating Cool Web Sites with HTML, XHTML, and CSS- P3: This book walks readers through the process of creating a basic Web site from scratch using HMTL, the basis for billions of Web pages, and then jazzing it up with advanced techniques from the author’s award-winning sites. This updated edition features new material that shows readers how to attract visitors to a site and keep them there, including new JavaScript examples and coverage of cascading style sheets and XHTML, technologies that make building successful Web sites even easier. | 74 Creating Cool Web Sites with HTM L XHTM L and CSS The effects of both word and line spacing are shown in Figure 4-7. Figure 4-7 Word and line spacing can dramatically change the way text looks on a page. Not all possible settings are good of course. A line height that s too small results in the lines of text becoming illegible as they re overlapped. The single addition of line-height however can significantly improve the appearance of a page and you can increase line height for the entire document by changing the style of the body tag. Adding the following code to the top style block changes all the text on the page body line-height Cool eh I tweak the body container again and again as I proceed. It s very useful Text alignment HTML includes some attributes for the p tag that let you specify if you want the text to be left center or right aligned or justified where both the left and right margins are aligned. These attributes are replaced in CSS with the text-align style which has the following possible values left right center justify Vertical text alignment Here s one feature that you don t see in HTML except in the exceptionally awkward form of sup and sub for superscripts and subscripts respectively. Instead use vertical-align and pick one of the values shown in Table 4-3. Please purchase PDF Split-Merge on to remove this watermark. Chapter 4 Moving into the 21st Century with Cascading Style Sheets Table CSS Vertical Alignment Values Value Explanation top Specifies that top of element aligns with top of highest element in line middle Specifies that middle of element aligns with middle of line bottom Specifies that bottom of element aligns with bottom of lowest element in line text-top Specifies that top of element aligns with top of highest text element in line text-bottom Specifies that bottom of element aligns with bottom of lowest text element in line super Indicates superscript sub Indicates subscript A nice demonstration of

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.