open.itworld.com
  Search  
Security Home Page Security Webcasts Security White Papers Security Newsletters Security News Open Topics Careers ITworld Voices ITwhirled The Security site of ITworld.com

Book Review: The Art & Science of CSS

ITworld.com 10/01/2007

Sandra Henry-Stocker, ITworld.com

Send in your Unix questions today! | See additional Unix tips and tricks

For those of us who work primarily on the technical side of web site management, there is usually a clear divide between the design of web sites and the various forms of programming that allow that design to be expressed. The people who worry about font pixelation and those who concern themselves with the content of error_log files rarely talk shop at the water cooler, never mind work together to ensure that the web sites they jointly manage both adhere to current technical standards and promote a look and feel which is both functional and elegant.

On this topic

This where "The Art & Science of CSS" has important lessons to teach. In seven easy-to-read chapters with plenty of code samples and full color images, this book makes it clear that good CSS coding and eye-catching, elegant web design can easily go hand-in-hand.

What is CSS?

CSS, or "cascading style sheets", provides a way for web developers to define, apply and manage many aspects of web design apart from the web site's contents. This separation of style from content allows developers to deploy web pages with a consistent style without having to carefully and repetitiously code the more painstaking design elements. Instead, individual web pages simply refer to elements within the style sheets and elements of the design can be changed without recoding of the individual web pages. For example, a web developer might select particular fonts and colors for headings or a consistently applied background image that will be used for the entire web site.

The seven chapters in the book cover many elements of design that are frequently migrated from individual pages to cascading style sheets -- headings, images, backgrounds, navigation, forms and tables. There is also a chapter on rounded corners.

In Chapter 1, Headings, the author illustrates how you can take control of the look of your web site using the heading hierarchy and typography. He then moves through image replacement and flash replacement. He discusses the pros and cons of current methods.

In Chapter 2, Images, the author shows how you can create an appealing image gallery. He describes how you can provide enlarged and thumbnail versions. He also describes adding captions to images and how to use transparent PNG images.

Chapter 3, Backgrounds, illustrates how you can transform your design into lightweight markup and CSS. It covers basic backgrounds, repeat backgrounds, background positioning and walks the reader through an appealing design using positioning and layering.

In Chapter 4, Navigation, the author discusses various forms of navigation -- vertical, horizontal, tabbed, variable width, etc., illustrating each with solid examples.

Chapter 5, Forms, show you how to make forms far more interesting and attractive than most we see on the web today. It illustrates effective labeling and grouping and styling of form elements.

Chapter 6, Rounded Corners, is far more interesting than the title suggests. It walks the reader through putting rounded corners on boxes that won't misbehave if you use the wrong browser.

Finally, Chapter 7, Tables, illustrates how you can spruce up your tables, giving them colorful interesting designs that look good no matter which browser you are using.

If you know enough HTML to build a simple web site, you can easily take advantage of the lessons in this book to create a web site with a stunning design and consistently unique look. While there's no substitute for a "good eye", you are not likely to get through the book's 208 pages (213 with the index) without picking up a sense for what works and what doesn't in design and how to make your design work better by using CSS. The book's five authors, all noteworthy web professionals, all share techniques that work well for them in their web design work and promise to give readers a much better sense of how to marry maintainable coding practice and aesthetics in their own projects.

Sandra Henry-Stocker has been administering Unix systems for more than 18 years. She describes herself as "USL" (Unix as a second language) but remembers enough English to write books and buy groceries. She currently works for TeleCommunication Systems, a wireless communications company, in Annapolis, Maryland, where no one else necessarily shares any of her opinions. She lives with her second family on a small farm on Maryland's Eastern Shore. Send comments and suggestions to bugfarm@gmail.com.




Sponsored Links

Sign up for a Microsoft Dynamics® CRM WEBCAST
Hear globally recognized leaders in customer strategy discuss the importance and evolution of CRM.
Sun Microsystems' - FREE 60 DAY TRIAL OFFER!
Test Sun's Newest Servers BEFORE YOU BUY. Plug Them In With Access To Full Technical Support.
100% Web Based Help Desk Software
Easy to use, customizable to meet your needs, powerful and scalable. Free online demo. Try it today!
Sign up for a Microsoft Dynamics® CRM WEBCAST
Hear globally recognized leaders in customer strategy discuss the importance and evolution of CRM.
Used and Refurbished HP ProCurve Switches
Lifetime Warranties, Professional Testing & Shipping on all HP Equipment Purchases!
» Buy a link now

Advertisements
Sponsored links
Locate Hidden Software on business PCs with this free tool
Bring harmony to your mix of UNIX-Linux-Windows computing environments
Top 5 Reasons to Combine App Performance and Security
KODAK i1400 Series Scanners stand up to the challenge
 Home   Open source  Operating systems  Unix
www.itworld.com    open.itworld.com     security.itworld.com     smallbusiness.itworld.com
storage.itworld.com     utilitycomputing.itworld.com     wireless.itworld.com

 
Contact Us   About Us   Privacy Policy    Terms of Service   Reprints  

CIO   Computerworld   CSO   GamePro   Games.net   IDG Connect   IDG World Expo   Infoworld   ITworld   JavaWorld   LinuxWorld  MacUser   Macworld   Network World   PC World   Playlist  

Copyright © Computerworld, Inc. All rights reserved

Reproduction in whole or in part in any form or medium without express written permission of Computerworld Inc. is prohibited. Computerworld and Computerworld.com and the respective logos are trademarks of International Data Group Inc.