Have one to sell?
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See this image

Eric Meyer on CSS: Mastering the Language of Web Design Paperback – Jul 8 2002


See all formats and editions Hide other formats and editions
Amazon Price New from Used from
Paperback
"Please retry"
CDN$ 28.20 CDN$ 0.77

Up to 90% Off Textbooks

Customers Who Bought This Item Also Bought



Product Details

  • Paperback: 352 pages
  • Publisher: New Riders Press; 1 edition (July 8 2002)
  • Language: English
  • ISBN-10: 073571245X
  • ISBN-13: 978-0735712454
  • Product Dimensions: 20.2 x 1.6 x 25.2 cm
  • Shipping Weight: 839 g
  • Average Customer Review: 4.5 out of 5 stars  See all reviews (54 customer reviews)
  • Amazon Bestsellers Rank: #574,647 in Books (See Top 100 in Books)
  • See Complete Table of Contents

Product Description

From the Publisher

If you were looking for someone to help you understand how to use CSS effectively in real-world projects that would be compatible across browsers, who would you go to? That one's easy -- Eric Meyer -- the guy web professionals call the CSS master or guru! Eric always wanted to add a third leg to the "two-legged stool" of CSS books he has written. I was fortunate enough to have the pleasure of working with Eric to make a practical project-based guide to CSS a reality.

Eric targeted this book at folks who have a pretty good knowledge of HTML and at least a basic knowledge of CSS. For those of you in that category, you'll love this book. You really get to work right along side Eric as he takes you through the progressively more advanced projects. This is one book you'll truly want to have on your desk if you want to incorporate CSS into your work!

In order to provide you with the resources you need on CSS in particular and web development in general, it's important to me to hear what you think about this book -- and what you'd like to see in future offerings. Please share your thoughts by emailing me at nrfeedback@newriders.com.

Enjoy!

Linda Bump Sr. Acquisitions Editor, New Riders Publishing

From the Inside Flap

In addition to articlesand support charts and test suites, I've also written Cascading StyleSheets: The Definitive Guide (O'Reilly, 2000) and Cascading StyleSheets 2.0 Programmer's Reference (Osborne/McGraw-Hill, 2001), which tome always felt like two legs of a three-legged stool. The first leg coveredtheory in detail with the intent of educating the reader how CSS works in allits details. The second leg was meant for CSS authors who needed a referencetext to help them write clean CSS the first time and to remind them of valuenames and meanings. The missing third leg was a book that showed how CSS worksin a hands-on, practical way, preferably in full living color.

Happily, the third leg is missing no longer: Thanks to New Riders,you're holding it in your hands right now.

Should You Buy This Book?

That isn't a facetious question. As proud as I am of the work containedin these pages, I'm also keenly aware that this book is not for everyreader. So let me take a moment to describe two kinds of readers: those forwhom this book was written and those for whom it was not.

Those For Whom This Book Is Meant

You ought to find this book useful if you match one or more of the followingcriteria:

  • You want a hands-on, practical guide to using CSS in real-world projects.That's exactly what this book is all about.

  • You're a hands-on learner, someone who gets a lot more out ofinteractive experimenting than from just reading a book. Despite the fact thatthis is indeed a book, it's been intentionally designed to let the reader"play along at home," as it were.

  • You've been meaning to increase your CSS skills for some time now,but you keep putting it off because CSS is a large, complex subject, and youdon't have a roadmap for how to get to the next level.

  • You've always wanted someone to show you how to convert a typical,old-school, pure-HTML design into a blend of HTML and CSS and to explain whyit's to your advantage to do so. If that's the case, go to Project 1,"Converting an Existing Page," without another moment'sdelay.

  • If asked, you would describe your HTML skill level as"intermediate" or "expert" and your CSS skill level as"basic" or "intermediate." In other words, you understandHTML fairly well and have used enough CSS to have a basic grasp of how it'swritten.

Those For Whom This Book Is Not Meant

You might not find this book to be useful if one or more of the followingdescribes you:

  • You've never used or even seen CSS before. Although some basic termsare defined in the text and I've included a short glossary, the assumptionhere is that the reader knows the basics of writing CSS and is fairly proficientwith HTML authoring.

  • You want to understand all of the subtleties of the theory underlying CSSand grasp the nuances of the specification. There are now many books on themarket that occupy that niche. The focus here is on demonstrating effects thatwork.

  • You've only done Web design in a point-and-click editingenvironment. This book assumes that you can edit (or have edited) HTML and CSSby hand, and its narrative is based on that assumption. Its projects may beeasily reproducible in a point-and-click editor, but the book was not writtenwith such editors in mind.

  • You want a book that will tell you how to write CSS that will look thesame in all browsers on all platforms, including Netscape 4.x and Explorer 3.x.See the following section, "What You Can Expect from This Book," fordetails.

  • You've read my other works and hate the personal, familiar tone Itake in my writing. I promise you that my writing style has changed verylittle.

