TAILIEUCHUNG - Learning Web Design Third Edition- P31

Learning Web Design Third Edition- P31:Everything you need to know to create professional web sites is right here. Learning Web Design starts from the beginning defining how the Web and web pages work and builds from there. By the end of the book, you'll have the skills to create multi-column CSS layouts with optimized graphic files, and you'll know how to get your pages up on the Web. | Floating Dealing with Browser Bugs This is a good time to address the unfortunate topic of browser bugs. This book presents the way CSS is supposed to work but in reality browsers have bugs and uneven support for the standard that make getting a layout to behave consistently a major headache. Although no browser is perfect all eyes turn to Internet Explorer for Windows because it makes up the lion s share of web traffic over 80 as of this writing . It also has a host of notorious bugs related to page layout such as the IE5 Box Model Problem the Guillotine Bug the Peekaboo Bug and the Double Float-Margin Bug just to name a few. Unfortunately the techniques for dealing with browser bugs are beyond the scope of this book in fact they could fill a small book in themselves . In addition bug workaround best practices change frequently so information in a book is likely to get stale. However I do encourage you to become famiilar with the ways your pages especially those with floats and positioned elements are likely to misbehave in popular browsers. In many cases you can adapt your design to avoid the bug. There are also techniques for giving specific browsers the CSS rules they need or make sure they don t get the ones they don t understand . The following resources are good starting places to get up to speed on the browser issues developers care about most and what fixes are available. Blocks are layed out in the order in which they appear in the source. Each block starts on a new line. Figure 15-1. One more example of the normal flow behavior. Objects in the normal flow affect the layout of the objects around them. This is the behavior you ve come to expect in web pages elements don t overlap or bunch up they make room for one another. We ve seen all of this before but in this chapter we ll be paying attention to whether elements are in the flow or removed from the flow. Floating and positioning changes the relationship of elements to the normal flow in .

Đã 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.