Posts in the Writing Category

Fishing For Style

Published 20 years, 1 month past

As a followup to yesterday’s entry, I thought I’d share some details on what will be in Cascading Style Sheets: The Definitive Guide, 2nd Edition (now available for pre-order!).  Here’s the Table of Contents, or at least a core subset of it:

  1. CSS and Documents
  2. Selectors
  3. Structure and the Cascade
  4. Values and Units
  5. Fonts
  6. Text Properties
  7. Basic Visual Formatting
  8. Padding, Borders, and Margins
  9. Colors and Backgrounds
  10. Floating and Positioning
  11. Table Layout
  12. Lists and Generated Content
  13. User Interface Styles
  14. Non-Screen Media
  1. Property Reference
  2. Selector, Pseudo-Class, and Pseudo-Element Reference
  3. Sample HTML 4 Style Sheet

Owners of the first edition will notice that the chapters have been rearranged a bit.  Thanks to the expansion of selectors in CSS2, it made sense to rearrange things so that they got their own chapter (which you can read in beta form from O’Reilly), and the parts about how CSS relates to document structure were folded into the chapter about specificity and the cascade.  The consolidation of floating and positioning into one chapter really helped cut down on redundancies, although that is the longest and most-enfigured chapter in the book.  (In second place, “Basic Visual Formatting.”)  “Table Layout” talks about how tables are laid out and styled, not how to do layout with tables.  The last two chapters are basically overviews with some detail, since user interface styles are almost certainly going to change radically in CSS3 and non-screen media support is limited or largely theoretical at this stage.  There’s still enough detail to satisfy, I think.

As for the other chapters, they’re largely the same as in the first edition in terms of topical coverage.  They’ve just been updated and expanded to match what’s in CSS2.1.  As an example, “Text Properties” covers everything that it did in the first edition, now updated for 2004; plus it adds information on text-shadow, direction, and unicode-bidi.

The technical reviewers for the second edition were Tantek Çelik and Ian Hickson, who were just as tough and thorough as I’d hoped.  Ian’s one of the people who pounded the inline layout model into my head until I got it when writing the first edition, actually.  I got similar treatment from both reviewers over the interaction of generated content with non-generated elements this time around, not to mention when I tried to figure out the value syntax for text-decoration.  It used to be simple, but oh no… they had to go makin’ it all fancy.

Anyway, I hope that will give some idea of what lies ahead for those of you who do me the honor of purchasing the book.

I occasionally toy with the idea of setting up a Cafépress store with CSS-related merchandise.  If anyone out there has bought stuff (particularly T-shirts and other articles of clothing) from Cafépress, kindly let me know what you thought of it in terms of quality and durability.


Making Book

Published 20 years, 1 month past

This past weekend, the folks at O’Reilly and I wrapped up the final edits and adjustments to Cascading Style Sheets: The Definitive Guide, 2nd Edition.  The in-stock date is near the end of this month, so it ought to be physically sitting on shelves by the beginning of April, maybe sooner.  The page count listed on the O’Reilly page (as I write this) is an early estimate and too high; the actual page count will be closer to 550 pages.  There are a few reasons for this drop in pages:

  • The support charts have been dropped.  When the first edition came out, it made sense to include that kind of information in an appendix, so we did.  As I recently wrote on www-style, the world is much different now, and the day of nifty support charts may well have passed.  In the CSS realm, anyway.  To even present a simple yes/no support chart for CSS2 would have been a dozen pages long, and a nuanced chart with notes would easily have run five times that long.  I still have notes and warnings about particularly egregious problems sprinkled through the text, though.
  • The “CSS In Action” and “Look Ahead” chapters were also dropped.  There is plenty information available these days on how to actually use CSS, so we decided not to be redundant.  As for looking ahead, even a high-level overview of where CSS3 is headed could be a hundred pages long, and out of date the minute we printed it.  Better to wait and see where things end up than make a lot of ill-informed guesses.
  • By rearranging the way information was presented, I was able to cut a lot of redundancies that bedeviled the first edition.  I also cut out some material that seemed important back in 1999, but has long since become irrelevant (like notes about what IE3 does or doesn’t do).
  • The figure count has been scaled back.  There are still a few hundred figures throughout the book, but I went to some effort to combine several points into a single figure when I could, and not illustrate every little point I made.  You really only need to see so many examples of “boldface text,” you know?
  • The text doesn’t spend time on things that were in CSS2 but aren’t in CSS2.1, and that nobody will likely ever support.  This means that some paged-media properties like marks weren’t described, and I didn’t waste time on the CSS2 marker-styling features since they will almost certainly die out and be replaced by a different approach in CSS3.  I did cover properties like font-size-adjust and text-shadow, but not in major detail.