What You Can Expect From This Book

From the outset, my intent has been to write an engaging, interactive bookthat focuses on practical and interesting uses of CSS that can be deployed intoday's browsers. To do this, each project evolves from having no styles tobeing fully styled and ready for deployment on the Web. If I've done my jobwell, you should get the feeling of watching over my shoulder as I work on aproject, with me commenting on what I'm doing as I do it.

Although you can simply read the text and look at the figures to get a senseof how a project is evolving, I think the best way to work along with the bookis to have a Web browser and a text editor open as you read. That way, you canfollow along with the changes I make in the text by physically making the samechanges in your project file and seeing the changes in your own Web browser.

There is one point on which I want to be very clear: The techniques shown inthis book are generally meant for browsers whose version number is greater thanor equal to 5. If you have to design a site that looks the same in Explorer 4.xand Netscape 4.x as it does in IE6.x and NS6.x, this book is not for you.In fact, "Tricking Browsers and Hiding Styles" on the Web site spendsa good deal of time describing ways to hide CSS from version-4 browsers. Suchtechniques allow you to write CSS for modern browsers and still let the contentdisplay (albeit in a much plainer way) in older browsers. That's about asfar as this book goes to cater to the limitations of version-4 browsers,however.

Overview

In keeping with the practical, hands-on nature of this book, I'vedivided it into a series of 13 projects—each one effectively a chapter. Itis possible to skip around from project to project as the spirit moves youbecause each project was written to stand on its own as much as possible.However, the book was still written with the linear reader in mind, and if youread from front to back, you should find that the projects build on oneanother.

With a few exceptions, the projects are titled in as self-obvious a way aspossible. For example, Project 1 takes a page designed using only HTML markupand spacer GIFs and converts it to an HTML-plus-CSS design.

Projects 2 through 5 cover some fairly basic projects, from touching up apress release or an events calendar to making hyperlinks look better than theyever have before. Projects 6 and 7 increase the sophistication somewhat byfocusing on printing and the styling of form elements in more than one medium.Then, in Projects 8 through 11, the topics of discussion are positioning,integration of various styling techniques, and how to make designs look moreorganic and less boxy.

Project 12 takes a look at a powerful and potentially beautiful techniquethat isn't widely supported but can be adapted to work in the real world.In some ways, this is a look ahead to a future in which CSS support is morewidespread, but if you pick the right tools, you can flex your artistic musclestoday. All work and no play makes for a boring book, I always say.

Project 13 is the most ambitious and complex of the book: It is an attempt tore-create, as closely as possible, the visual design of this book in HTML andCSS. Just as important as the ways in which the look can be re-created are thediscussions of why certain things can't be exactly reproduced on theWeb.

Companion Web Site

Each project in the book is based on the editing of a real project file. Youcan either download the project files for the entire book at once, or for eachchapter individually.These files follow a consistentnaming; for example, the Project 1 file will be ch01proj.html. This isthe file you should open up with a text editor and make changes to as theproject moves forward. You can also load it into a Web browser and hit"Reload" at each step to see what effect the new styles have.

Conventions

This book follows a few typographical conventions that you should be familiarwith before proceeding.

A new term is set in italics the first time it is introduced. Therewill often be a short definition of the term nearby. Program text, functions,variables, and other "computer language" are set in a fixed-pitchfont. In regular text, it will also be a dark blue color—for example, whenmentioning the property margin or a value like 10px.

Code blocks are set entirely in a fixed-pitch font. Any red text within acode block indicates a change to the code from its previous state. Most codeblocks show only a fragment of the overall document or style sheet, with thelines to be changed (or inserted) surrounded by unchanged text. This extra textprovides a sense of context, making it easier to find the part you need tochange if you're following along with the text. Here is an example:

<head>

<title>Travel Guide: Ragged Point Inn</title>

<style type="text/css">

table {border: 2px solid red; margin: 3px;}

td {border: 1px dotted purple; padding: 2px;}

</style>

</head>

Every computer book has its own style of presenting information. As you flipthrough this book, you'll notice that it has an interesting layout. Hereare the layout conventions:

Asides

These usually contain detailed explanations that are related to the main text but are not a part of the project itself. They might also offer alternative approaches or ideas to those demonstrated in a project. In every case, they can be skipped without disrupting the project's flow.

Notes

These are meant to be helpful annotations to the main text, and there are alot of them in this book. These are used to provide tips, asides, definitions of new terms, tangential points, or related bits of information.

Warnings

These indicate a point that might cause problems in some browsers or a similarly grave note of caution.

Web site notes provide guidance as to which files to download or load into aWeb browser, or things to check out on the Web.

