/* ================================================================ This copyright notice must be kept untouched in the stylesheet at all times. The original version of this stylesheet and the associated (x)html is available at http://www.cssplay.co.uk/menus/three-up-two-down.html Copyright (c) 2005-2007 Stu Nicholls. All rights reserved. This stylesheet and the associated (x)html may be modified in any way to fit your requirements. =================================================================== */ /* Set up the containing div with a background image - not supplied with the zip file */ #outer {width:729px; height:360px; background:#fff url(photographer1.jpg); border:1px solid #000; position:relative; color:#000;} /* The menu styling */ /* Remove the padding, margins and bullets from the lists */ .menu, .menu ul {list-style-type:none; padding:0; margin:0; width:200px;} .menu { margin-top: 0px; margin-bottom: 2px; margin-left: 0px; padding-bottom: 0px; } /* for IE7 to position the tables correctly */ .menu {position:relative; float:left;} /* for IE5.5 and IE6 to position the tables corectly */ * html .menu {position:static;} /* Set up the size of the list items and float left to place inline */ .menu li { display:block; float:left; width:200px; background:#DADADA; margin:0px 0px 2px 0px; border-bottom:1px solid #C0C0C0; text-align: left; } /* Give the sub level list item a diffent background color to make it stand out. */ .menu li.sub {background:;} .menu li.sub2 {background:;} /* Style and position the table so it takes no part in the menu function. The font size is necessary for IE5.5 */ .menu table {border-collapse:collapse; width:0; height:22px; position:absolute; bottom: 0; top:auto; left:0px;} /* Default link styling */ .menu li.sub a {display:block; color:; font-size:11px ;font-weight:bold; line-height:16px; text-decoration:none; padding-left:15px; padding-right:5px; padding-top:4px; padding-bottom:4px; } .menu li.sub2 a {display:block; color:; font-size:11px ;font-weight:bold; line-height:16px; text-decoration:none; padding-left:15px; padding-right:5px; padding-top:4px; padding-bottom:4px; } /* Style the list OR link hover. Depends on which browser is used */ .menu div a {display:block; color:; font-size:11px ;font-weight:bold; line-height:16px; text-decoration:none; padding-left:15px; padding-right:5px; padding-top:4px; padding-bottom:4px; height:1px; } .menu div a:hover {color:; background:;} /* Style the list OR link hover. Depends on which browser is used */ .menu a:hover {color:; background:;} /* For all browsers except IE5.5 and IE6 to keep the hover state through the menu cascade. */ .menu :hover > a {color:; background:;} /* Give the link OR list a relative position. Depends on which browser is used */ .menu li.sub:hover, .menu li.sub a:hover {color:; background:; position:relative;} .menu li.sub2:hover, .menu li.sub2 a:hover {color:; background:; position:relative;} /* keep the next level invisible by placing it off screen. */ .menu ul, .menu :hover ul ul, .menu :hover ul :hover ul ul, .menu :hover ul :hover ul :hover ul ul, .menu :hover ul :hover ul :hover ul :hover ul ul {position:absolute;left:-9999px; width:200ppx; top:0;} /* Position the flyout sub levels to pull-up or drop-down when hovering over the sub level list OR link. the transparent gif is for IE7 only and need not actually exist. File transparent.gif supplied with zip file */ /* pull up */ .menu :hover ul, .menu :hover ul :hover ul :hover ul, .menu :hover ul :hover ul :hover ul :hover ul :hover ul {padding:20px 20px 20px 0; left:200px; bottom:auto; top:-21px; background:transparent url(trans.png);} /* drop down */ .menu :hover ul :hover ul, .menu :hover ul :hover ul :hover ul :hover ul {padding:20px 20px 20px 0; left:200px; top:-21px; bottom:auto; }