So the second edition is an update of about 380 pages of the first edition, once you subtract out the stuff that was cut.  Every chapter of the first edition was reviewed and, in most cases, significantly overhauled even if it wasn’t expanded (for example, the Fonts chapter didn’t gain a lot, but it was still reworked to reduce the number of figures needed and to clarify some points).  There are four all-new chapters, five chapters with significant additions or revisions, and five more that were lightly to moderately revised.  So it’s practically a whole new book.

That’s even more true of the book I have coming out in mid- to late April from New Riders: More Eric Meyer on CSS, a sequel to Eric Meyer on CSS.  And when I say “sequel,” I really mean it: this is a collection of ten entirely new projects, so it is not a new edition of the older book.  You can own one without the other, although of course you should buy both!  Baby needs a new pair of shoes, after all.  (Okay, that’s a lie; she’s too little to be wearing shoes.  But you know what I mean.)  I’ll have more details as they become available.


Turning Points

Published 20 years, 4 months past

As the calendar turns to another year, I’ve reached a major goal.  I just now finished writing the preface and dedication for the second edition of Cascading Style Sheets: The Definitive Guide, which means that the primary writing is fully and completely done.  Some chapters have already been through technical review, copyedit, and author review, and are moving through production.  Others are queued up for me to deal with in the next several days.  So it looks very much like we should be able to put the book on shelves, and into your hands, before summer gets underway.  This is, for me, a major relief.

As for the sequel to Eric Meyer on CSS, that’s suffered some setbacks due to Carolyn’s arrival, so I’m not sure when it will be finished and published.  Half the projects are already written, and the sixth has the working files all set up.  That leaves just a few more to write.  I’m hoping to get them finished before January is done, but I’m feeling less and less optimistic about meeting that goal.  We’ll see what happens.

Speaking of Carolyn, she’s suffering through her first cold, so we stayed home last night.  There are certainly worse ways to spend a New Year’s Eve than with your wife, new daughter, and a home-cooked meal.  We didn’t even bother to watch the ball drop, although the shouted countdowns from our various neighbors let us know exactly when the new Gregorian year began.

As Kat and I lay in bed last night, Carolyn miserably gurgling and wheezing between us, I kept saying to myself, “It’s just another day.”  There was something about the change to 2004 that hit me hard, a realization that this is the first year in which Mom has always been dead.  Throughout 2003, even though she was gone, she’d been a part of that year.  When that last digit changed, artificial though the division of time might be, there was suddenly a sense that I was farther away from Mom, that I’d crossed a boundary that was suddenly like a wall between us.

But it is, in the end, just another day.  Mom doesn’t have to be any further away from me than she was yesterday, or the day before.  She is always as close as I choose to allow, as close as my memories of her will permit.


Rolling On

Published 20 years, 4 months past

As an experiment, I’ve added a ‘blogroll’ to the home page of meyerweb.  Those of you using IE/Win and the default theme (Eos) won’t see it because of positioning bugs in IE/Win, and you’ll get slightly incorrect display in a couple of other themes, but people using more conformant browsers should have no trouble.  This isn’t the list’s final form by any means—as I say, it’s an experiment.  It’s actually pushing me toward YAR (Yet Another Redesign), truth be told, one that compacts the sidebar content so that I can introduce new stuff.

Suddenly I have an idea for an update of the classic “Yar’s Revenge.”  In this new version, you control a Web designer who runs around the screen avoiding validation errors, font-sizing bugs, table-layout fanatics, CSS-layout fanatics, wandering usability experts, and snarky bloggers while trying to collect as many design components, standards powerups, and “help points” as possible in pursuit of your ultimate goal: a new redesign that’s accessible, attractive, and uses very lightweight markup.  Every level is a new redesign, each one requiring more standards and components than the last one.  Anyone who makes it past five redesigns without giving up in frustration earns the title “Web design guru.”  Once you attain that rank, you’ll have about ten times as many bloggers trying to tear you down in subsequent levels.  Have fun!

For some reason, I’m strongly reminded of the writing I’ve been doing this weekend.  I said a while back I had one chapter left to write in the second edition of Cascading Style Sheets: The Definitive Guide.  I still do, although said chapter is (at the moment) about 80% done.  It’s the chapter on table presentation, and let me tell you, it’s definitely my least favorite chapter.  I think I did a decent job explaining things, but the subject matter itself is… well, I don’t like it.  Both of my technical reviewers expressed their sympathies to me before I started writing it; that ought to tell you something.

Regardless, the chapter should be done by the end of the weekend.  Then all I’ll have to do is write/create the last few appendixes (no big deal) and go through the author review stage, where I look over the copyeditor and technical review comments and make any necessary changes.  And then it will be really and truly done.  I’m no longer sure how long it will take to finish up those last few bits, but I still hope we’ll have the book on shelves before next summer.  Keep your digits crossed…


Gotham Goodness

Published 20 years, 5 months past