Finally, at the end of each project you will find a section titled"Branching Out." This will present three short exercises that inviteyou to try modifying the finished project in certain ways. These"branches" are certainly not the end of what you can do, but they mayhelp you start experimenting with the concepts presented in the project. Thinkof them as jumping-off points for your own design ideas and also as interestingchallenges in their own right. If you can match the illustrations with your ownstyles, then you'll be well on your way to writing creative CSS of yourown.

© Copyright Pearson Education. All rights reserved.

Customer Reviews

4.5 out of 5 stars
Share your thoughts with other customers

Most helpful customer reviews

1 of 1 people found the following review helpful By njdj on May 10 2004
Format: Paperback
This is a good book, but before buying it, check that you are in the target audience. It is not a reference book. It is not for complete newbies. It is not for gurus, either.
It is more like a hands-on CSS training course for somebody who has used HTML a lot, knows a little bit about CSS, and who wants to make fuller use of CSS. If this is what you are looking for, this is an excellent book. It is well-produced, with appropriate and intelligent use of color screenshots, too.
You will need to use some kind of reference in addition to this book when you actually write CSS for your own sites.
Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again.
1 of 1 people found the following review helpful By A Customer on March 11 2004
Format: Paperback
Being in the IT industry, mostly web based, I thought I would give this book a try to see what new material I could learn and apply in my job. Anyway, it was a disappointment. The book doesn't really explain anything but walks you through on changing from a non CSS site to one. It's not that good for what CSS is capable of doing either and the options associated with it. Overall, this book really isn't any good for someone that has experience. To me, it's more of a beginner to intermediate level for those who have only scratched the surface of CSS. If your experienced, don't bother.
Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again.
Format: Paperback
Excellent Book!
This book is a definite plus for all people who have dabbled in table-free design but weren't quite ready to dive head first. If you are not familiar with basic CSS mark up, this book is not for you. If you wish to learn CSS from the ground up- see Christopher Schmitt's book "Designing CSS Web Pages" published by New Riders as well. Anyone who uses heavy javascript in their design will also find many streamlined CSS alternatives to that clunky code. "More Eric Meyer on CSS" starts off with a lesson on how to convert an existing table layout to cascading style sheets. I like the way Eric leads through the examples, every step in the code reveals possible browser conflicts. Lucky for us, he is able to supply the right workaround to make the pages compliant. Readers will also walk though styling a photo gallery, styling a financial report, 'transparency layout', and many more. My favorite lessons were CSS-Driven Drop-Down Menus, Opening the Doors to Attractive Tabs, and Designing in the Garden. I have been a fan of the csszengarden site, and I had fun reaching the Zen Garden!
Overall, this was a useful and comprehensive book. Eric Meyer has a simple way of presenting the lessons. None of the ten lessons he covers should take longer than one hour. He is obviously extremely knowledgeable in this field. His praise is well deserved. I personally plan on implementing these lessons on my personal site and those of future clients. The only flaw I found with this book was chapter 10's missing lesson file from the books website, this was alright, as a similar html file was supplied. It was definitely not enough to lower my perfect rating though.
Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again.
Format: Paperback
New Riders publishes nice looking books, but many of them, this one included, suffers from a lack of professional editorial oversight. A book that sells for $45.00 should be proofed a little more closely. The book's companion site lists dozens of editorial errors that should have been caught before the book went to press: [...] After spending this much on a slim paperback volume, the last thing I want to do is spend an hour paging through the book, hand-correcting editorial errors that New Riders' editors should have caught in the first place.
Otherwise, Meyer's command of CSS is evident, but this is not the book that it could be. The presentation is hampered by its organization into "projects", and the reader must slog through details of Meyer's application of strategies in his own projects to find ideas that can be used elsewhere.
CSS is a great technology, but users are in need of something better organized, better presented, more comprehensive, and less crippled by rampant editorial gaffes.
Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again.
Format: Paperback
Like many others, I bought the book based on on-line raves. I thought it was great at first but now the blush is off the rose. The book IS a more informative and user-friendly intro to CSS than the others I have (many are "look what I made, mommy" books by designers...nice visuals but not the best learning tool). Some of the lessons were a struggle so, fortunately, there were the free tutorials from w3schools.com to help with the rough spots.....never thought of myself as a slow learner until now.
Then, just when you think CSS will answer all your prayers, you get seriously gored by the infamous NN4 incompatibilities and then IE problems crop up.
What this and every other book lacks is a decent chart reference which shows browser incompatibilities like the great cheat sheet programming cards from visibone.com BUT, I shouldn't have to buy this kind of critical tool, it oughta be a pullout or be in the appendix.
Until a better book comes out, prospective buyers should go ahead and get this one PLUS Meyers Programmers Reference (ISBN #0072131780). Round it out the Visibone cheat sheets for quick reference and to keep those nasty NN4 and IE4 nightmares from giving you an ulcer. Between all this stuff and the W3C School site (PS:which also has HTML and CSS validator links and other very cool stuff), even I was able to master CSS...but it takes more books and programmer's aids.
Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again.

Most recent customer reviews



Feedback