TAILIEUCHUNG - Web Programming with HTML, XHTML, and CSS- P9

Web Programming with HTML, XHTML, and CSS- P9: There are a lot of books about designing and building web pages, so thank you for picking up this one. Why do I think it is different? Well, the Web has been around for over a decade now, and during its life many technologies have been introduced to help you create web pages, some of which have lasted, others of which have disappeared. Many books that teach you to write web pages are revisions of earlier versions of the same book and therefore still take the same approach as the previous edition did | Chapter 10 Design Issues While using images often makes a menu very distinct from content you must be careful that your images are not so large that they slow down the loading of the site. Figure 10-6 shows an example of using images for navigation within a separate box. Figure 10-6 You should take a closer look at how this menu was created the menu is created inside a div element and the CSS rules for that element specify that it should have a background image that repeats from left to right. That background only needs to be 1 pixel wide making the image smaller and therefore saving the amount of time that a page takes to load. The background image is also the same height as the images that are used to click on. Inside this div element are the images that link to the other pages. When you come to look at the CSS for this example in a moment note how there is a rule in there that specifies that images within a link should have no border this is because IE will by default add a blue box around such images. Between each image is a spacer image that is a darker line to separate the links if they are butted up next to each other. Here is the XHTML for this example div class page h1 The Used Equipment Exchange h1 div class navigation img src images alt width 2 height 16 a href title Home page img src images alt Home width 38 height 16 a img src images alt width 2 height 16 a href title Stock List img src images alt Stock List width 70 height 16 a img src images alt width 2 height 16 a href title Equipment Wanted img src images alt Wanted width 54 height 16 a img src images alt width 2 height 16 371 Chapter 10 Design Issues a href title Contact Us img src images alt Contact Us width 75 height 16 a img src images .

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.