node-menunav-core.css revision 15dcde6219568367fbadd9c1f310447e9258ae17
f07bfd5a05d43a6d11f7cd442f085149092dea88pjrm.yui-menu .yui-menu {
f07bfd5a05d43a6d11f7cd442f085149092dea88pjrm position: absolute;
f07bfd5a05d43a6d11f7cd442f085149092dea88pjrm z-index: 1;
f07bfd5a05d43a6d11f7cd442f085149092dea88pjrm.yui-menu .yui-shim {
f07bfd5a05d43a6d11f7cd442f085149092dea88pjrm Styles for the <iframe> shim used to prevent <select> elements from poking through
f07bfd5a05d43a6d11f7cd442f085149092dea88pjrm submenus in IE < 7. Note: For peformance, creation of the <iframe> shim for each submenu
f07bfd5a05d43a6d11f7cd442f085149092dea88pjrm is deferred until it is initially made visible by the user.
f07bfd5a05d43a6d11f7cd442f085149092dea88pjrm position: absolute;
f07bfd5a05d43a6d11f7cd442f085149092dea88pjrm z-index: -1;
f07bfd5a05d43a6d11f7cd442f085149092dea88pjrm opacity: 0;
0fc5ce7045233dae7e15fdc86774370f1b1d73cbjohanengelen filter: alpha(opacity=0); /* For IE since it doesn't implement the CSS3 "opacity" property. */
0fc5ce7045233dae7e15fdc86774370f1b1d73cbjohanengelen border: none;
f07bfd5a05d43a6d11f7cd442f085149092dea88pjrm height: 100%;
f07bfd5a05d43a6d11f7cd442f085149092dea88pjrm width: 100%;
f07bfd5a05d43a6d11f7cd442f085149092dea88pjrm.yui-menu-hidden {
f07bfd5a05d43a6d11f7cd442f085149092dea88pjrm Position hidden menus outside the viewport boundaries to prevent them from
f07bfd5a05d43a6d11f7cd442f085149092dea88pjrm triggering scrollbars on the viewport.
f07bfd5a05d43a6d11f7cd442f085149092dea88pjrm top: -10000px;
f07bfd5a05d43a6d11f7cd442f085149092dea88pjrm left: -10000px;
f07bfd5a05d43a6d11f7cd442f085149092dea88pjrm Using "visibility:hidden" over "display" none because:
f07bfd5a05d43a6d11f7cd442f085149092dea88pjrm 1) As the "position" property for submenus is set to "absolute", they are out of
f07bfd5a05d43a6d11f7cd442f085149092dea88pjrm the document flow and take up no space. Therefore, from that perspective use of
f07bfd5a05d43a6d11f7cd442f085149092dea88pjrm "display:none" is redundant.
fb5a72174252e0e79107dcad3bf5a2bbd73e349cjohanengelen 2) According to MSDN use of "display:none" is more expensive:
f07bfd5a05d43a6d11f7cd442f085149092dea88pjrm "Display is the more expensive of the two CSS properties, so if you are
f07bfd5a05d43a6d11f7cd442f085149092dea88pjrm making elements appear and disappear often, visibility will be faster."
f07bfd5a05d43a6d11f7cd442f085149092dea88pjrm (See http://msdn.microsoft.com/en-us/library/bb264005(VS.85).aspx)
f07bfd5a05d43a6d11f7cd442f085149092dea88pjrm visibility: hidden;
f07bfd5a05d43a6d11f7cd442f085149092dea88pjrm.yui-menu li {
f07bfd5a05d43a6d11f7cd442f085149092dea88pjrm list-style-type: none;
f07bfd5a05d43a6d11f7cd442f085149092dea88pjrm.yui-menu ul,
0fc5ce7045233dae7e15fdc86774370f1b1d73cbjohanengelen.yui-menu li {
f07bfd5a05d43a6d11f7cd442f085149092dea88pjrm margin: 0;
f07bfd5a05d43a6d11f7cd442f085149092dea88pjrm padding: 0;
f07bfd5a05d43a6d11f7cd442f085149092dea88pjrm.yui-menu-label,
f07bfd5a05d43a6d11f7cd442f085149092dea88pjrm.yui-menuitem-content {
http://msdn.microsoft.com/en-gb/library/ms533776(VS.85).aspx