<?xml version="1.0" encoding="gb2312"?>
<rss version="2.0">
<channel>
<title>Thinkfuse - Web Design Magazine</title>
<link>http://dsp.blueidea.com/thinkfuse/</link>
<description>Thinkfuse - Web Design Magazine</description>
<copyright>dsp.blueidea.com</copyright>
<generator>Thinkfuse</generator>
<webMaster>ss666@sohu.com</webMaster>
<item>
<title><![CDATA[Wired News: A Visual Tour(4)]]></title>
<link>http://dsp.blueidea.com/thinkfuse/more.asp?name=magazine&amp;id=321</link>
<author>Molly E. Holzschlag</author>
<pubDate>2005-1-29 11:06:55</pubDate>
<description><![CDATA[<h2><a name="674" id="674"></a><a name="wbp15Chapter9P139" id="wbp15Chapter9P139"></a>Beyond the Browser </h2>
   <p>Another interesting aspect of the Wired News site is that it provides its news to PDAs. In the interest of standards adherence, the markup and styles used to deliver Wired News to PDAs uses HTML 3.2 and CSS. There are two CSS files, one for use with monochromatic PDA screens, and one for use with color screens. </p>
   <p>Figures <a href="#wbp15Chapter9P143">9.25 </a> and <a href="#wbp15Chapter9P145">9.26 </a> show samples from the monochromatic PDA styles. Figures <a href="#wbp15Chapter9P147">9.27 </a> and <a href="#wbp15Chapter9P149">9.28 </a> show samples from the color styles.</p>
   <p align="center"> <a name="675" id="675"></a><a name="Team-LiB_rUleZZ" id="Team-LiB_rUleZZ"></a><a name="676" id="676"></a><a name="wbp15Chapter9P143" id="wbp15Chapter9P143"></a><img src="articleimg/018/047.jpg" width="210" height="231" /><br />
       <strong>Figure 9.25: PDA style, home page <a name="677" id="677"></a><a name="wbp15Chapter9P145" id="wbp15Chapter9P145"></a><img src="articleimg/018/048.jpg" width="213" height="231" /><br />
       Figure 9.26: PDA style, business page <a name="678" id="678"></a><a name="wbp15Chapter9P147" id="wbp15Chapter9P147"></a><img src="articleimg/018/049.jpg" width="214" height="233" /><br />
       Figure 9.27: Color style, home page <a name="679" id="679"></a><a name="wbp15Chapter9P149" id="wbp15Chapter9P149"></a><img src="articleimg/018/050.jpg" width="214" height="233" /><br />
       Figure 9.28: Color style, business page </strong></p>
   <h2><a name="680" id="680"></a><a name="wbp15Chapter9P150" id="wbp15Chapter9P150"></a>Pulling It All Together </h2>
   <p>Throughout this book, you've learned concepts critical to working with structured markup, CSS, and related concerns such as accessibility. You've learned theory and application, and have seen examples of working websites that use CSS as a means to push web design to new heights. </p>
   <p>As the future unfolds and CSS becomes more familiar to you and other designers, there is no doubt that new and exciting ways of managing design will emerge. I hope you are as hopeful as I am that CSS will bring a new means of inspiring designers and make our responsibilities significantly more manageable and flexible. </p>
   <p>&nbsp;</p>]]></description>