Thanks to friends and family, we had a great weekend in New York City.  There was barely enough time to breathe between each visit, but seeing everyone was a great way to recharge ourselves and remember all the things for which we are thankful.  Adam Greenfield and Kat Meyer help Carrie decorate the Zeldmans' Christmas tree.  It was also rather surreal to watch Adam Greenfield (whose picture I’d seen on CNN.com not too long ago), his wife, and my wife help Carrie decorate the Zeldmans’ Christmas tree.

Not as surreal as seeing the first part of The Two Towers played at one-eighth speed, mind you.

Back at the beginning of the year, Jeffrey proclaimed that every author wishes he (or she) were not writing a book, and I said I generally felt differently, that when a book was underway I was glad to be writing.  Now I understand his pain.  Until now, I was writing on weekends for the most part, with a nice long writing schedule, and had a full-time job to keep my brain doing other stuff during the week.  Now writing and working are all mixed up together, and in a valiant effort to finish primary writing by the end of this year, I’m working on two books simultaneously.  This means I spend at least a few hours of every day writing, and still put in a lot of writing on weekends.  It’s really wearing me down, and I have every intention of taking a nice long break from book writing come 2004.  I’ll get back to articles, I hope, but I expect that books will go to the back burner for at least six months.  Well, except maybe for one that I’m thinking about co-authoring.  But other than that, nothing else, I swear!


Round and Round

Published 20 years, 7 months past

The second Complex Spiral article is now on-line: “Rounding Tab Corners.”  The scheduling of this article was dictated by a promise I made at Seybold last week during the “CSS For Navigation” talk.  I’d been planning to write it later on, but due to interest in the audience I decided to move up publication.

A few days back I badgered you, as you may recall; now, thanks to Jeffrey, I am here to bring you the joys of Histology-World and its Relentless Flash Splash Screen, which is the whole point of linking to it.  By the end of the intro, as you’re redirected to the site’s home page, you may well ask yourself, as I did: “What the hell is histology?”  The site is fairly adamant about not admitting to anything, so I looked it up.  I think I can say with absolute confidence that if there’s one subject that really cries out for a lengthy, overblown Flash intro, histology most definitely isn’t it.


Spiralling Apples and Mice

Published 20 years, 8 months past

Much to my delight, Containing Floats hit Blogdex, just above a story about Al Franken (when I looked, anyway).  It also tied for 29th with the Ars Technica Macintosh browser smackdown, which I was further delighted to see used the complexspiral demo as one of its evaluation criteria.  Thus we come spiralling back to where we started.

Congratulations to Jeffrey Zeldman and Doug Bowman on their new project with Apple!  Doug explains that they’ll be giving Apple strategic guidance toward better using Web standards, which is wonderful thing for me to hear at this stage—it’s another indication that there is indeed a demand for the kinds of services I’m offering through Complex Spiral.  I’ve very little doubt that the demand exists, but reinforcing evidence is never a bad thing.

Speaking of Apple, I like OS X a whole lot better now, but not because I’ve gotten used to it.  Instead, I’ve gotten it used to me, with help from Robb Timlin.  He wrote the freeware tool Classic Window Management, the installation of which instantly eliminated about 85% of my frustration with OS X.  Now the Finder acts the way I think it should: when I click on the desktop, all the Finder windows come to the front instead of staying hidden behind whatever application I was just using.  In other words, now OS X acts like a Mac, not a Windows machine.  That’s what I’m talkin’ ’bout.

I also recently upgraded my computing experience by finally ditching the Apple hockey-puck mouse in favor of a Logitech MX700 cordless optical mouse.  Between the freedom to mouse anywhere on my desk and the application-specific programmable buttons, I’m a happy guy.  I also picked up an MX500—same mouse, except with a cord.  I was going to use the MX700 on the TiBook so that I could use a mouse on flights and not have to fight with a mouse cord.  It was the perfect plan until I realized the plan involved using a radio transmitter on a commercial airliner.

Oops.


Ketchup

Published 20 years, 8 months past

The weeklong break is over.  Now I start a weekend break.  Meanwhile, a few things that flitted across my radar while I was away:

  • Please, for the love of all that’s holy, patch your Windows boxes!  Like Zeldman and Kurtz, I too have had an e-mail address filled into forged e-mail headers, and been hit with bounces galore.  Hopefully this will all soon become a lesser problem with a change in server, but still—patch those leaky systems!  Now!
  • Some interesting quotes from and commentary on Weaving the Web.
  • Thanks to a post by Mark Pilgrim, “‘Considered Harmful’ Essays Considered Harmful” is getting some traffic.  This amuses me.
  • Hell yeah.  I’m behind George 100% on pretty much every point he makes, and I’ll just add that we’re a major airline hub so finding reasonably priced flights to just about anywhere is a snap.  ‘Nuff said.

That’s it for the moment, but I hope to have a new site and some new content to share with you on Monday.


Browse the Archive

Earlier Entries

Later Entries