- Page 1 and 2:
CAMERON ADAMS ~ MARK BOULTON ~ ANDY
- Page 3 and 4:
Web Standards Creativity: Innovatio
- Page 6 and 7:
Contents About the Technical Review
- Page 8 and 9:
PART 2: EFFECTIVE PRINT TECHNIQUES
- Page 10 and 11:
About the Technical Reviewer Molly
- Page 12 and 13:
Mark Boulton I’d like to thank Kh
- Page 14 and 15:
Getting Creative with Web Standards
- Page 16 and 17:
Figure 5. The Zen Garden is still g
- Page 18 and 19:
Layout Magic Welcome to Part 1 of o
- Page 20:
Before starting Erskine Design in 2
- Page 23 and 24:
6 Figure 1-2. The completed Dirty P
- Page 26 and 27:
Dirty pretty presentation When buil
- Page 28 and 29:
Background Next, we apply the main
- Page 30 and 31:
Finally, the main content selector
- Page 32 and 33:
The markup is as follows. Note that
- Page 34 and 35:
Unless you study the end result clo
- Page 36 and 37:
Tables Descendant selectors are ess
- Page 38 and 39:
These very simple rules, and the fa
- Page 40 and 41:
Conclusion Of course, building the
- Page 42 and 43:
Dan Rubin spends his days blending
- Page 44 and 45:
Figure 2-1. On the left, the origin
- Page 46 and 47:
The CMS challenge It doesn’t take
- Page 48 and 49:
The next step was spending some tim
- Page 50 and 51:
Videos Photos Extras Links Forum St
- Page 52 and 53:
Ever find yourself getting lost in
- Page 54 and 55:
z-index:100; left:29px; top:39px; m
- Page 56 and 57:
By looking at the markup generated
- Page 58 and 59:
Creating the illusion of vertical t
- Page 60 and 61:
The first argument defines the CSS
- Page 62 and 63:
Figure 2-9. Before (right) and afte
- Page 64 and 65:
Such a #teaser After styling the #t
- Page 66 and 67:
When time is of the essence, hacks
- Page 68 and 69:
Ethan Marcotte has been designing a
- Page 70 and 71:
Getting started The article templat
- Page 72 and 73:
Structuring the CSS Looking above t
- Page 74 and 75:
Adding a layer of style OK, enough
- Page 76 and 77:
A quick preview of our code at this
- Page 78 and 79:
For our narrow, 190-pixel-wide righ
- Page 80 and 81:
Strictly speaking, these class name
- Page 82 and 83:
Our column’s “background” wil
- Page 84 and 85:
Figure 3-14. The exact same templat
- Page 86 and 87:
Figure 3-17. The anatomy of our nar
- Page 88 and 89:
So there we have it: a single class
- Page 90 and 91:
Figure 3-21. The text size can be i
- Page 92 and 93:
anchor.setAttribute("href", "javasc
- Page 95 and 96:
78 4 Designing for Outside the Box
- Page 97 and 98:
80 Worries? “Oh baby, what’s th
- Page 99 and 100:
82 Stop worrying, start with markup
- Page 101 and 102:
84 A third-level heading proudly an
- Page 103 and 104:
86 Adding divisions from the conten
- Page 105 and 106:
88 With the elements and appropriat
- Page 107 and 108:
90 Styling WorrySome.net Whereas ma
- Page 109 and 110:
92 Take a peek at how your design i
- Page 111 and 112:
94 The final result of your column-
- Page 113 and 114:
96 Each of the paragraphs of introd
- Page 115 and 116:
98 While floats and image replaceme
- Page 117 and 118:
100 Well, maybe you’re not quite
- Page 119 and 120:
102 This will be followed by a spec
- Page 121 and 122: 104 The result of this is that your
- Page 123 and 124: 106 We'll give you another look at
- Page 125 and 126: 108 5 Creative Use of PNG Transpare
- Page 127 and 128: 110 PNG, GIF, and JPEG The PNG imag
- Page 129 and 130: 112 The image that needs to work on
- Page 131 and 132: 114 Wilson includes his transparent
- Page 133 and 134: 116 Now I’ll create a 1-by-1-pixe
- Page 135 and 136: 118 In another creative example, de
- Page 137 and 138: 120 A bit of CSS is then used t
- Page 139 and 140: 122 And then the CSS: a.photo-conta
- Page 141 and 142: 124 I’ve specified #cc0000
- Page 143 and 144: 126 However, I’ve reversed their
- Page 145 and 146: 128 var div = document.createElemen
- Page 147 and 148: 130 6 Grid Design for the Web mark
- Page 149 and 150: 132 What is a grid system? A grid s
- Page 151 and 152: 134 Ratios and the canvas Ratios ar
- Page 153 and 154: 136 Beginning with the pen I like t
- Page 155 and 156: 138 Designing the columns The wiref
- Page 157 and 158: 140 This makes 1em roughly 10px (16
- Page 159 and 160: 142 The masthead includes several i
- Page 161 and 162: 144 Building the CSS I’m at the s
- Page 163 and 164: 146 Setting the width of the column
- Page 165 and 166: 148 Figure 6-16 shows the masthead
- Page 167 and 168: 150 It’s starting to look like a
- Page 169 and 170: 152 Issues with the design The proj
- Page 171: 154 Figure 6-20. The new WRC shares
- Page 175 and 176: 158 A brief history of type Like al
- Page 177 and 178: 160 A page for Poe In order to demo
- Page 179 and 180: 162 reasonable increments and preve
- Page 181 and 182: 164 The almighty em An elastic layo
- Page 183 and 184: 166 Figure 7-10 demonstrates the re
- Page 185 and 186: 168 Adjacent selectors in an imperf
- Page 187 and 188: 170 Drop caps Drop caps are one for
- Page 189 and 190: 172 Span to the rescue Another smal
- Page 191 and 192: 174 My float and margins are intact
- Page 193 and 194: 176 Text figures vs. titling figure
- Page 195 and 196: 178 When faced with the following s
- Page 197 and 198: 180 Conclusion Make no mistake: the
- Page 199 and 200: 182 8 Print Magic: Using the DOM an
- Page 201 and 202: 184 A printing technique is born Sa
- Page 203 and 204: 186 Section 3 This is the final se
- Page 205 and 206: 188 3. Bring up the Print dialog bo
- Page 207 and 208: 190 Figure 8-3. The alert placehold
- Page 209 and 210: 192 // create a container for the l
- Page 211 and 212: 194 Now that we have the id we’re
- Page 213 and 214: 196 } { elm['on' + evType] = fn; }
- Page 215 and 216: 198 The styles are limited to the p
- Page 217 and 218: 200 The amended proof-of-concept pa
- Page 219 and 220: 202 600,500);return false;">apply i
- Page 221 and 222: 204 To get it looking like the prop
- Page 223:
206 The eagle-eyed among you will n
- Page 226 and 227:
Cameron Adams has one degree in law
- Page 228 and 229:
The trouble is that if you’re try
- Page 230 and 231:
Figure 9-2. The UX Magazine website
- Page 232 and 233:
Figure 9-4. The White Pages website
- Page 234 and 235:
Figure 9-5 shows our basic design,
- Page 236 and 237:
You’ve probably guessed that we
- Page 238 and 239:
Most browsers won’t have to go th
- Page 240 and 241:
Now, once the browser width has bee
- Page 242 and 243:
Figure 9-8 shows a modified view of
- Page 244 and 245:
The JavaScript When expand_collapse
- Page 246 and 247:
if (target.className.match(pattern)
- Page 248 and 249:
Reorganizing modules Expanding/coll
- Page 250 and 251:
ghost.appendChild(dragTarget.cloneN
- Page 252 and 253:
Now we’re fully prepared for user
- Page 254 and 255:
Then we can concern ourselves with
- Page 256 and 257:
➤ ➤ c. d. chapter 9 Creating Dy
- Page 258 and 259:
{ modules1Modules[modules1Modules.l
- Page 260 and 261:
Engaging, surprising, and inspiring
- Page 262 and 263:
Accessibility basics Web accessibil
- Page 264 and 265:
Navigation About Content Recent Pos
- Page 266 and 267:
The navigation will consist of a si
- Page 268 and 269:
We could incorporate the JavaScript
- Page 270 and 271:
* reset function used to set all na
- Page 272 and 273:
Low vision The CSS is constructed s
- Page 274 and 275:
If the person using the site then o
- Page 276 and 277:
Screen readers Testing this solutio
- Page 278 and 279:
Numbers 66-character line, 161 1024
- Page 280 and 281:
H hardware, 210 hasClass() method,
- Page 282 and 283:
S Safari caps and, 178 PNG transpar