11.11.2014 Views

Professional Web Design: Techniques and Templates, Fourth Edition

Professional Web Design: Techniques and Templates, Fourth Edition

Professional Web Design: Techniques and Templates, Fourth Edition

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

442<br />

Chapter 16 ■ Tips <strong>and</strong> <strong>Techniques</strong><br />

#a5-menu a:hover {<br />

background: url(images/bg-menu-on.gif) no-repeat 0px 0px;<br />

font-weight:bold;<br />

color:#ffffff;<br />

}<br />

3. The menu items need to be added to a container with the ID value of<br />

a5-menu.<br />

<br />

home<br />

about<br />

services<br />

ezine<br />

contact<br />

<br />

Figure 16.18 illustrates how the menu is displayed <strong>and</strong> how it appears when an<br />

item is moused over. Notice that the background image changes <strong>and</strong> the Services<br />

link becomes bold.<br />

Note<br />

A more complex CSS menu that provides drop-down menus is included on the DVD. It allows for<br />

multi-level flyouts <strong>and</strong> customization possibilities.<br />

Figure 16.18<br />

CSS-driven mouseover in the menu section of the site. Copyright † 2006 Innergy Coaching, LLC. Used<br />

with permission.<br />

Game Developing GWX

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!