TAILIEUCHUNG - Sams Teach Yourself CSS in 24 Hours- P8

Sams Teach Yourself CSS in 24 Hours- P8: Times have changed, thankfully, since those Dark Ages of CSS. All major browsers as well as some minor ones have increased support for Cascading Style Sheets in the latest versions. Web developers are aware of CSS and the vital role they play in designing great Web pages, and presumably you’ve got some idea of how important they are if you’ve bought this book. | 332 Hour 18 Listing Continued .urhc color black vertical-align top A active color black font-weight bold .menubar a hover color white body font-family Garamond Georgia Times Times New Roman serif .inter .lhs color black hi h2 h3 h4. h5 h6 dt .heading color black font-variant small-caps .lhrc a link .lrhc a visited text-decoration none font-weight bolder color black .urhc Hi color white text-align center border none padding 0 5 margin 0px line-height 75px A link font-weight bold color 000066 text-decoration none .lrhc color black .ulhc img border 2px solid white padding-left 15px padding-right i5px .llhc color black hi h2 h3 h4 h5 h6 .heading border-bottom ipx solid white body background-color cca580 background-image url photos feb2002 arizona background-position top right background-repeat no-repeat .vert A visited font-weight bold color 006600 text-decoration none If that was a bit hard to follow don t feel bad that was intentional. On the site I use tables to divide the page into six content cells that can each be styled independently. Vertical and horizontal bars separate these cells and the bars as well as their intersections can also have styles applied to them. The layout is shown in Figure which indicates the class attribute for each cell. The classes have names like urhc for upper right hand corner and lhs for left hand side. Web Design with CSS 333 Figure The layout of done with tables. The current style sheet as given in Listing actually eliminates the bars between the content cells by not giving them a distinct background color but you can t tell that by skimming the style sheet. The style sheet in Listing is really the same as before both produce the same results when applied to the Web page but the second one is easier to understand. Comments make clearer what each section of the style sheet does and the order is much easier to understand. 18 Listing A Better-organized Style

TỪ KHÓA LIÊN QUAN
TÀI LIỆU MỚI ĐĂNG
19    228    0    26-04-2024
46    187    0    26-04-2024
8    175    0    26-04-2024
15    183    0    26-04-2024
37    141    0    26-04-2024
10    116    0    26-04-2024
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.