Đang chuẩn bị liên kết để tải về tài liệu:
The CSS Anthology: 101 Essential Tips, Tricks & Hacks- P13
Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
The CSS Anthology: 101 Essential Tips, Tricks & Hacks- P13:Apart from writing books like this one, I write code. I make my living by building web sites and applications as, I’m sure, many readers of this book do. I use CSS to complete jobs every day, and I know what it’s like to struggle to make CSS work when the project needs to be finished the next morning. | Chapter Cross-browser Techniques This chapter contains solutions for making your sites work well in many browsers. It s unlikely that every visitor to your site is using the same browser or even the most up-to-date version so you ll want to ensure that all users enjoy their experience of your site regardless of which browser they use. As we ve seen you can use CSS to separate the structure and content of your documents from the presentation of your site. If you take this approach visitors who use devices that can t render your design either because they re limited from a technical standpoint such as some PDA or phone browsers or as a result of their own functional advantages such as screen readers that speak your pages text for the benefit of visually impaired users will still be able to access the content. CSS gives you the freedom to meet the needs of these users and to create beautiful designs for the majority of users whose browsers do support CSS. In addition to discussing the nuances of different browsers and devices this chapter will provide you with techniques to troubleshoot CSS bugs in browsers that support CSS. Keep in mind that it s impossible for this chapter to cover every known CSS bug even if it tried as new bugs and new bug fixes appear all the time. What I ve Download at WoweBook.Com 218 The CSS Anthology tried to do here is explain some of the main culprits that cause browser-related problems with CSS. I ve explained how those problems might be solved where you can go to receive up-to-date bug-squashing advice and how to step through a problem isolate its cause and ask for help in a way that s likely to be rewarded with a useful answer. The good news is that with each edition of this book I can see how our jobs as frontend developers are becoming easier. The problems we see today are mainly with really old browsers such as Internet Explorer 6 but an ever-decreasing number of people are using these browsers. New releases of browsers tend to comply