Книга Everything You Know About CSS Is Wrong! Everything You Know About CSS Is Wrong!Книги CSS Автор: Rachel Andrew, Kevin Yank Год издания: 2008 Формат: pdf Издат.:SitePoint Страниц: 116 Размер: 16,7 ISBN: 978-0-9804552-2-9 Язык: Английский0 (голосов: 0) Оценка:Get ready to experience an eye-opening expos on CSS as you know it today. You'll discover a fresh approach to coding Cascading Style Sheets, making old hacks and workarounds a distant memory.In this book, you'll learn how to start taking full advantage of Internet Explorer 8 using the very latest CSS techniques -- whilst still catering for those nasty old browsers. You'll unearth what's put the final nail in the HTML table-based layout coffin, and gain an understanding from two experts why CSS has a very bright future.Some of the valuable insights in this book include:* how you can take full advantage of IE8* how to take CSS tables to the limit and beyond* letting you say goodbye to old hacks and workarounds FOREVER!* help you rediscover what you first loved about CSS* ensure make the most of what CSS has to offer* understand the road ahead for CSSCSS was conceived in an age when web site design was simple; its creators never anticipated the level of intricacy required in the designs that it would be asked to deliver today. Clever designers figured out ways to make CSS do what they needed, but using techniques so convoluted that it became unpredictable and difficult to master. CSS just became too hard ...The good news is, that's all about to change, and this book will show you how!
Author(s): Rachel Andrew, Kevin Yank
Publisher: SitePoint
Year: 2008
Language: English
Commentary: 30453
Pages: 132
Everything You Know About CSS Is Wrong!......Page 1
Table of Contents......Page 7
Preface......Page 11
What’s in This Book?......Page 12
The SitePoint Forums......Page 13
Code Samples......Page 14
Acknowledgments......Page 16
The Problem with CSS......Page 17
The Grid’s the Thing......Page 18
Tables Do the Trick......Page 21
CSS and the Browser Wars......Page 22
Early Browser Support for CSS......Page 23
The Version 4 Browsers......Page 24
Internet Explorer 6 and the Long Sleep......Page 25
Internet Explorer 8 Changes the Game......Page 26
Our Part of the Bargain......Page 29
CSS Table Layout......Page 31
Using Current Layout Techniques......Page 32
Absolute Positioning......Page 33
Problems with This Technique......Page 36
Floated Layout......Page 41
Problems with This Technique......Page 42
Using CSS Tables......Page 45
How Does This Work?......Page 47
Anonymous Table Elements......Page 49
Rules for the Creation of Anonymous Table Elements......Page 51
Making a Perfect Grid......Page 53
Putting Principles into Practice......Page 57
Can CSS tables be used to create flexible layouts?......Page 59
Can CSS tables be nested?......Page 61
How can I position elements within a table cell?......Page 64
Do CSS tables support the colspan and rowspan attributes?......Page 71
What’s going wrong with these anonymous table elements?......Page 76
Do I have to change the source order?......Page 80
Is the source order really a problem?......Page 82
What about older browsers?......Page 84
Support for CSS Tables......Page 85
To Hell with Bad Browsers......Page 87
History Repeats......Page 88
Option 1: Ignore Older Browsers......Page 89
Adding a Style Sheet for IE6 and 7......Page 92
Option 3: Reproduce Your Layout with Older Techniques......Page 98
Now It’s Our Turn......Page 105
Premium Design Elements......Page 106
Greater Ease of Development......Page 109
Moving Forward......Page 110
The Road Ahead......Page 111
CSS3 Multi-column Layout Module......Page 112
Multiple Equal-width Columns......Page 117
Other Multi-column Layout Properties......Page 118
The grid-columns and grid-rows Properties......Page 120
Creating a Grid with Columns and Column-gap Properties......Page 121
Positioning Elements on the Grid: the gr Value......Page 122
Setting up the Template......Page 123
Positioning Elements into the Slots......Page 124
Everything You Know about CSS Is Wrong......Page 127
Index......Page 129