</item><item>
<title><![CDATA[Wired News: A Visual Tour(3)]]></title>
<link>http://dsp.blueidea.com/thinkfuse/more.asp?name=magazine&amp;id=320</link>
<author>Molly E. Holzschlag</author>
<pubDate>2005-1-29 11:06:55</pubDate>
<description><![CDATA[<h2><a name="651" id="651"></a><a name="wbp15Chapter9P89" id="wbp15Chapter9P89"></a>Alive with Color </h2>
   <p>Early in Wired's online history, changing the color scheme every day was part of its appeal. Of course, this had to be achieved in a much more rudimentary way back then. With CSS, simply pointing to a different style sheet can change the scheme. </p>
   <p>There are five preset color schemes available to use on a daily basis, as well as a sixth for weekend use. In addition, there is a base grayscale scheme, and two additional schemes for specialty use, such as holidays or special news events. </p>
   <p>Here's a tour through Bowman's color work, with his original palettes and a working sample of each. The palettes show the RGB values of the individual colors for each style in use. </p>
   <p><strong>Grayscale base </strong> The grayscale base scheme is what the site colors will default to if no other style sheet is called. <a href="#wbp15Chapter9P96">Figure 9.7 </a> shows the palette, and <a href="#wbp15Chapter9P98">Figure 9.8 </a> shows the palette in use. </p>
   <p align="center"><img src="articleimg/018/029.jpg" width="153" height="95" /></p>
   <p align="center"><strong> Figure 9.7: Grayscale palette </strong></p>
   <p align="center"><img src="articleimg/018/030.jpg" width="354" height="264" /></p>
   <p align="center"><strong> Figure 9.8: Viewing the grayscale sample </strong></p>
   <p> <strong>Monday scheme </strong> The Monday scheme uses blue, turquoise, black, and white as its main colors (see <a href="#wbp15Chapter9P101">Figure 9.9 </a>). <a href="#wbp15Chapter9P103">Figure 9.10 </a> shows the Monday scheme in use. </p>
   <p align="center"><img src="articleimg/018/031.jpg" width="156" height="97" /></p>
   <p align="center"><strong> Figure 9.9: Monday color palette </strong></p>
   <p align="center"><img src="articleimg/018/032.jpg" width="355" height="267" /></p>
   <p align="center"><strong> Figure 9.10: Monday color schemes </strong></p>
 <p><strong>Tuesday Scheme </strong> Tuesday's scheme (see <a href="#wbp15Chapter9P108">Figure 9.11 </a>) uses orange and hot pink. <a href="#wbp15Chapter9P110">Figure 9.12 </a> shows the results. </p>
 <p align="center"><strong><img src="articleimg/018/033.jpg" width="156" height="92" /></strong></p>
 <p align="center"><strong> Figure 9.11: Tuesday color palette </strong></p>
 <p align="center"><img src="articleimg/018/034.jpg" width="352" height="265" /></p>
 <p align="center"><strong> Figure 9.12: Tuesday color scheme </strong></p>
 <p> <strong>Wednesday Scheme </strong> Wired News' Wednesday scheme is a combination of bright and darker green (see <a href="#wbp15Chapter9P112">Figure 9.13 </a>). <a href="#wbp15Chapter9P114">Figure 9.14 </a> demonstrates the complete look. </p>
 <p align="center"><img src="articleimg/018/035.jpg" width="158" height="96" /></p>
 <p align="center"><strong> Figure 9.13: Wednesday color palette </strong></p>
 <p align="center"><img src="articleimg/018/036.jpg" width="356" height="268" /></p>
 <p align="center"><strong> Figure 9.14: Wednesday color scheme </strong></p>
 <p> <strong>Thursday Scheme </strong> Orange and red color up Thursdays at Wired News. <a href="#wbp15Chapter9P116">Figure 9.15 </a> shows the palette, <a href="#wbp15Chapter9P118">Figure 9.16 </a> the results. <a name="661" id="661"></a><a name="Team-LiB_rUleZZ" id="Team-LiB_rUleZZ"></a> </p>
 <p align="center"><img src="articleimg/018/037.jpg" width="157" height="98" /></p>
 <p align="center"><strong> Figure 9.15: Thursday color palette </strong></p>
 <p align="center"><img src="articleimg/018/038.jpg" width="358" height="267" /></p>
 <p align="center"><strong> Figure 9.16: Thursday color scheme </strong></p>
 <p> <strong>Friday Scheme </strong> Blue and bright green are the TGIF colors at Wired News. <a href="#wbp15Chapter9P124">Figure 9.17 </a> shows the palette, <a href="#wbp15Chapter9P126">Figure 9.18 </a> the results. </p>
 <p align="center"><img src="articleimg/018/039.jpg" width="156" height="98" /></p>
 <p align="center"><strong> Figure 9.17: Friday color palette </strong></p>
 <p align="center"><img src="articleimg/018/040.jpg" width="352" height="266" /></p>
 <p align="center"><strong> Figure 9.18: Friday color scheme </strong></p>
 <p> <strong>Weekend Scheme </strong> Turquoise and orange are the colors of a Wired News weekend. The palette can be seen in <a href="#wbp15Chapter9P128">Figure 9.19 </a>, and the full template in <a href="#wbp15Chapter9P130">Figure 9.20 </a>. </p>
 <p align="center"><img src="articleimg/018/041.jpg" width="156" height="97" /></p>
 <p align="center"><strong> Figure 9.19: Weekend color palette </strong></p>
 <p align="center"><img src="articleimg/018/042.jpg" width="356" height="268" /></p>
 <p align="center"><strong> Figure 9.20: Weekend color scheme </strong></p>
 <p> <strong>Additional Schemes </strong> Two additional schemes for special purposes are available. <a href="#wbp15Chapter9P132">Figure 9.21 </a> shows the palette for the first of these, and <a href="#wbp15Chapter9P134">Figure 9.22 </a> shows the results. </p>
 <p align="center"><img src="articleimg/018/043.jpg" width="160" height="102" /></p>
 <p align="center"><strong> Figure 9.21: Alternate color palette #1 </strong></p>
 <p align="center"><img src="articleimg/018/044.jpg" width="351" height="265" /></p>
 <p align="center"><strong> Figure 9.22: Alternate scheme #1: </strong></p>
 <p> The second additional scheme can be seen via the palette (see <a href="#wbp15Chapter9P136">Figure 9.23 </a>) and the template with the scheme added (see <a href="#wbp15Chapter9P138">Figure 9.24 </a>). </p>
 <p align="center"><img src="articleimg/018/045.jpg" width="154" height="99" /></p>
 <p align="center"><strong> Figure 9.23: Alternate color palette #2 </strong></p>
 <p align="center"><img src="articleimg/018/046.jpg" width="354" height="267" /></p>
 <p align="center"><strong> Figure 9.24: Alternate scheme #2 </strong></p>]]></description>
</item><item>
<title><![CDATA[Wired News: A Visual Tour(2)]]></title>
<link>http://dsp.blueidea.com/thinkfuse/more.asp?name=magazine&amp;id=319</link>
<author>Molly E. Holzschlag</author>
<pubDate>2005-1-29 11:06:55</pubDate>
<description><![CDATA[
<H2><A id=639 name=639></A><A id=wbp15Chapter9P35 name=wbp15Chapter9P35></A>Accessibility Initiatives </H2>
<P>As mentioned throughout this book, making documents more accessible to people with disabilities as well as a range of user agents is a prime directive of the W3C. It's also mostly achieved via the way a designer approaches their design project, and the use of CSS can play an enormous role in addressing that concern. </P>
<P>To accommodate these concerns, a range of accessibility initiatives were developed for the Wired News site, as follows. </P>
<P><STRONG>Use of style sheets </STRONG>CSS is used exclusively to control layout and presentation. This helps makes the site content accessible to a range of special devices and user agents. </P>
<P><STRONG>Content is logical and useful </STRONG><EM><STRONG>without </STRONG></EM><STRONG>style </STRONG>Every page is organized and marked up so that it can be read logically even without the style sheets. Appearance of nonstyled content has been ordered so that the main column content (usually the most important) always comes first in the document (see <A href="User_blog.asp?Action=Modify&amp;ID=319#wbp15Chapter9P41">Figure 9.2 </A>). </P>
<P align=center><STRONG><IMG height=266 src="articleimg/018/024.jpg" width=359></STRONG></P>
<P align=center><STRONG>Figure 9.2: Nonstyled pages are still readable and useful (A). </STRONG></P>
<P><STRONG>Use of relative text sizing </STRONG>Throughout the site, relative text sizes are used, so that the text can be resized using browser controls. A means of sizing the text up or down within the interface is also provided ( <A href="User_blog.asp?Action=Modify&amp;ID=319#wbp15Chapter9P41">9.2 </A>A), which is persistent from page to page through the use of browser cookies (see Figures <A href="User_blog.asp?Action=Modify&amp;ID=319#wbp15Chapter9P44">9.3 </A>, <A href="User_blog.asp?Action=Modify&amp;ID=319#wbp15Chapter9P46">9.4 </A>, and <A href="User_blog.asp?Action=Modify&amp;ID=319#wbp15Chapter9P48">9.5 </A>). </P>
<P align=center><STRONG><IMG height=262 src="articleimg/018/025.jpg" width=353></STRONG></P>
<P align=center><STRONG>Figure 9.3: Text sizing option </STRONG></P>
<P align=center><IMG height=264 src="articleimg/018/026.jpg" width=353></P>
<P align=center><STRONG>Figure 9.4: Normal text size </STRONG></P>
<P align=center><IMG height=264 src="articleimg/018/027.jpg" width=349></P>
<P align=center><STRONG>Figure 9.5: Large text size </STRONG></P>
<P><STRONG>Removal of tables for page layout </STRONG>Bowman removed all layout tables from the site. This removes problems for screen readers, older browsers, specialized browsers, and other user agents, helping to facilitate accessibility. While Wired News still makes use of tables, they are only used for organizing columnar, tabular data, or contact forms. </P>
<P><STRONG>Text equivalents for all images </STRONG>The alt attribute is used properly in all images: </P><SPAN class=code>&lt;img src='http://a1112.g.akamai.net/7/1112/492/2002091422/ www.wired.com/news/v/20020914/images/cs1/nav_pol.gif' <STRONG>alt='[Politics]' </STRONG>title='Politics Stories Index' width='63' height='25' /&gt; </SPAN>
<P><STRONG>Skip links </STRONG>¡°Skip¡± links have been provided at the start of all documents, providing quick access to areas like search, navigation, and start of content. These links are invisible to sighted users, but can be used within text-to-speech readers as a way of skipping over redundant header elements straight to a portion of the page the user desires. </P>
<P><STRONG>Color contrast and readability </STRONG>Wired News's site uses color extensively and makes use of changeable color schemes. Bowman carefully designed the schemes to ensure that contrast combinations of foreground and background were appropriately readable for anyone with color blindness or other vision issues. See the <A href="LiB0651.htm#651">¡°Alive with Color¡± </A>section later this chapter to learn more about the various color schemes used for Wired News. <A id=646 name=646></A><A id=Team-LiB_rUleZZ name=Team-LiB_rUleZZ></A></P>
<P><STRONG>Valid XHTML and CSS </STRONG>Pages within the new design are supposed to all validate to W3C XHTML and CSS standards. All deprecated, proprietary, or obsolete markup is avoided. </P>
<P><STRONG>Logical structure in markup </STRONG>By using logical structure, such as the use of header elements, the structure of the document and hierarchy of content is defined. </P>
<P>While Wired News is continuing to implement these initiatives, Bowman does note that it will be an ongoing process to bring the site up to W3C WAI Initiatives. </P>]]></description>
</item><item>
<title><![CDATA[Wired News: A Visual Tour]]></title>
<link>http://dsp.blueidea.com/thinkfuse/more.asp?name=magazine&amp;id=318</link>
<author>Molly E. Holzschlag</author>
<pubDate>2005-1-29 11:06:55</pubDate>
<description><![CDATA[<h2><a name="633" id="633"></a><a name="wbp15Chapter9P2" id="wbp15Chapter9P2"></a>Overview </h2>
   <p><a name="634" id="634"></a><a name="Team-LiB_rUleZZ" id="Team-LiB_rUleZZ"></a><em>The leader has to be practical and a realist, yet must talk the language of the visionary and the idealist. <br />
  ¡ªEric Hoffer </em></p>
   <p><em>So, what does it take to make structured markup and CSS work in the real world of web design? While there's very good support for modern web browsers these days, there are definitely legacy browser issues that many people designing websites must deal with, as well as a whole host of problems arising out of other technologists and designers still using old-school presentational markup without CSS. So, undertaking a large-scale, CSS-oriented site is a complex project indeed. </em></p>
   <p><em>What's more, there's also the fact that we've used CSS in a limited way, and now we're really just getting our big toes in the water¡ªgetting our skills wet a bit at a time. But each time we go deeper, we find new things to explore, and new ways to design using our growing collection of skills. </em></p>
   <p><em>At this writing, there is perhaps no more daring a working website in terms of visual design, markup, and CSS than Wired News. The project was headed up by designer Douglas Bowman, whom you met in <a href="LiB0576.htm#576">Chapter 8 </a> while enjoying his personal website, and the site is a fascinating study in contemporary, cutting-edge design in the real world. </em></p>
   <p><em>In this chapter, you'll explore the process that Bowman took to create the Wired News site, including: </em></p>
   <ul>
        <li>
          <p>Motivation to move toward standards </p>
        </li>
        <li>
          <p>Accessibility initiatives </p>
        </li>
        <li>
          <p>CSS methodologies </p>
        </li>
        <li>
          <p>Color schemes and use of color </p>
        </li>
     </ul>
   <a name="Team-LiB_rUleZZ" id="Team-LiB_rUleZZ"></a> 
   <h2><a name="635" id="635"></a><a name="wbp15Chapter9P13" id="wbp15Chapter9P13"></a>Wired News: Why Standards and CSS? </h2>
   <p>While I've made a strong case for standards-based design in this book, it certainly helps to take a look at how true change occurs. Wired News has consistently been ahead of the design game in both its print and web manifestations. Known for wild color schemes and interesting content for today's tech-culture savvy individual, Wired News has always stood out from the more conventional publishers by creating a persona that is edgy and contemporary (see <a href="#wbp15Chapter9P16">Figure 9.1 </a>). <a name="636" id="636"></a><a name="Team-LiB_rUleZZ" id="Team-LiB_rUleZZ"></a></p>
 <p align="center"><img src="articleimg/018/023.jpg" width="265" height="503" /></p>
 <p align="center"><strong> Figure 9.1: Wired News: Home Page </strong></p>
 <p>For that quality alone it stands to reason that Wired News would take the lead in the progressive choice of designing the Web the way web leaders believe the Web should be designed. </p>
 <p>In Bowman's documentation of the process of redesigning Wired News to standards, he makes another important point: That other designers and developers should be 'encouraged to follow as we help push the Web to a higher ground.' </p>
 <p>But make no mistake-Bowman's challenge was particularly difficult, despite the many advantages and impressive design that emerged as a result. Wired News isn't a home page, nor is it even a medium-sized business site. It is a large-scale, content-heavy, database-driven, highly trafficked, and ad-supported site. This means that it's the most complicated type of site to get up to speed with standards, because there are so many details to address. </p>
 <p>What's more, anyone else working on the site, whether designer, markup and CSS person, programmer, or database designer, needs to have some modicum of standards education to make sure the end results are valid. </p>
 <p>Bowman points out that despite these challenges, there are significant advantages to using XHTML and CSS. Some of the advantages Bowman describes include: </p>
 <ul>
      <li>
        <p>Adherence to W3C recommendations 'represents a broader participation in pushing the Web to a higher ground.' </p>
      </li>
      <li>
        <p>The power of XML makes markup 'cleaner, leaner, and more logical.' </p>
      </li>
      <li>
        <p>Use of CSS for layout removes 'complex nested tables.' </p>
      </li>
      <li>
        <p>More support for more browsers. </p>
      </li>
      <li>
        <p>Portability and interoperability, because cleaner documents can easily be used for other platforms, such as wireless. </p>
      </li>
      <li>
        <p>Accessibility. <a name="638" id="638"></a><a name="Team-LiB_rUleZZ" id="Team-LiB_rUleZZ"></a></p>
      </li>
      <li>
        <p>Longer lasting documents and document structure-no need to create 'hacks' for each new browser version. </p>
      </li>
      <li>
        <p>Error reduction due to valid documents. </p>
      </li>
      <li>
        <p>Speed of cleaner files is increased, file sizes are often decreased (see <a href="LiB0471.htm#471">Chapter 7 </a>, <a href="LiB0471.htm#471">'Reconstructing a Table-Based Site' </a>). </p>
      </li>
      <li>
        <p>Future redesigns can be managed efficiently. </p>
      </li>
   </ul>
 <p>While each of these points are conceivably entire topics of study, combined they make a powerful case for Wired News' redesign, and the use of XHTML and CSS in general. </p>]]></description>
</item><item>
<title><![CDATA[CSS Design Gallery (2)]]></title>
<link>http://dsp.blueidea.com/thinkfuse/more.asp?name=magazine&amp;id=317</link>
<author>Molly E. Holzschlag</author>
<pubDate>2005-1-29 11:06:55</pubDate>
<description><![CDATA[<h2><a name="615" id="615"></a><a name="wbp14Chapter8P340" id="wbp14Chapter8P340"></a>Visual Effects </h2>
   <p>In this section, I'm going to show you a number of my favorite visual effects created by Eric A. Meyer for CSS Edge, which is a portion of Meyer's website dedicated to using CSS to create unusual designs that use web standards, no scripting, and no proprietary extensions. </p>
   <p>For that reason, not all the effects will be available on all browsers, but each of these effects are impressive in what they allow a designer to do. </p>
   <p>The idea here is to inspire. As the CSS Edge site itself says: 'Steal these ideas and use them yourself, or better yet, build on these ideas and do something better!' <a name="616" id="616"></a><a name="Team-LiB_rUleZZ" id="Team-LiB_rUleZZ"></a></p>
   <h3><a name="617" id="617"></a><a name="wbp14Chapter8P345" id="wbp14Chapter8P345"></a>Complex Spiral </h3>
   <p>The complex spiral page, <a href="http://www.meyerweb.com/eric/css/edge/complexspiral/demo.html">www.meyerweb.com/eric/css/edge/<br />
     complexspiral/demo.html </a>,(see <a href="#wbp14Chapter8P348">Figure 8.14 </a>) shows off several nice CSS effects, including an opaque look that creates a nicely enhanced navigation system ( <a href="#wbp14Chapter8P348">8.14 </a>A), as well as an attractive content area ( <a href="#wbp14Chapter8P348">8.14 </a>B). </p>
   <p align="center"><img src="articleimg/018/015.jpg" width="356" height="264" /></p>
   <p align="center"><strong> Figure 8.14: A portion of the complex spiral page </strong></p>
   <p>As the mouse passes over a navigation item ( <a href="#wbp14Chapter8P351">Figure 8.15 </a>), the background of the item changes, making the graphic background of the page appear as though it is coming to the forefront ( <a href="#wbp14Chapter8P353">Figure 8.16 </a>). </p>
   <p align="center"><img src="articleimg/018/016.jpg" width="160" height="31" /></p>
   <p align="center"><strong> Figure 8.15: Kat's navigation link, normal state </strong></p>
   <p align="center"><img src="articleimg/018/017.jpg" width="162" height="29" /></p>
   <p align="center"><strong> Figure 8.16: Kat's navigation link, mouseover state </strong></p>
 <p>The effect is subtle, but the visual results create movement and clarity. What's more, the simple navigation and layout make the page an attractive and dynamic design. </p>
   <a name="Team-LiB_rUleZZ" id="Team-LiB_rUleZZ"></a>
      <h3><a name="621" id="621"></a><a name="wbp14Chapter8P355" id="wbp14Chapter8P355"></a>CSS Pop-Ups </h3>
      <p>This is an effect that can be employed using text or images, and CSS Edge shows both in action. In the past, these types of pop-ups could only be achieved using technologies such as JavaScript or Java. But being able to create these effects with CSS makes the entire process not only easier to manage, but also to style in a variety of ways. <a name="622" id="622"></a><a name="Team-LiB_rUleZZ" id="Team-LiB_rUleZZ"></a></p>
      <p>In the normal state, the navigation options appear as they do in <a href="#wbp14Chapter8P359">Figure 8.17 </a>. <a href="#wbp14Chapter8P361">Figure 8.18 </a> shows what happens as the mouse passes over a navigation link ( <a href="#wbp14Chapter8P361">8.18 </a>A)-the associated text pops up at the bottom of the navigation ( <a href="#wbp14Chapter8P361">8.18 </a>B). </p>
      <p align="center"><img src="articleimg/018/018.jpg" width="350" height="264" /></p>
      <p align="center"><strong> Figure 8.17: Navigation links, normal state </strong></p>
      <p align="center"><img src="articleimg/018/019.jpg" width="355" height="268" /></p>
      <p align="center"><strong> Figure 8.18: Navigation links, mouseover, with text based pop-ups </strong></p>
      <p> In <a href="#wbp14Chapter8P364">Figure 8.19 </a>, the same navigation options are seen, but in this case, mousing over the option causes an image to pop-up at the bottom of the navigation. </p>
      <p align="center"><img src="articleimg/018/020.jpg" width="351" height="264" /></p>
      <p align="center"><strong> Figure 8.19: Navigation links, mouseover, with image-based pop-ups <a name="Team-LiB_rUleZZ" id="Team-LiB_rUleZZ"></a> </strong></p>
 <h3><a name="627" id="627"></a><a name="wbp14Chapter8P365" id="wbp14Chapter8P365"></a>CSS Menus </h3>
   <p>Another impressive effect that performs functions (as with all three of these samples from CSS Edge) <em>without </em> relying on scripting is the CSS drop-down menus that have been created by applying the :hover pseudo selector to an element rather than only the anchor element. </p>
   <p><a href="#wbp14Chapter8P369">Figure 8.20 </a> is the page without any of the menus activated. </p>
 <p align="center"><img src="articleimg/018/021.jpg" width="351" height="267" /></p>
 <p align="center"><strong> Figure 8.20: The menus on this page look normal and innocent. </strong></p>
 <p>But, when you view the page in a supporting browser (in this case, Mozilla), the :hover selector is applied to the list item. That, with positioning, creates a hierarchical, linked navigation menu ( <a href="#wbp14Chapter8P372">Figure 8.21 </a>). </p>
 <p align="center"><img src="articleimg/018/022.jpg" width="350" height="266" /></p>
 <p align="center"><strong> Figure 8.21: CSS-driven hierarchical menus </strong></p>]]></description>
</item><item>
<title><![CDATA[CSS Design Gallery (1)]]></title>
<link>http://dsp.blueidea.com/thinkfuse/more.asp?name=magazine&amp;id=316</link>
<author>Molly E. Holzschlag</author>
<pubDate>2005-1-29 11:06:55</pubDate>
<description><![CDATA[<h2><a name="599" id="599"></a><a name="wbp14Chapter8P306" id="wbp14Chapter8P306"></a>CSS and Visual Design </h2>
   <p>The WOW Learning Center design makes the most of content and doesn't emphasize graphic presentation The colors are important to navigation and section identity, and the organization is overall quite clear. However, the design lacks a certain panache that a less information-oriented site, one that is geared to impress or promote, requires. </p>
   <p>Real graphic design with CSS is still in its infancy. Typically, CSS-based designs appear clean and simple ( <a href="#wbp14Chapter8P310">Figure 8.6 </a>) even if the site designers make use of graphics. </p>
   <p align="center"><img src="articleimg/018/006.jpg" width="351" height="268" /></p>
   <p align="center"><strong> Figure 8.6: The BlueRobot home page is a simple but attractive CSS design. </strong></p>
   <p>Simplicity is a wonderful thing, but it's only one of many design options. There is no question that visual designers who take hold of CSS can do some impressive and sometimes surprising work when it comes to presenting more graphical or market-oriented sites. In this section, I showcase two visual designers who have used structured markup and CSS layout to make their sites work visually for their needs. </p>
 <h3><a name="602" id="602"></a><a name="wbp14Chapter8P312" id="wbp14Chapter8P312"></a>Douglas Bowman: stop|design </h3>
   <p>Artist and graphic designer Douglas Bowman shows off his interest in philosophy, design, and web standards on his site, stop|design, http:// <a href="http://www.stopdesign.com/">www.stopdesign.com/ </a>. What's impressive about Bowman's work is that he integrates not just the basic concepts of structured markup and CSS, but also more complex design that includes a variety of graphic images and type. </p>
   <p><a href="#wbp14Chapter8P316">Figure 8.7 </a> shows Bowman's home page. Note the use of a graphic background <a href="#wbp14Chapter8P316">(8.7 </a>A) and the graphic images to emphasize navigation and separate it from the main content sections ( <a href="#wbp14Chapter8P316">8.7 </a>B). Bowman uses graphic type for headers ( <a href="#wbp14Chapter8P316">8.7 </a>C and <a href="#wbp14Chapter8P316">8.7 </a>D) but leaves links text-based ( <a href="#wbp14Chapter8P316">8.7 </a>E and <a href="#wbp14Chapter8P316">8.7 </a>F), which is a nice approach when you consider the diverse ways you can create link effects with CSS. </p>
   <p align="center"><img src="articleimg/018/007.jpg" width="359" height="450" /></p>
   <p align="center"><strong> Figure 8.7: Bowman uses graphics effectively to produce a slick page appropriate for a visual designer </strong></p>
   <p>As with the color identifiers within sections in the WOW Learning Center site, Bowman uses color for each of his internal pages. He's a bit more experimental though, relying on the strength of his graphic headers and layout to carry the design as it goes from subtle to more dramatic colors. </p>
 <p>Figures <a href="#wbp14Chapter8P320">8.8 </a>- <a href="#wbp14Chapter8P324">8.10 </a> show off Bowman's design. </p>
 <p align="center"><img src="articleimg/018/008.jpg" width="352" height="331" /></p>
 <p align="center"><strong> Figure 8.8: Bowman uses lighter colors for the article page </strong></p>
 <p align="center"><img src="articleimg/018/009.jpg" width="350" height="264" /></p>
 <p align="center"><strong> Figure 8.9: For the portfolio section, an artsy black is used </strong></p>
 <p align="center"><img src="articleimg/018/010.jpg" width="358" height="267" /></p>
 <p align="center"><strong> Figure 8.10: A combination of subtle grays and blues enhance the informatioin page </strong></p>
 <h3><a name="609" id="609"></a><a name="wbp14Chapter8P325" id="wbp14Chapter8P325"></a>Raymond Pirouz: Your Guide to Modern Living </h3>
 <p>Many times, a promotions-oriented site requires a sophisticated look. Designer Raymond Pirouz set out to make a site that promoted him, his design group, and his interests effectively. As with many progressive web designers, he was motivated to accomplish his design using web standards in the form of structured markup and CSS, and so he did. </p>
 <p>As with all of the sites you've enjoyed in this chapter, consistency is a critical element of interface design and usability. Pirouz accomplishes this admirably yet proves himself flexible in terms of layout. </p>
 <p><a href="#wbp14Chapter8P334">Figure 8.11 </a> shows Pirouz's home page, which sets the look for the entire site. </p>
 <p>In this case, the upper section ( <a href="#wbp14Chapter8P334">8.11 </a>A) of the Pirouz site maintains consistency across the entire site. The top navigation also remains consistent ( <a href="#wbp14Chapter8P334">8.11 </a>B). The lower navigation ( <a href="#wbp14Chapter8P334">8.11 </a>C) changes depending upon which section of the site you are in, as does the lower content area ( <a href="#wbp14Chapter8P334">8.11 </a>D). </p>
 <p align="center"><img src="articleimg/018/012.jpg" width="359" height="362" /></p>
 <p align="center"><strong> Figure 8.11: Pirouz opts for a sophisticated and consistent look. </strong></p>
 <p>Sometimes there are layouts, such as in <a href="#wbp14Chapter8P334">Figure 8.11 </a>, making visible use of three columns, sometimes there are two columns ( <a href="#wbp14Chapter8P336">Figure 8.12 </a>), and sometimes only one ( <a href="#wbp14Chapter8P338">Figure 8.13 </a>). </p>
 <p align="center"><img src="articleimg/018/013.jpg" width="351" height="342" /></p>
 <p align="center"><strong> Figure 8.12: Here, only two columns within the content area are used. </strong></p>
 <p align="center"><img src="articleimg/018/014.jpg" width="349" height="466" /></p>
 <p align="center"><strong> Figure 8.13: Only one central column in use </strong></p>
 <p>Yet the constancy of Pirouz's figure and logo at the top left of the page keep you grounded, and there is never any question of where you are or how to get back from where you came. </p>
 <p> It's interesting to note that both Bowman's and Pirouz's sites <em>look </em> similar to sites that were developed using tables and graphics. Only an experienced web designer or developer could tell at first glance that they are not. This is the epitome of the possibilities of CSS design and suggests strongly how it can even be more effective in the future. By combining what you know of visual design with sensible use of technology, you can begin to approach a new and innovative means of achieving your website goals. </p>]]></description>
</item><item>
<title><![CDATA[CSS Design Gallery]]></title>
<link>http://dsp.blueidea.com/thinkfuse/more.asp?name=magazine&amp;id=315</link>
<author>Molly E. Holzschlag</author>
<pubDate>2005-1-29 11:06:55</pubDate>
<description><![CDATA[<h2><a name="576" id="576"></a><a name="wbp14Chapter8P2" id="wbp14Chapter8P2"></a>Overview </h2>
   <p><a name="577" id="577"></a><a name="Team-LiB_rUleZZ" id="Team-LiB_rUleZZ"></a><em>Hide not your talents, they for use were made. What's a sundial in the shade? <br />
  -Benjamin Franklin </em></p>
   <p><em>One of the most important concerns at this point in the history of web design is figuring out how to use CSS in ways that produce the variety of sites we need. </em></p>
   <p><em>This means that we must use CSS in practical as well as visionary ways. The true ability of designers working with CSS at this writing is largely yet to be revealed, but many interesting designs have come to fruition in the past several years. </em></p>
   <p><em>To inspire and drive your design ideas, I've chosen what I feel are good CSS examples that address the range of visual design that you might need to accomplish your goals. </em></p>
   <p><em>In this chapter you'll explore sites that show off: </em></p>
   <ul>
        <li>
          <p>Information-rich design </p>
        </li>
        <li>
          <p>Visual design and promotions </p>
        </li>
        <li>
          <p>Tricks and effects using CSS </p>
        </li>
     </ul>
 <h2><a name="578" id="578"></a><a name="wbp14Chapter8P12" id="wbp14Chapter8P12"></a>Designing for Information and Readability </h2>
   <p>One of the most difficult issues when managing websites-especially those that are content heavy-is ensuring the structure of that site, as well as ensuring readability. </p>
   <p>Content has to do with how you organize your informational materials. Content-heavy sites tend to have a lot of, well, content! And content that is so vast tends to be deep in nature, meaning that it should be made as easy as possible to get to and to read. </p>
   <p>If you're trying to ensure that your site is easy to read and that the information held within it is clearly organized for site visitors, keep these design concerns in mind: </p>
   <p><strong>Contrast </strong> Perhaps one of the most important aspects of readability, high contrast between the foreground and background is necessary when creating information- rich sites. </p>
   <p><strong>Chunking paragraphs </strong> The concept of 'chunking' came about as web content creators began to realize that people want short sentences. There are several known reasons for this. First, reading onscreen is still not as easy as reading on the page, so keeping items short is more comfortable. Another issue is that shorter paragraphs help create more white space, which rests and guides the eye. <a name="579" id="579"></a><a name="Team-LiB_rUleZZ" id="Team-LiB_rUleZZ"></a></p>
   <p><strong>Width of text </strong> With the change in computer screen resolutions and the desire to keep websites fluid in design, sometimes you'll run across situations where body text runs very long. Using CSS to contain text and ensure that there are margins around it can go a long way to making your site visitors happy readers. </p>
   <p><strong>Page length </strong> Ever come across a page that scrolls and scrolls and scrolls, yet offers no means of going up or down the length of the page? Terribly inconvenient for site visitors, indeed. Try keeping page length to about 3-5 screens maximum, and if you do run long, use intra-page linking to allow for navigation along the length of the page. </p>
   <p><strong>Type size and font face </strong> Selecting the proper font face and size is a critical issue in web design. Type size has to be small enough to look good onscreen, yet large enough to be read by a person with average sight with ease. Font faces should be of normal weight for body text, and typically common sans-serif faces, such as Arial, are considered to be excellent for onscreen body text. (See <a href="LiB0223.htm#223">Chapter 4 </a>, <a href="LiB0223.htm#223">'CSS Typography,' </a> for more detail.) </p>
   <h3><a name="580" id="580"></a><a name="wbp14Chapter8P22" id="wbp14Chapter8P22"></a>Case Study: World Organization of Webmasters Learning Center </h3>
   <p>The World Organization of Webmasters (WOW) is a nonprofit, member-driven organization that provides support to individuals and organizations that design and develop websites. This support ranges from the creation of local chapters for networking to the provision of high-end education and certification for a range of professional web topics. </p>
   <p>Typically, WOW's members are from education, government, and industrial sectors worldwide. Their needs for information are broad, spanning a range of design and technology specialties. They tend to be busy people who need information fast, but do appreciate well-written, well-organized, and easily accessed resources. </p>
   <p>In an effort to provide educational services to both WOW members and the public at large, an online Learning Center has been developed. WOW, as with many organizations looking to the future, has understood for some time that it must promote important professional and best-practice trends, including standards. </p>
   <p>To that end, the Learning Center uses structured XHTML documents, CSS layouts, and CSS for all design. There is no presentation in any of the site's markup, and the pages are geared to comply with accessibility concerns. </p>
   <p><a href="#LiB_0">Listing 8.1 </a> shows the structured markup used to manage the site's general content.In this listing, look at how using the structural markup can help organize your informa- tion effectively. <a name="581" id="581"></a><a name="Team-LiB_rUleZZ" id="Team-LiB_rUleZZ"></a><a name="582" id="582"></a><a name="Team-LiB_rUleZZ" id="Team-LiB_rUleZZ"></a></p>
   <strong>Listing 8.1: WWW. XHTML Markup on WOW Website </strong><a name="583" id="583"></a><a name="LiB_0" id="LiB_0"></a>
      <table cellspacing="0" cellpadding="0">
        <tr>
          <td class="bluecell" bgcolor="#000080"><strong><img height="2" alt="Start example" src="_.gif" width="1" /></strong></td>
        </tr>
      </table>
      <span class="code">&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"&gt; &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt; &lt;head&gt; &lt;title&gt;World Organization of Webmasters: Learning Center&lt;/title&gt; &lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /&gt; &lt;link rel="stylesheet" type="text/css" media="screen" href="core_style.css" /&gt; &lt;style type="text/css" media="screen"&gt;@import "global_layout.css";&lt;/style&gt; &lt;/head&gt; &lt;body&gt; &lt;div id="header"&gt; &lt;a href="index.html" class="topnav" title="go to the home page"&gt;home&lt;/a&gt; &lt;a href="about.html" class="topnav" title="go to the about page"&gt;about us&lt;/a&gt; &lt;a href="education.html" class="topnav" title="go to education"&gt;education&lt;/a&gt; &lt;a href="certification.html" class="topnav" title="go to certification"&gt; certification&lt;/a&gt; &lt;a href="http://www.joinwow.org/" class="topnav" title="join WOW"&gt;join WOW&lt;/a&gt; &lt;a href="sitemap.html" class="topnav" title="go to site map"&gt;site map&lt;/a&gt; &lt;/div&gt; &lt;div id="content"&gt; &lt;h1&gt;january 1, 2003&lt;/h1&gt; &lt;h2&gt;a new year, new directions&lt;/h2&gt; &lt;p&gt;These are formidable times facing our industry. With the economic <br />
slowdown, buyer insecurity, news reports about IT Conference cancellations, <br />
bankruptcies and consolidations, job opportunities in the Web profession is <br />
unquestionably a hot topic.&lt;/p&gt; &lt;p&gt;There is no doubt that 2002 proved challenging for most people, and Web <br />
professionals especially. There are few among us worldwide who can't say <br />
that we, or someone we know, has either lost or changed jobs, or is <br />
struggling with the economic challenges that the world events of the year <br />
have left behind.&lt;/p&gt; &lt;p&gt;With the New Year, it's natural to take stock of the past year and make <br />
plans for the new one to come. When things get difficult, it helps to start <br />
counting blessings. In an effort to forge a much brighter and prosperous <br />
future for WOW members, we at WOW have done just that. And, one of our very <br />
first projects to help the optimism along is the WOW Learning Center.&lt;/p&gt; &lt;h2&gt;about the center&lt;/h2&gt; &lt;p&gt;The WOW Learning Center is a growing education resource provided through <br />
its parent organization, The World Organization of Webmasters (WOW). Our <br />
goal is to provide education in step with WOW's respected certification <br />
programs for both the interested public and well as current and prospective <br />
WOW members.&lt;/p&gt; &lt;/div&gt; &lt;div id="menu"&gt; &lt;form method="get" action="http://search.atomz.com/search/"&gt; &lt;p&gt;&lt;label for="search"&gt;search: &lt;input id="search" type="text" name="search" size="15" /&gt;&lt;/label&gt;&lt;/p&gt; &lt;/form&gt; &lt;p&gt;navigate:&lt;/p&gt; &lt;p&gt;&lt;a href="programming/index.html" title="go to programming"&gt; <br />
:: programming&lt;/a&gt;&lt;br /&gt; <br />
&lt;a href="databases/index.html" title="go to databases"&gt;:: databases&lt;/a&gt;&lt;br <br />
/&gt; &lt;a href="networking-security/index.html" title="go to networking and <br />
security"&gt;:: networking &amp;amp;&lt;br /&gt;&amp;nbsp; &amp;nbsp;web security&lt;/a&gt;&lt;br /&gt; <br />
&lt;a href="ecommerce/index.html" title="go to ecommerce"&gt;:: e-commerce&lt;/a&gt;&lt;br <br />
/&gt; <br />
&lt;a href="webservices/index.html" title="go to web services"&gt;:: web <br />
services&lt;/a&gt;&lt;br /&gt; <br />
&lt;a href="markup/index.html" title="go to markup and css"&gt;:: markup &amp;amp; <br />
css&lt;/a&gt;&lt;br /&gt; <br />
&lt;a href="design-usability/index.html" title="go to design and usability"&gt;:: <br />
design &amp;amp; usability&lt;/a&gt;&lt;br /&gt; <br />
&lt;a href="accessibility/index.html" title="go to accessibility"&gt;:: <br />
accessibility&lt;/a&gt;&lt;br /&gt; <br />
&lt;a href="internationalization/index.html" title="go to <br />
internationalization"&gt;:: internationalization&lt;/a&gt;&lt;br /&gt; <br />
&lt;a href="business-law/index.html" title="go to business and law"&gt;:: <br />
business &amp;amp; law&lt;/a&gt;&lt;br /&gt; <br />
&lt;a href="tools-products/index.html" title="go to tools and products"&gt;:: <br />
tools &amp;amp; products&lt;/a&gt;&lt;br /&gt; <br />
&lt;a href="career-center/index.html" title="go to careers"&gt;:: <br />
career center&lt;/a&gt;&lt;br /&gt; <br />
&lt;a href="clients/index.html" title="go to for the client"&gt;:: for the <br />
client&lt;/a&gt;&lt;/p&gt; &lt;/div&gt; &lt;div id="partners"&gt; &lt;p class="small"&gt;distinguished partners:&lt;br /&gt; &lt;img src="images/partners.gif" width="148" height="38" alt="distinguished <br />
partners logos" /&gt;&lt;/p&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt;</span> <a name="584" id="584"></a><a name="Team-LiB_rUleZZ" id="Team-LiB_rUleZZ"></a><a name="585" id="585"></a><a name="Team-LiB_rUleZZ" id="Team-LiB_rUleZZ"></a>
<table cellspacing="0" cellpadding="0">
  <tr>
    <td class="bluecell" bgcolor="#000080"><strong><img height="2" alt="End example" src="_.gif" width="1" /></strong></td>
  </tr>
</table>
<table cellspacing="0" cellpadding="0">
  <tr>
    <td></td>
  </tr>
</table>
<p><a href="#LiB_1">Listing 8.2 </a> is the global layout style sheet for the site. Here, you'll see layout styles primarily. Fonts, borders, colors and so forth are different for each site section, as you'll see in an example a bit later. </p>
<strong>Listing 8.2: WWW. Global CSS Layout for WOW Learning Center Website </strong><a name="586" id="586"></a><a name="LiB_1" id="LiB_1"></a>
<table cellspacing="0" cellpadding="0">
  <tr>
    <td class="bluecell" bgcolor="#000080"><strong><img height="2" alt="Start example" src="_.gif" width="1" /></strong></td>
  </tr>
</table>
<span class="code">body { margin:0px; padding:0px; background: url(images/wow-education.gif) top left no repeat scroll; } h1 { margin:0px 0px 15px 0px; padding:0px; border: none; } h2 { margin:0px 0px 15px 0px; padding:0px; } p { margin:0px 0px 16px 0px; padding:0px; } #header { margin:50px 0px 10px 0px; voice-family: "\"}\""; voice-family:inherit; height:14px; } body&gt;#header { height:14px; } #content { margin:0px 210px 50px 10px; padding:25px; } #menu { position:absolute; top:100px; right:20px; width: 190px; voice-family: "\"}\""; voice-family:inherit; width: 170px; } body&gt;#Menu { width:170px; } #partners { position: absolute; text-align: center; top: 490px; right: 20px; width: 190px; margin: 10px; voice-family: "\"}\""; voice-family:inherit; width:170px; } </span>
<table cellspacing="0" cellpadding="0">
  <tr>
    <td class="bluecell" bgcolor="#000080"><strong><img height="2" alt="End example" src="_.gif" width="1" /></strong></td>
  </tr>
</table>
<table cellspacing="0" cellpadding="0">
  <tr>
    <td></td>
  </tr>
</table>
<h4>Managing Information within the Site </h4>
<p>In addition to logistical and informational pages at the top level of the site, the Learning Center covers 14 specific topic areas, which is a significant amount of information. </p>
<p align="center"><a href="#wbp14Chapter8P180">Figure 8.1 </a> shows the home page of WOW's Learning Center. <img src="articleimg/018/001.jpg" width="372" height="313" /></p>
<p align="center"><strong> Figure 8.1: The home page of WOW's Learning Center </strong></p>
 <p>Several items are important to point out. First, notice the logo (8.1A). You'll see that this is consistently placed throughout the entire site. The same is true of the top navigation (8.1B) as well as the side navigation (8.1C), leading to the individual site sections. </p>
 <p>Within the page itself, headers denote the topic of the page at hand (8.1D) as well as any subtopics (8.1E). </p>
 <p>You'll also note a subtle background image that provides shape and movement without intruding on the visual design of the site. </p>
 <p><a href="#wbp14Chapter8P187">Figure 8.2 </a> shows an internal section page that is an excellent example of addressing readability concerns. </p>
 <p align="center"><img src="articleimg/018/002.jpg" width="369" height="272" /></p>
 <p align="center"><strong> Figure 8.2: The Career Center at WOW's Learning Center </strong></p>
 <p>The font color for all body text throughout the site is black and it has a sans-serif face, Arial specifically (8.2A). Line length is variable depending upon browser sizing and resolution, but sufficient margins (8.2B) and white space make it appealing. Note also the use of small paragraphs (8.2C) and bullet points (8.2D) to keep information 'chunky.' <a name="590" id="590"></a><a name="Team-LiB_rUleZZ" id="Team-LiB_rUleZZ"></a></p>
 <p>Finally, while navigation has been kept simple, each section is color-coded with global color design in mind. This has been achieved by using section-specific style sheets. <a href="#wbp14Chapter8P189">Listing 8.3 </a> shows the style sheet for the Business and Law section of the site. <a name="591" id="591"></a><a name="Team-LiB_rUleZZ" id="Team-LiB_rUleZZ"></a><a name="592" id="592"></a><a name="Team-LiB_rUleZZ" id="Team-LiB_rUleZZ"></a></p>
 Listing 8.3: WWW. Business and Legal Section Style for WOW's Learning Center <a name="593" id="593"></a><a name="wbp14Chapter8P189" id="wbp14Chapter8P189"></a>
    <table cellspacing="0" cellpadding="0">
      <tr>
        <td class="bluecell" bgcolor="#000080"><strong><img height="2" alt="Start example" src="_.gif" width="1" /></strong></td>
      </tr>
    </table>
    body { font-family: arial, helvetica, sans-serif; color:#000000; } h1 { font-size:28px; line-height:28px; font-weight:900; color:#884362; background: transparent; } h2 { font-size:24px; line-height:26px; font-weight:900; color:#B86389; background: transparent; } p { font:15px/20px arial, helvetica, sans-serif; text-align: justify; background: transparent; } ul, li { font:15px/20px arial, helvetica, sans-serif; text-align: justify; background: transparent; } a { color: #666; font-size: 13px; text-decoration: none; font-weight: bold; font-family: Verdana, Arial, Helvetica, sans-serif; } a:link { color: #666; } a:visited { color:#666; } a:hover { color:#999; } a:active { color:#cccccc; } a.topnav { border: none; } a.topnav:link { color: #FFF; } a.topnav:visited { color: #FFF; } a.topnav:hover { color: #666; } a.topnav:active { color: #999; } #header { padding:17px 0px 0px 20px; height:33px; border-style:solid; border-color:black; border-width:1px 0px; line-height:11px; background-color:#BFC7B0; } #content { background: transparent; } #menu { padding:10px; background-color:#E6EBDE; border-left: 1px solid #656b78; border-right: none; border-top: none; border-bottom: none; line-height:17px; } #partners { text-align: center; } .small { font: bold 12px/13px Arial, Helvetica, sans-serif; }
    <table cellspacing="0" cellpadding="0">
      <tr>
        <td class="bluecell" bgcolor="#000080"><strong><img height="2" alt="End example" src="_.gif" width="1" /></strong></td>
      </tr>
    </table>
    <table cellspacing="0" cellpadding="0">
      <tr>
        <td></td>
      </tr>
    </table>
    <p><a href="#wbp14Chapter8P301">Figure 8.3 </a> shows the Business and Law page, complete with layout and style. </p>
    <p align="center"><img src="articleimg/018/003.jpg" width="353" height="264" /></p>
    <p align="center"><strong> Figure 8.3: The Business and Law section, with an appropriately austere color scheme </strong></p>
    <p>You'll see that color coding sections in information-rich sites is a popular way to keep the site looking interesting without degrading the integrity of the design. </p>
 <p>Figures <a href="#wbp14Chapter8P303">8.4 </a> and <a href="#wbp14Chapter8P305">8.5 </a> provide a look at two of the other internal pages. <a name="595" id="595"></a><a name="Team-LiB_rUleZZ" id="Team-LiB_rUleZZ"></a></p>
 <p align="center"><img src="articleimg/018/004.jpg" width="354" height="268" /></p>
 <p align="center"><strong> Figure 8.4: The Design and Usability page uses a bright, lively color scheme </strong></p>
 <p align="center"><img src="articleimg/018/005.jpg" width="351" height="262" /></p>
 <p align="center"><strong> Figure 8.5: The Programming section, with colors reflecting technology (silver) and progress (red) </strong></p>]]></description>
</item><item>
<title><![CDATA[Designing in the Garden (8)]]></title>
<link>http://dsp.blueidea.com/thinkfuse/more.asp?name=magazine&amp;id=314</link>
<author>Eric A. Meyer</author>
<pubDate>2005-1-29 11:06:55</pubDate>
<description><![CDATA[<h3>Reflections </h3>
   <p>In many ways, this was one of the most difficult projects I've created for the book. Why? Because I wasn't able to touch the markup and because I was working toward a very specific visual goal. The combination of these two constraints made the process very, very interesting. </p>
   <p>The perfect example is the sidebar positioning. Sure, it's cool that we can use top and margin-top in combination to place the link list, but it turned out to be a fragile solution. Suppose the user bumps the text size up to 120% of normal. The quick summary text immediately flows to four lines, but there's no way for the top value to change as a result (short of using JavaScript, but that's outside the scope of the book). To keep everything aligned, it would need to change to 10.6em . Instead, the sidebar content ends up overlapping the quick summary area. </p>
   <p>As I say, this is the case because the document markup was off limits. If it had been changeable, I would have reworked things so that all of the main column content was in one div so that I could just give it a single border. I also would have moved the link list into that div and then used it as the containing block for the link list. That way, the user could change text size all he wanted, and the sidebar would still line up with the content column. There would be no more danger of overlap. </p>
   <p>This illuminates an issue that is very important but often overlooked: Presentation is dependent on structure . You may have heard the phrase "complete separation of structure and presentation." That's impossible with current technology and may always be impossible, although I'm no prophet and can't guess what might be possible in 5, 10, or 30 years. I can say that, as of now, a document with no structure¡ªthat is to say, no elements, just an undifferentiated sea of text¡ªcannot be styled in any meaningful way. Without paragraphs and headings and div s and anchor elements to mark your hyperlinks, there's no hope of making things look good. <a name="idd1e26270" id="idd1e26270"></a><a name="idd1e26273" id="idd1e26273"></a><a name="idd1e26276" id="idd1e26276"></a><a name="idd1e26279" id="idd1e26279"></a></p>
   <p>Similarly, if the structure of a document doesn't relate very well to the visual result you want (as was the case in this project), you end up either getting very creative or else having to change something. Usually, designers will just change the structure to better meet their layout needs. That's okay; in fact, it's often a good idea. The other possibility is to change the visual layout from what you wanted to what the document's structure can support. That's fine too, although it's generally not as satisfying. </p>
   <p>So always remember that your design will depend on the document's structure. Sometimes that means grafting in an occasional div or span for presentational purposes. As long as you're doing that only when necessary, don't worry about it. If you find yourself frequently nesting span s inside (or around) links, though, you might want to rethink how you're doing whatever you're doing. It's important to keep things as simple and structurally appropriate as possible while still meeting your design needs. </p>
   <p>One last note: My respect for the designers who have created Zen Garden layouts increased substantially by undertaking this project. Adapting a known design to the markup was a challenge; to create a completely new and original design on top of that markup bespeaks incredible skill and talent. To each and every one of the Zen Garden designers, I bow in reverence and humility. Thank you, one and all. </p>
   <h3>Branching Out</h3>
   <p>This time around, I really only have one suggestion for taking the concepts in this chapter further. <a name="idd1e26309" id="idd1e26309"></a></p>
 <a name="ch10pr02" id="ch10pr02"></a>
      <ol>
        <li>
          <p>Create your own Zen Garden design! It doesn't have to be the most beautiful design ever, nor does it have to be submitted, although you're certainly encouraged to do so if you like. All you need to do is create one or more style sheets that present the Zen Garden base file in a new and interesting way. Try different layouts with the markup, making them more and more complex as you learn. Remember: The markup is not to be touched. All you can do is write CSS. When you hit a limitation, see if you can find a creative way around it. Try things that don't seem like they have a chance in Hades of working. When you make a mistake, stop before you undo it. Was the result interesting in a way you didn't expect? If so, try following that path instead of the one you meant to follow. You never know what interesting technique or effect you might find just by working in the Zen Garden. </p>
        </li>
      </ol>]]></description>
</item><item>
<title><![CDATA[Designing in the Garden (7)]]></title>
<link>http://dsp.blueidea.com/thinkfuse/more.asp?name=magazine&amp;id=313</link>
<author>Eric A. Meyer</author>
<pubDate>2005-1-29 11:06:55</pubDate>
<description><![CDATA[<h3>Adding a PNG </h3>
   <p>You may recall that fairly early in the project, we added the image of the big flower to the design. That image file is a GIF89a with a transparent area (skip back to <a href="ch10lev1sec4.html#ch10fig05">Figure 10.5 </a> if you don't remember clearly how it looks). At the time, there was a brief mention that a PNG image would be a much prettier solution, and that we'd talk about it at the end of the project. <a name="idd1e25768" id="idd1e25768"></a><a name="idd1e25773" id="idd1e25773"></a><a name="idd1e25780" id="idd1e25780"></a><a name="idd1e25787" id="idd1e25787"></a><a name="idd1e25792" id="idd1e25792"></a><a name="idd1e25795" id="idd1e25795"></a></p>
 <p>Well, here we are at the end of the project, so let's talk about using a PNG instead of a GIF. </p>
   <p>From a visual design perspective, the primary advantage of PNG is that a PNG file can contain gamma-correction information (so you don't have to worry about your images becoming lighter or darker in different operating systems) and it can include up to a full 16-bit alpha channel. This allows for translucency and transparency that's far more sophisticated than the simple on/off transparency of GIF files. In a GIF, a pixel is either opaque or transparent; there's no in-between. In a PNG image, every pixel can be semi-opaque to whatever degree is desired. So, creating a PNG that fades smoothly from black at the top to totally transparent at the bottom of the image is a snap. <a name="idd1e25823" id="idd1e25823"></a><a name="idd1e25828" id="idd1e25828"></a><a name="idd1e25835" id="idd1e25835"></a><a name="idd1e25842" id="idd1e25842"></a><a name="idd1e25847" id="idd1e25847"></a><a name="idd1e25850" id="idd1e25850"></a></p>
   <p>Let's take a look at <a href="#ch10fig23">Figure 10.23 </a>, which shows the PNG we'll be using as well as the channels in the file. </p>
   <h5><a name="ch10fig23" id="ch10fig23"></a>Figure 10.23. The PNG image and the RGBA channels it contains. </h5>
 <img src="articleimg/017/023.jpg" width="400" height="307" />
 <p>The red, green, and blue (RGB) channels are straightforward enough. The Alpha (A) channel, the one at the bottom, shows the transparency mask for the image. Any area of the channel that's fully black is fully transparent, and the fully white areas are opaque. Any shade of gray represents a semi-opaque area. The image itself is shown composited over a white background. <a name="idd1e25878" id="idd1e25878"></a><a name="idd1e25881" id="idd1e25881"></a></p>
 <p>Given the alpha channel mask, the shadow will be translucent, and the area around the flower will be totally transparent. We can't just replace the GIF with this PNG, though, because the background of the page header stops right at the edge of the flower (refer to <a href="ch10lev1sec4.html#ch10fig04">Figure 10.4 </a>). We'll need a new masthead background that stretches all the way across the top of the design, one like that shown in <a href="#ch10fig24">Figure 10.24 </a>. </p>
 <h5><a name="ch10fig24" id="ch10fig24"></a>Figure 10.24. The new, extended masthead background. </h5>
 <img src="articleimg/017/024.jpg" width="400" height="120" />
 <p>If we wanted to really be thorough, we'd fill in the rest of that white area with pictures, but since the flower will be placed over that section of the background, we can skip it. Let's replace the old images with the new background ( pageHeader2.jpg ) and PNG ( ph-flower2.png ) images. <a name="idd1e25914" id="idd1e25914"></a><a name="idd1e25919" id="idd1e25919"></a><a name="idd1e25926" id="idd1e25926"></a><a name="idd1e25933" id="idd1e25933"></a><a name="idd1e25938" id="idd1e25938"></a><a name="idd1e25941" id="idd1e25941"></a></p>
 #pageHeader {background: url( pageHeader2.jpg ) 0 0 no-repeat; height: 157px; width: auto; } #pageHeader h1 {background: url( ph-flower2.png ) 0 0 no-repeat; height: 330px; width: 250px; position: absolute; z-index: 101; top: -95px; right: -80px; margin: 0;}
    <p>At this point, the PNG will work its magic in most current browsers. There is a glaring exception: Internet Explorer for Windows. (Even IE5/Mac will handle the PNG correctly.) It will display the PNG, but it won't do anything with the alpha channel. That sort of defeats the purpose. Fortunately, we can hack IE/Win to recognize and handle the alpha channel with an HTC file, otherwise known as a behavior file. By using a PNG-opacity behavior file (there are several available on the Web, although most concentrate on fixing inline PNGs instead of background PNGs) and hooking it into our style sheet, we can get the result shown in <a href="#ch10fig25">Figure 10.25 </a> in IE/Win as well as Opera, Mozilla, Firefox, IE/Mac, Safari, and such. <a name="idd1e25960" id="idd1e25960"></a><a name="idd1e25965" id="idd1e25965"></a><a name="idd1e25970" id="idd1e25970"></a><a name="idd1e25975" id="idd1e25975"></a><a name="idd1e25982" id="idd1e25982"></a><a name="idd1e25989" id="idd1e25989"></a><a name="idd1e25994" id="idd1e25994"></a><a name="idd1e25997" id="idd1e25997"></a></p>
    #pageHeader h1 {background: url(ph-flower2.png) 0 0 no-repeat; height: 330px; width: 250px; position: absolute; z-index: 101; top: -95px; right: -80px; margin: 0; behavior: url(png-opacity.htc) ;}
    <h5><a name="ch10fig25" id="ch10fig25"></a>Figure 10.25. The design with a PNG added for extra visual tastiness. </h5>
 <img src="articleimg/017/025.jpg" width="400" height="322" />
 <p>As we discussed in <a href="ch06.html#ch06">Project 6 </a>, behavior is not part of CSS, but is instead a CSS-like statement that's proprietary to Internet Explorer for Windows. Thus, using a behavior declaration will prevent your CSS from validating. There's really no way around that. </p>
 <p>There is another potential drawback to using a PNG. Because the image contains not only color information but the alpha channel, it tends to be larger than other image file formats. If the PNG uses 32-bit color, which it's perfectly capable of doing, that will drive up the file size even further; the advantage is that the image can have a colorspace of millions of colors instead of just 256 colors or 32,768 colors. PNGs also use lossless compression, which can mean larger files. JPEG, by contrast, uses a lossy compression, which is why you get "wrinkles" in JPEGs that have been highly compressed. </p>
 <p>What does that mean in real terms? Well, the GIF version of the flower is a 32KB file. The PNG saved out by Photoshop was a 152KB file. That's a whole lot of extra file size just to get a translucent shadow! <a name="idd1e26044" id="idd1e26044"></a><a name="idd1e26049" id="idd1e26049"></a><a name="idd1e26056" id="idd1e26056"></a><a name="idd1e26063" id="idd1e26063"></a><a name="idd1e26068" id="idd1e26068"></a><a name="idd1e26071" id="idd1e26071"></a></p>
 <p>It is possible to lower the PNG's file size with utilities; Porter Glendinning, one of the book's technical reviewers, was able to get the flower PNG down to 60KB or so using various utilities. That's still twice the size of the GIF. Is it worth it? Perhaps, and perhaps not. But then Porter ran the image through the utility pngquant and got it down to 28KB¡ªabout 4KB smaller than the original GIF, and looking much, much better to boot. </p>
 <p>So why aren't PNGs used all the time? There are two reasons. The first is the lack of convenient support by IE/Win; most authors wouldn't think that a behavior file called in via a style sheet would be able to fix an image format's support. (It certainly wouldn't have occurred to me.) </p>
 <p>The second is that most commercial tools, such as Photoshop, do a very poor job of dealing with PNGs in an intelligent way. Typically, you get extreme choices like being able to save your PNG as an 8-bit color file with on/off transparency (basically, GIF in another format), which means a small file size; or else a full 24-bit color with an 8-bit alpha channel, which leads to really big files (the number 152KB comes to mind). This is very likely why PNGs have a reputation for being pretty but incredibly bloated. The fault, it would seem, lies not with the format but with the tools. <a name="idd1e26121" id="idd1e26121"></a><a name="idd1e26126" id="idd1e26126"></a><a name="idd1e26133" id="idd1e26133"></a><a name="idd1e26140" id="idd1e26140"></a><a name="idd1e26145" id="idd1e26145"></a><a name="idd1e26148" id="idd1e26148"></a></p>
 <p>If authors were able to pick in-between possibilities, like an 8-bit color image with a full alpha channel, then we'd be getting somewhere. As it stands, authors could start using PNGs in their designs in three easy steps: </p>
 <a name="ch10pr01" id="ch10pr01"></a>
    <ul>
      <li>
        <p>Create PNGs with full alpha channels for use on the Web. </p>
      </li>
      <li>
        <p>Run the resulting PNGs through freely available optimization utilities like pngquant . </p>
      </li>
      <li>
        <p>Hook in an HTC file to get IE/Win to play nice. </p>
      </li>
    </ul>
 <p>The lack of widespread support for PNGs in IE/Win and commonly used programs has undoubtedly hampered their adoption, and so there isn't the same breadth of knowledge that GIFs and JPEGs enjoy. It may be that all it will take to correct that situation is for authors to decide to use PNGs on a more frequent basis, and to share what they learn with one another. <a name="idd1e26196" id="idd1e26196"></a><a name="idd1e26201" id="idd1e26201"></a><a name="idd1e26208" id="idd1e26208"></a><a name="idd1e26215" id="idd1e26215"></a><a name="idd1e26220" id="idd1e26220"></a><a name="idd1e26223" id="idd1e26223"></a></p>]]></description>
</item><item>
<title><![CDATA[Designing in the Garden (6)]]></title>
<link>http://dsp.blueidea.com/thinkfuse/more.asp?name=magazine&amp;id=312</link>
<author>Eric A. Meyer</author>
<pubDate>2005-1-29 11:06:55</pubDate>
<description><![CDATA[<h4>Sidebar Style </h4>
   <p>This is actually one of the easiest parts of the project because all we have to do is put the list of links where we want it and style its contents. Thanks to the work we've already put in, we don't have to worry about the background or any of that other stuff. It's already been done for us. <a name="idd1e25187" id="idd1e25187"></a><a name="idd1e25194" id="idd1e25194"></a><a name="idd1e25201" id="idd1e25201"></a></p>
   <p>So let's position the link list. To start with, we'll position it in the top-right corner of its containing block and define its width to be 216 pixels (the same width as the sidebar pattern). </p>
   <span class="code">#footer a {color: rgb(207,216,214); line-height: 1em; font-size: 1.25em; font-weight: 100;} #linkList {position: absolute; z-index: 11; width: 216px; top: 0; right: 0;} &lt;/style&gt; </span>
   <p>As always, an absolutely positioned element's containing block is the closest ancestor element that's been absolutely or relatively positioned. For the link list, that's the container itself, so at the moment the link list is overlapping the flower in a pretty serious way. We need to get it down into the sidebar where it belongs. </p>
   <p>Here's where it gets a little challenging, but not much. A quick measurement shows that the distance from the top of the container to the top of the quick summary is 157 pixels. No problem there. But what about the height of the quick summary? It wasn't set in pixels, so instead it's dependent on the height of its content. If we add up the top and bottom padding and line heights inside the quick summary, we get a result of 8.5em. We'll add just a bit to that and get 8.6em. To add the two together, we'll set the link list's top to be 157px and its margin-top to be 8.6em , with the result shown in <a href="#ch10fig17">Figure 10.17 </a>. <a name="idd1e25250" id="idd1e25250"></a><a name="idd1e25257" id="idd1e25257"></a><a name="idd1e25264" id="idd1e25264"></a></p>
   <span class="code">#linkList {position: absolute; z-index: 11; width: 216px; top: 157px ; right: 0; margin-top: 8.6em; }
      </span>   
   <h5><a name="ch10fig17" id="ch10fig17"></a>Figure 10.17. The link list is positioned and is ready for styling. </h5>
   <p><img src="articleimg/017/017.jpg" width="400" height="325" /></p>
   <p>Okay, the links are where we want them, but they don't look much like what was in the original design. As an example, these lists have bullets, which the design does not. So we'll just remove them from the list items. <a name="idd1e25287" id="idd1e25287"></a><a name="idd1e25294" id="idd1e25294"></a><a name="idd1e25301" id="idd1e25301"></a><a name="idd1e25308" id="idd1e25308"></a></p>
 <span class="code">#linkList {position: absolute; z-index: 11; width: 216px; top: 157px; right: 0; margin-top: 8.6em;} #linkList li {list-style: none;} &lt;/style&gt;
      </span>    
   <p>We don't want to lose the indentation of the lists since that was a feature of the design, but we don't really want to leave the indentation up to chance, either. So we'll explicitly set some margins for the unordered lists within the link list div and make sure they have no padding. </p>
    <span class="code">#linkList {position: absolute; z-index: 11; width: 216px; top: 157px; right: 0; margin-top: 8.6em;} #linkList ul {margin: 0.5em 1em 0 2em; padding: 0;} #linkList li {list-style: none;}
      </span>
      <p>The links themselves could use a little help since they need to be italicized, green, and slightly larger than normal text. They are also, in the design, all lowercase. A quick set of declarations gives us all that, as <a href="#ch10fig18">Figure 10.18 </a> shows. <a name="idd1e25334" id="idd1e25334"></a><a name="idd1e25337" id="idd1e25337"></a><a name="idd1e25344" id="idd1e25344"></a><a name="idd1e25351" id="idd1e25351"></a></p>
    <span class="code">#linkList li {list-style: none;} #linkList a {color: rgb(99,131,101); font: italic 1.15em Times, serif; text-transform: lowercase;} &lt;/style&gt;
    </span>    
    <h5><a name="ch10fig18" id="ch10fig18"></a>Figure 10.18. Basic styling is applied to the lists within the sidebar. </h5>
    <p><img src="articleimg/017/018.jpg" width="400" height="322" /></p>
    <p>It's progress, but it's also a little crowded in the sidebar all of a sudden. We need to spread the entries apart, and so we shall, but first let's consider the three h3 s ("Design List" and so on). </p>
 <p>In <a href="ch10lev1sec3.html#ch10fig01">Figure 10.1 </a>, they're each in a lovely script font and have some unique underlining effects. That's obviously well beyond the capabilities of regular text, so we'll have to use the three images shown in <a href="#ch10fig19">Figure 10.19 </a>. <a name="idd1e25388" id="idd1e25388"></a><a name="idd1e25395" id="idd1e25395"></a><a name="idd1e25402" id="idd1e25402"></a></p>
 <h5><a name="ch10fig19" id="ch10fig19"></a>Figure 10.19. The three images used to replace the heading text in the sidebar. </h5>
 <p><img src="articleimg/017/019.jpg" width="400" height="313" /></p>
 <p>As you can see, the images are all GIFs with transparent parts, which will enable them to blend nicely with the sidebar background. </p>
 <p>To place them, we'll actually style all three h3 elements in the sidebar at once. This will let us set not only common margins but also the same width and height for each one. We'll also give them all the "Resources" image for a background, prevent it from repeating, and place it 10 pixels to the right of the element's left edge and centered vertically. <a name="idd1e25426" id="idd1e25426"></a><a name="idd1e25433" id="idd1e25433"></a><a name="idd1e25440" id="idd1e25440"></a><a name="idd1e25447" id="idd1e25447"></a><a name="idd1e25454" id="idd1e25454"></a></p>
 #linkList a {color: rgb(99,131,101); font: italic 1.15em Times, serif; text-transform: lowercase;} #linkList h3 {margin: 1em 0 0; width: 216px; height: 35px; background: url(resources.gif) 10px 50% no-repeat;} &lt;/style&gt;
    <p>Having done this, we can now leave it in place and just change the images used in the background of the "Design List" and "Archives" headings. </p>
    #linkList h3 {margin: 1em 0 0; width: 216px; height: 35px; background: url(resources.gif) 10px 50% no-repeat;} #lselect h3 {background-image: url(design-list.gif);} #larchives h3 {background-image: url(archives.gif);} &lt;/style&gt;
    <p>By taking this approach, it becomes much easier to rework the heading styles as a group. If we ever decide to change the placement of the images within their headings, we just have to edit the background-position keywords in the #linkList h3 rule. </p>
    <p>The last thing we need to do to the headings is remove the text from the foregrounds, with the end result shown in <a href="#ch10fig20">Figure 10.20 </a>. <a name="idd1e25490" id="idd1e25490"></a><a name="idd1e25497" id="idd1e25497"></a><a name="idd1e25504" id="idd1e25504"></a></p>
    #larchives h3 {background-image: url(archives.gif);} #linkList h3 span {display: none;} &lt;/style&gt;
    <h5><a name="ch10fig20" id="ch10fig20"></a>Figure 10.20. The headings are replaced with images. </h5>
    <p><img src="articleimg/017/020.jpg" width="400" height="323" /></p>
    <p>Now for those links¡ªthey've been scrunched together for far too long. Since the "Design List" links are styled differently than those in the other two sidebar sections, we'll take them each in turn. </p>
 <p>If you look closely at the entries in the "Design List" in the visual design, you'll see that the second line of each entry (the author line) is a little smaller than normal. The name of each design, though, is about as big as regular text. If we just set the list items in this list to be about 85% of normal size, we'll be close to getting this exact effect. That's because we already wrote a rule ( #linkList a ) that sets the links in the sidebar to be 1.15 times the size of their parent's font-size . If we reduce the size of the list items to 0.85 times normal, the links will be 0.9775 times normal size¡ªclose enough to 1.0 to satisfy our needs. </p>
 <p>So we'll do that and add a bottom margin to the list items at the same time. <a name="idd1e25539" id="idd1e25539"></a><a name="idd1e25546" id="idd1e25546"></a><a name="idd1e25553" id="idd1e25553"></a></p>
 <span class="code">#linkList h3 span {display: none;} #lselect li {font-size: 85%; margin-bottom: 1.5em;} &lt;/style&gt;
    </span>    
 <p>Okay, now for the links themselves. Each design name needs to be on its own line and boldfaced. The name should also be all lowercase and the letters spread out a bit. We can easily make this the case for all links in the "Design List" section. </p>
    <span class="code">#lselect li {font-size: 85%; margin-bottom: 1.5em;} #lselect li a {display: block; font-weight: bold; letter-spacing: 0.2em; text-transform: lowercase;} &lt;/style&gt;
    </span>    
    <p>Oops¡ªwe just applied these styles to all of the links in the "Design List," including the links containing the author names, which aren't supposed to look anything like that. In fact, they're just supposed to be boldfaced text¡ªthe same size and appearance as the word "by" that sits next to each name. And, for that matter, the author names have to sit next to the word "by," which means that they can't be block-level. In other words, we need to undo all the styles we just applied to them. </p>
    <p>Fortunately, the author-name links share one thing in common: a class of c . With that class to guide our selector, we can fix the link appearance in just four declarations, with the result shown in <a href="#ch10fig21">Figure 10.21 </a>. <a name="idd1e25592" id="idd1e25592"></a><a name="idd1e25599" id="idd1e25599"></a><a name="idd1e25606" id="idd1e25606"></a></p>
    <span class="code">#lselect li a {display: block; font-weight: bold; letter-spacing: 0.2em; text-transform: lowercase;} #lselect li a.c {display: inline; font: bold 1em Times, serif; letter-spacing: 0; text-transform: none;} &lt;/style&gt;
    </span>    
    <h5><a name="ch10fig21" id="ch10fig21"></a>Figure 10.21. Spreading out the "Design List" links and formatting them as desired. </h5>
    <p><img src="articleimg/017/021.jpg" width="400" height="324" /></p>
    <p>We are very, very close to being done. Really, all we have to do now is get the links in the "Archives" and "Resources" sections to look like they do in the original design. Although they are spread out a bit, it isn't as much as the links in the "Design List" section. So we'll go with a half em. <a name="idd1e25629" id="idd1e25629"></a><a name="idd1e25636" id="idd1e25636"></a><a name="idd1e25643" id="idd1e25643"></a></p>
 <span class="code">#lselect li a.c {display: inline; font: bold 1em Times, serif; letter-spacing: 0; text-transform: none;} #larchives li, #lresources li {margin-bottom: 0.5em;} &lt;/style&gt;
    </span>    
 <p>The other difference is that the links in this section are a much lighter weight than those in the "Design List" section. Ideally, we'd set them to be incredibly light using something like font-weight: 100; , but that isn't really very well supported. Instead, we'll blend the color of the links into the background a little more than the dark green of the "Design List" links, using a lighter green to lessen the visual weight. </p>
    <span class="code">#larchives li, #lresources li {margin-bottom: 0.5em;} #larchives li a, #lresources li a {color: rgb(126,164,139);} &lt;/style&gt;
    </span>    
    <p>With that small little color change, which has the result shown in <a href="#ch10fig22">Figure 10.22 </a>, we've reached the end of our style sheet, which is given in <a href="#ch10list04">Listing 10.4 </a>. <a name="idd1e25677" id="idd1e25677"></a><a name="idd1e25684" id="idd1e25684"></a><a name="idd1e25691" id="idd1e25691"></a></p>
    <h5><a name="ch10list04" id="ch10list04"></a>Listing 10.4. The Complete Style Sheet </h5>
    <span class="code">body {margin: 0; padding: 0; text-align: center; color: #000; background: #FFF;} acronym {border: none;} a {text-decoration: none;} a:link {color: rgb(179,63,96);} a:visited {color: rgb(90,32,48);} a:hover {text-decoration: underline;} #container {width: 647px; margin: 75px auto 0; padding: 0; text-align: left; position: relative;} #pageHeader {background: url(pageHeader.jpg) 0 0 no-repeat; height: 157px; width: auto;} #pageHeader h1 {background: url(ph-flower.gif) 0 0 no-repeat; height: 330px; width: 250px; position: absolute; z-index: 101; top: -95px; right: -80px; margin: 0;} #pageHeader h1 span {visibility: hidden;} #pageHeader h2 {position: absolute; z-index: 102; top: 134px; right: 140px; margin: 0; padding: 0; color: rgb(91,131,104); text-transform: lowercase; letter-spacing: 0.2em; font: bold italic 1.1em/1em Times, serif; text-align: right;} #pageHeader h2 acronym {text-transform: uppercase;} #quickSummary {font: italic 1em/2 Times, "Times New Roman", serif; background: rgb(94%,98%,96%) url(quickSummary.jpg) 0 100% no-repeat; color: rgb(42,92,42); <a name="idd1e25705" id="idd1e25705"></a><a name="idd1e25712" id="idd1e25712"></a><a name="idd1e25719" id="idd1e25719"></a> margin: 1px 0; padding: 1em 180px 1.5em 1.5em;} #quickSummary p {display: inline;} #quickSummary p.p2 {margin-left: 0.25em;} #quickSummary p.p2:after {content: ".";} #preamble, #supportingText {padding-right: 217px;} #preamble p, #supportingText p {font-size: 90%; line-height: 1.66em; margin: 0 1.5em; padding: 0.5em 0;} #preamble h3, #supportingText h3 {letter-spacing: 0.1em; font: italic 1.2em Times, "Times New Roman", serif; color: rgb(107,153,139); margin: 1em 0 0.5em 0.5em;} #preamble {border-top: 1px solid rgb(184,214,194); background: url(side.jpg) 100% 100% repeat-y;} #supportingText {background: url(side.jpg) 100% 0 repeat-y;} #preamble, #explanation, #participation, #benefits, #requirements { border-left: 1px solid rgb(184,214,194); padding-top: 1px; padding-bottom: 1px;} #requirements {border-bottom: 1px solid rgb(184,214,194); background: url(main.jpg) 100% 100% no-repeat; padding-bottom: 100px;} #footer {margin: 0 -217px 0 0; height: 123px; background: #FFF url(footer.jpg) 100% 1px no-repeat; padding: 60px 1em 0 0.5em;} #footer a {color: rgb(207,216,214); line-height: 1em; font-size: 1.25em; font-weight: 100;} #linkList {position: absolute; z-index: 11; width: 216px; top: 157px; right: 0; margin-top: 8.6em;} #linkList ul {margin: 0.5em 1em 0 2em; padding: 0;} #linkList li {list-style: none;} #linkList a {color: rgb(99,131,101); font: italic 1.15em Times, serif; text-transform: lowercase;} #linkList h3 {margin: 1em 0 0; width: 216px; height: 35px; background: url(resources.gif) 10px 50% no-repeat;} #lselect h3 {background-image: url(design-list.gif);} #larchives h3 {background-image: url(archives.gif);} #linkList h3 span {display: none;} #lselect li {font-size: 85%; margin-bottom: 1.5em;} #lselect li a {display: block; font-weight: bold; letter-spacing: 0.2em; text-transform: lowercase;} #lselect li a.c {display: inline; font: bold 1em Times, serif; letter-spacing: 0; text-transform: none;} #larchives li, #lresources li {margin-bottom: 0.5em;} #larchives li a, #lresources li a {color: rgb(126,164,139);} <a name="idd1e25727" id="idd1e25727"></a><a name="idd1e25734" id="idd1e25734"></a><a name="idd1e25741" id="idd1e25741"></a>
    </span>    
    <h5><a name="ch10fig22" id="ch10fig22"></a>Figure 10.22. The "Archive" and "Resources" links are styled to have a little less visual weight. </h5>
    <p><img src="articleimg/017/022.jpg" width="400" height="323" /></p>]]></description>
</item>
</channel>
</rss>