Hello,
Recently I revised my CSS code in an attempt to fix a problem (of my own 
making, no doubt) with how a menu is displayed in IE7 ... in FF and IE6 the 
fly-out sub-menu items aligned properly with the relevant main menu item ... in 
IE7 the spacing if off slightly.  

The relevant code (the original filter for IE6 and the new one for IE7) is as 
follows (This code is held in a unique stylesheet for IE filters):

* html #sidebar ul li { float: left; height: 1%; }
* html #sidebar ul li a { height: 1%; }

*:first-child+html #sidebar ul li { min-height: 1px; }
*:first-child+html #sidebar ul li a { min-height: 1px; }


In my master stylesheet, the menu styling is as follows:

#sidebar { float: left; width: 150px; margin: 0; padding: 0; font-size: 85%; }
#sidebar ul { margin: 0; padding: 0; width: 150px; list-style: none; 
border-bottom: 1px solid #000; }
#sidebar ul li {  position: relative; }
#sidebar li ul { position: absolute; left: 149px; top: 0; display: none; }
#sidebar ul li a { 
 display: block;
 text-decoration: none;
 color: #000;
 background: #ffd;
 padding: 4px 4px 4px 6px;
 border-right: 1px solid #000;
 border-top: 1px solid #000;
 border-bottom: none;
 border-left: none;
}
#sidebar li.homePage a { border-top: none; }
#sidebar li.overflow a { border-left: 1px solid #000 }

The inspiration for this design came from an A List Apart although I can't 
recall the specifics.

The menu may be found at www.langleyunited.org.

Any help or advice will be much appreciated.  
Sincerely,
R.A. Paterson
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to