Join Amazon Prime and ship Two-Day for free and Overnight for $3.99. Already a member? Sign in.
Pro CSS and HTML Design Patterns and over 300,000 other books are available for Amazon Kindle – Amazon’s new wireless reading device. Learn more

 

or
Sign in to turn on 1-Click ordering.
 
 
More Buying Choices
57 used & new from $19.70

Have one to sell? Sell yours here
 
   
Pro CSS and HTML Design Patterns
 
 
Start reading Pro CSS and HTML Design Patterns on your Kindle in under a minute.

Don’t have a Kindle? Get yours here.
 
  

Pro CSS and HTML Design Patterns (Paperback)

by Michael Bowers (Author)
Key Phrases: inline decoration, stretched absolute, relative float, Internet Explorer, Text Replacement, Left Marginal (more...)
4.6 out of 5 stars See all reviews (29 customer reviews)

List Price: $44.99
Price: $29.69 & this item ships for FREE with Super Saver Shipping. Details
You Save: $15.30 (34%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.

Want it delivered Friday, July 17? Choose One-Day Shipping at checkout. Details
36 new from $19.72 21 used from $19.70
Also Available in: List Price: Our Price: Other Offers:
Kindle Edition (Kindle Book) $26.72

Frequently Bought Together

Pro CSS and HTML Design Patterns + Pro JavaScript Techniques + Pro CSS Techniques
Price For All Three: $102.19

Show availability and shipping details

  • This item: Pro CSS and HTML Design Patterns by Michael Bowers

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Pro JavaScript Techniques by John Resig

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Pro CSS Techniques by Jeff Croft

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details


Customers Who Bought This Item Also Bought

Pro CSS Techniques

Pro CSS Techniques

by Jeff Croft
4.1 out of 5 stars (13)  $35.99
CSS Mastery: Advanced Web Standards Solutions

CSS Mastery: Advanced Web Standards Solutions

by Andy Budd
4.6 out of 5 stars (118)  $22.04
Pro JavaScript Design Patterns (Recipes: a Problem-Solution Ap)

Pro JavaScript Design Patterns (Recipes: a Problem-Solution Ap)

by Ross Harmes
4.7 out of 5 stars (11)  $31.36
Beginning CSS Web Development: From Novice to Professional

Beginning CSS Web Development: From Novice to Professional

by Simon Collison
4.6 out of 5 stars (38)  $24.49
JavaScript: The Good Parts

JavaScript: The Good Parts

by Douglas Crockford
4.2 out of 5 stars (48)  $19.79
Explore similar items


Editorial Reviews

Product Description

If you are looking for a complete site design solutions book, this is not it—but if you are seeking a book to help you solve many common problems—then this book will serve as a useful tool for you.

— Nate Klaiber

Pro CSS and HTML Design Patterns is a reference book and a cookbook on how to style web pages using CSS and XHTML. It contains 350 ready–to–use patterns (CSS and XHTML code snippets) you can copy and paste into your code. Each pattern can be combined with other patterns to create an unlimited number of solutions.

Each pattern works reliably in all major browsers without the need for browser hacks.

The book shows how to

  • Code CSS and XHTML
  • Turn HTML into XHTML
  • Use CSS Selectors
  • Use six CSS Box Models
  • Create rounded corners, shadows, gradients, sprites, and transparency
  • Replace text with images without affecting accessibility
  • Style text with fonts, highlights, decorations, and shadows
  • Create flexible, fluid layouts
  • Position elements with absolute pixel precision
  • Stack elements in layers
  • Size, stretch, shrinkwrap, indent, align, and offset elements
  • Style tables with borders and alternating striped rows
  • Size table columns automatically
  • Integrate CSS and JavaScript without embedding JavaScript in XHTML
  • Create drop caps, callouts, quotes, and alerts

The book’s layout, with a pattern’s example on the left page and its explanation on the right, makes it easy to find a pattern and study it without having to flip between pages. The book is also readable from cover to cover, with topics building carefully upon previous topics.

A software developer can use this book to learn CSS for the first time. A designer familiar with CSS can use this book to master CSS and XHTML. If you are completely new to coding or completely new to CSS and XHTML, you may want to read an introductory book on CSS and XHTML first.

You can interact with all the examples in the book at www.cssDesignPatterns.com.



About the Author
Michael Bowers is a software developer who has been cranking out all kinds of code for 17 years professionally and 25 years personally. He taught himself to program when he was 14 and hasn't stopped since.



He has been the chief software developer and architect for many projects ranging from web sites to application frameworks to compilers. He has built intranet applications, automated factories with robotics, architected databases, programmed handheld devices, created sales management systems, and much more. His favorite languages include HTML, CSS, XML, SQL, C#, C, Visual Basic, and ASP.



Michael is also an accomplished pianist with a bachelor's degree in music composition and a master's degree in music theory. In his spare time he loves to improvise, arrange, and compose music.


Product Details

  • Paperback: 494 pages
  • Publisher: Apress (April 23, 2007)
  • Language: English
  • ISBN-10: 1590598040
  • ISBN-13: 978-1590598047
  • Product Dimensions: 9.1 x 6.9 x 1.2 inches
  • Shipping Weight: 1.4 pounds (View shipping rates and policies)
  • Average Customer Review: 4.6 out of 5 stars See all reviews (29 customer reviews)
  • Amazon.com Sales Rank: #19,721 in Books (See Bestsellers in Books)

    Popular in these categories: (What's this?)

    #13 in  Books > Computers & Internet > Programming > Languages & Tools > XHTML
    #17 in  Books > Computers & Internet > Programming > Languages & Tools > CSS

Inside This Book (learn more)

What Do Customers Ultimately Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
Check the boxes next to the tags you consider relevant or enter your own tags in the field below.
(17)
(12)

Your tags: Add your first tag
 
Help others find this product — tag it for Amazon search
No one has tagged this product for Amazon search yet. Why not be the first to suggest a search for which it should appear?

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

 

Customer Reviews

29 Reviews
5 star:
 (22)
4 star:
 (5)
3 star:
 (1)
2 star:    (0)
1 star:
 (1)
 
 
 
 
 
Average Customer Review
4.6 out of 5 stars (29 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
30 of 34 people found the following review helpful:
5.0 out of 5 stars Limitless Depth, May 25, 2007
By Nathan Smith (SonSpring.com) - See all my reviews
(REAL NAME)   
If ever you found yourself wishing that every single possible combination of CSS properties was documented in one comprehensive volume, the solution has just arrived. Pro CSS and HTML Design Patterns is just that, a huge guide to each and every HTML and CSS combination you could possibly think of. Floats, clearing, 6 types of box models, absolute and relative positioning - it's all there. Just as with programming, using coding conventions and understanding recurring combinations can help speed up the entire production work-flow.

I am always drawn to the page which describes a book author. Somehow, knowing a bit of background info helps me peer into their thought process as I read the book. In this case, the author Michael Bowers is an accomplished pianist and has a PhD in music theory. It is interesting, because just as notes and pauses can create song, so design elements and whitespace create page layouts. Michael has brought that same sense of composure to this book, describing the intricacies of code interaction and inheritance.

He has done a great job of encapsulating many possible page layouts, through having conducted thousands of test cases, paring them down to the most stable, cross-browser compatible solutions. This has resulted in over 350 readily usable design patterns. These can be combined to create limitless possibilities for your own work. Most experienced front-end architects will find themselves agreeing with a lot of the principles that are covered in this book, and for those just starting out, it will bring you up to speed on what you need to know.

There are several examples which incorporate JavaScript, but most of the book focuses on practical, real-world application of HTML and CSS, the bread and butter of all professional web developers. I wish that this type of resource had existed when I was first learning the ropes. It would have saved me countless hours of frustration learning how various aspects of CSS interact, and trying to figure out why Internet Explorer doesn't seem to get it right.

One of the awesome things about this book is that Michael has made all of the examples readily available on the companion site, with the topics broken out by chapter. So, rather than give you a laundry list of what's in this book, I will simply point you there: cssDesignPatterns.com. I really can't say enough good things about the book. If you're not already a CSS guru but want to achieve a higher level of proficiency, I'd recommend checking it out.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
15 of 16 people found the following review helpful:
5.0 out of 5 stars A great resource, no matter your level of CSS knowledge, August 14, 2007
By Nate Klaiber (nkbookreviews.com) - See all my reviews
  
Pro CSS and HTML Design Patterns by Michael Bowers is an incredible resource and toolbox for any level web developer. Whether you are just beginning with CSS or are of a professional status, this book has something to offer. With over 300 different design patterns, this book is the perfect resource to solve just about every problem you face. There are patterns for every aspect of your site, and their modular nature give you the potential to combine several of them to create some very unique websites. All of this comes with the added bonus that each of these design patterns have been thoroughly tested in all major browsers. There is great attention to the details throughout each of these patterns.

Contents
This book is not broken down like your typical web development book. The first 3 chapters of this book focus solely on the foundation. The first chapter discusses CSS. This includes addressing many of the common properties and values, different types of selectors, units of measure, and addressing the cascade. Chapter 2 moved on to talk about different HTML design patterns. This section outlines the basic building blocks of any HTML document such as html, doctype, head, body, and many possible elements in between. Chapter 3 moves on to the tricky subject of CSS selectors and inheritance. This becomes important throughout the rest of the book as proper inheritance will play a big role in developing our patterns and keeping our code lean and semantic. None of these three chapters are exhaustive in nature, but they give you a solid base to work with as you read throughout the rest of the book. So, while this book can be used as a resource, if you are just beginning CSS I would recommend not skipping the first three chapters.

Chapters 4 through 9 focus on the different layout options available to you. Chapter 4 starts things off by defining and discussing the Box Model. We look at several different types of the box model including inline box, inline-block box, absolute box, and floated box. Chapter 5 takes things a step further and discusses width, height, sized, shrinkwrapped, and stretched box model options. Chapter 6 addresses all of the editable properties of the Box Model and how they relate to one another. Things like margin, border, padding, background, visibility, and overflow are covered. Chapters 7 through 9 take you from the basic models to advanced layout options. Some of these are more intricate than others, but afford you some great layout techniques. We have built a base, and looked in depth at all of our available positioning models, now it is time to get down to some of the finer details of our layout and how we can style the often overlooked elements.

Chapters 10 through 19 are all focused on polishing each and every piece of your layout. We start by looking at different ways to style your text, how to give your content breathing room and your different alignment options, and gradually move to styling elements such as tables, columns, drop caps, and callouts and quotes. There are several other sections that also discuss block elements and entire layout options. We can now begin to put the pieces of the puzzle together and see how our finished product can become one cohesive whole unit.

The last chapter discusses design patterns for alerts within your layout. This chapter does include some JavaScript, but all of this is made known up-front as you implement any of the given options. We look at different alerts such as JavaScript, tooltips, popups, inline, and graphical. There are several others covered as well, but these are some of the more common ones that developers run into.

Conclusion
This is not a book that needs to be read from cover to cover to fully understand. It is used and designed as a resource to help you solve your design problems. This book would serve as a great desk reference. As stated earlier, each of the design patterns presented in this book have been thoroughly tested in all major browsers. This doesn't mean everything will work in all situations, but it does mean that each stand-alone pattern has undergone intense browser testing. It is up to you and your creativity to combine and extend them to suit your specific needs.

If you are looking for a complete site design solutions book, this is not it--but if you are seeking a book to help you solve many common problems--then this book will serve as a useful tool for you. You do not need to be a CSS professional to find great value in this book.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
18 of 20 people found the following review helpful:
5.0 out of 5 stars Unequalled CSS depth, September 25, 2007
By Frodo Baggins (Wisconsin, United States) - See all my reviews
An analogy for comparing this book to other CSS books: if other books are 2-day seminars then this book is a full fledged college course. This book takes a rigorous, organized approach to teaching you how CSS works whereas most CSS books take a "here's what you need to know" approach. It is not difficult, but it does take time to read the entire book and you cannot skip parts of the book or it won't make sense.

First, if you only read pages 70-71, then you will have gotten the value of the price of the book. Michael is the first and at this point the only person that I've seen figure out an approach very similar to O-O inheritance (not CSS hierarchical inheritance). His is example uses a button class and 3 sub-classes, whose rules are written button.square, button.rounded and button.go. This is an invaluable technique. Other sites have always said that "you can't do O-O inheritance in CSS", but he has come up with a simple way to do it.

The difference between this book and others is that he organizes CSS into a methodology that no one else has. He organizes it into box model type, box model extent and box model placement. These are the authors categories and not explicit CSS categories (though they can be said to be implied by the CSS standard). He then goes about showing you every combination of how these work together, why each is useful and their limitations, including browser limitations. It's very dry reading, but you get a grasp of CSS that you wouldn't get otherwise. For example, I always had difficulty with centering items in CSS, because it would work sometimes and not other times. In other books and on the web, I would find centering "hacks" that usually involved text-align: center, but never really understood why CSS didn't have a way to center items. It turns out that CSS does have a way to center elements, but you have to know which type of box model that you're working with as well as its limitations ( horizontally shrinkwrapped elements cannot be centered and IE6 cannot center absolute elements).

I highly recommend this book, but only if you are willing to commit time to learning it thoroughly. This is not a "get you up and running in 30 minutes" type of book.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews

1.0 out of 5 stars Excessive omissions for the sake of brevity. Most code samples don't work as written.
I'll admit, this book has great potential. I like texts that try to tackle specific programming concepts individually, without bogging the reader down with excess concepts that... Read more
Published 13 days ago by Clayton B. Thomas III

5.0 out of 5 stars You *can* code HTML/CSS deliberately!
Many programmers I know don't bother to learn HTML and CSS, disdainfully shrugging it off as "not really programming". Read more
Published 25 days ago by Katrina Owen

5.0 out of 5 stars The book I turn to for CSS and HTML problem solving
This book is not one to read from cover to cover to contemplate the academic possibilities. For me, this book has become the prime muse for CSS and HTML problem solving. Read more
Published 4 months ago by Marten K

5.0 out of 5 stars CSS dictionary
Pro CSS and HTML Design Patterns by Michael Bowers is an incredible resource and toolbox for any level web developer. Read more
Published 6 months ago by Saeed Ashour

5.0 out of 5 stars Pro CSS and HTML Design Patterns
This is the book to buy for those who want to take it to the next level. So many great thing about this book. Read more
Published 9 months ago by L. L. Devall

5.0 out of 5 stars Pro Css and HTML Design Patterns
I found Pro CSS and HTML Design Patterns by Michael Bowers to be of real help in developing drop down buttons for my web dev client. Mr. Read more
Published 9 months ago by Brandt Reed

5.0 out of 5 stars Awesome book, awesome reference
This is a great book for a number of reasons. Primarily, it's accessible and a quick reference. The book is succinctly written and very well focused. Read more
Published 11 months ago by Spencer

5.0 out of 5 stars Lots of light bulbs
Those who understand CSS will find a trove here. One may trudge through other one true holy grail bulletproof designs. They have their place. Read more
Published 12 months ago by Albo P. Fossa

5.0 out of 5 stars Practical book
Hi

I have read about half the book and I find it very interesting and very practical. The book gives you patterns and approaches to solve the problems which designers... Read more
Published 14 months ago by Gaurav Kumar

3.0 out of 5 stars unhelpful format and poor editing
There is some useful information in this book, but the author's rigid adherence to the format works against the presentation of it. I find that Andy Budd's book (CSS Mastery ... Read more
Published 14 months ago by Dave

Only search this product's reviews



Customer Discussions

 Beta (What's this?)
New! See all customer communities, and bookmark your communities to keep track of them.
This product's forum (8 discussions)
See all 8 discussions...  
Start a new discussion
Topic:
First post:
Prompts for sign-in
  [Cancel]


Active discussions in related forums
   


Product Information from the Amapedia Community

Beta (What's this?)

Pro CSS and HTML Design Patterns

This is a: Book for Web Developers

Pro CSS and HTML Design Patterns is a 494 page book written by Michael Bowers and published by Apress on April 23, 2007. The book has a companion website called cssDesignPatterns.com. On the website you can see and view the source code for allthe ...

Author: Michael Bowers;  Publisher: Apress;  Number Of Pages: 494; ...

(Report this)
Created on Jun 03, 2007, last edited on May 13, 2008.

 Read More and Edit at Amapedia.com opens new browser window




Look for Similar Items by Category


Don't Slip and Slide

HeatTrak Heated Walkway

Keep your walkways safe and clear of snow and ice using the HeatTrak heated walkway.

Shop all HeatTrak heated walkways

 

Big Savings in Books

Bargain Books
Find great titles at fantastic prices in our Bargain Books Store.
 

Summer Reading for Kids & Teens

Summer Reading for Kids and Teens
Discover everything from beach reads and board books to teen romance and action-adventure series in Summer Reading for Kids & Teens. And, check off the kids' required reading lists in our Summer School Reading Store.
 

Find Tools to Transform Your Home

Shop for Home Remodeling Products
From the kitchen to the bathroom, you can fulfill all your home renovation needs in the Home Improvement Store.

Shop now

 

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.


Where's My Stuff?

Shipping & Returns

Need Help?

Your Recent History

  (What's this?)
You have no recently viewed items or searches.

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.

Look to the right column to find helpful suggestions for your shopping session.

Continue shopping: Top Sellers
Free
Free by Chris Anderson
Paranoia
Paranoia by Joseph Finder
My Soul to Lose
My Soul to Lose by Rachel Vincent
Glenn Beck's Common Sense

Conditions of Use | Privacy Notice © 1996-2009, Amazon.com, Inc. or its affiliates