2 replies [Last post]
Last seen: 11 years 14 weeks ago
Joined: 2009-03-29
Posts: 2
Points: 0

Trying to create a dropdown menu toolbar... Would have 5 tabed images accross and two of them would have a drop down on hover.

I am unable to get this to work, I cannot figure out how i would put more then two or the tool bar images in a row and only have the hover effect one of them...

Mod Edit: link moved from separate thread

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
<html xmlns="http://www.w3.org/1999/xhtml">
* {
	margin: 0;
	padding: 0;
img {
	display: block;
	border: none;
body {
	font: normal 62.5% Verdana, Arial, Helvetica, sans-serif;
	color: #595959;
	background: #e5f0ff;
#container {
	width: 980px;
	margin: 0 auto;
	padding: 0 2px;
	position: relative;
	font-size: 1.0em;
div.box div.links { display:none; } 
div.box:hover div.links { display:inline; } 
div.box div.links:hover { display:inline !important;} 
.hoverbox:hover{background: transparent url(images/solutionback.png); z-index: -1; width: 557px; height: 244px;}
					div.aCol {
						width: 160px;
						height: 148px;
						padding: 15px 0 0 16px; 
						float: left;
					.aCol ul{ list-style-type: none; }
					div.bCol {
						width: 150px;
						height: 148px;
						padding: 15px 0 0 10px;
						float: left;
					.bCol ul{ list-style-type: none; }
					div.cCol {
						width: 174px;
						height: 148px;
						padding: 15px 0 0 20px;
						float: left;
					.cCol ul{ list-style-type: none; }
					div.footer {
						padding: 12px;
						clear: both;
						line-height: 16px;
	<div id="container">
<img src="images/Home.png" />
		<div class="box"> 
<div class="hoverbox"><img src="images/Solutions2.png" />
<div class="links">
<div class="aCol">
	<h1>Marketing Storefront</h1>
		<li><a href="#">Digital Storefront</a></li>
		<li><a href="#">Digital Asset Management</a></li>
		<li><a href="#">Collateral Customization</a></li>
		<h1>Direct Marketing</h1>
		<li><a href="#">Direct Mail</a></li>
		<li><a href="#">E-Mail Marketing</a></li>
		<li><a href="#">Personalized URLs (PURLS)</a></li>
<div class="bCol">
		<li><a href="#">Literature Fulfillment</a></li>
		<li><a href="#">Promotional Fulfillment</a></li>
		<li><a href="#">Kitting & Assembly</a></li>
		<h1>Inventory Management</h1>
		<li><a href="#">Marketing Solutions</a></li>
		<li><a href="#">Marketing Solutions</a></li>
		<li><a href="#">Marketing Solutions</a></li>
<div class="cCol">
	<h1>Print Solutions</h1>
		<li><a href="#">Digital Print</a></li>
		<li><a href="#">Commercial Print</a></li>
		<li><a href="#">Print On Demand</a></li>
		<h1>Promotional Products</h1>
		<li><a href="#">e-Store Solutions</a></li>
<div class="footer">
	<h1>My Marketing Solutions</h1>
<img src="images/Home.png" />

envelopes.png1.46 KB
Home.png3.55 KB
solutionback.png2.91 KB
Solutions.png3.89 KB
Solutions2.png4.03 KB
Topeka, KS.
Last seen: 8 years 32 weeks ago
Topeka, KS.
Timezone: GMT-6
Joined: 2006-10-18
Posts: 116
Points: 71

This dropdown article should

This dropdown article should help.

Tyssen's picture
Last seen: 5 years 38 weeks ago
Timezone: GMT+10
Joined: 2004-05-01
Posts: 8201
Points: 1386

Or this one which uses a

Or this one which uses a more accessible image replacement technique.

How to get help
Post a link. If you can't post a link, jsFiddle it.
My blog | My older articles | CSS Reference