DDMENU.css 2.74 KB
Newer Older
Thitichaipun Wutthisak committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168
@charset "UTF-8";
/*
*Edit by markung
* Write by       : James
* Version     : 2.5
* Last Modified   : 11/11/2009
* 
* Fix
*    - 11/11/2009 #nav ul li invalid in IE8; <ie7 set display:inline, >ie7 set display: block
*							use conditional comment to fix it
*    - 06/03/2551 Support Dropdown Menu version 2.5
*    - 06/03/2551 Support Dropdown Menu version 2.5
*/

#nav, #nav ul, #nav li {
	margin: 0;
	padding: 0;
	text-indent: 0;
}
#nav {
	margin: 0;
	padding: 0;
	background: #84daed url(../IMAGES/EMPVIEW/BG_MENU.gif) repeat-x;
	height: 28px;
	list-style: none;
	white-space: nowrap;
}
#nav li {
	margin: 0;
	padding: 0 0px 0 0;
	list-style: none;
	float: left;
	font: bold 11px Tahoma;
	border-right: 0px solid #FFF;
}
#nav li a, #nav li a#buttonnohover {
	display: block;
	text-align: center;
	color: #000;
	padding: 5px 15px;
	margin: 1px;
	/*width: 70px;*/
	text-decoration: none;
}
#nav li a:hover, #nav li a#buttonhover {
	color: #069;
	background: #FFF url(../IMAGES/EMPVIEW/BG_MENU-OVER.gif) repeat-x;
}
#nav ul {
	margin-top: 1px; /* ҧҧѡ ѺдѺ 1*/
	padding: 0;
	visibility: hidden;
	position: absolute;
	clear: both;
	background: #84daed ;
}
#nav ul li {
	/* 11/11/2009 bug in IE8 ; 
	* <ie7 set display:inline, >ie7 set display: block
	* use conditional comment to fix it
	*/	
	display: block;
	float: none;
	margin: 0;
	padding: 0;
	border-width: 0px;
}
#nav ul li a {
	margin: 1px;
	padding: 6px 20px 6px 15px;
	text-align: left;
	text-decoration: none;
	color: #000;
}
#nav ul li a:hover {
	color: #069;
	background: #FFF;
	padding: 6px 20px 6px 15px;
}

#nav ul ul {
	margin-left: 3px; /* ҧҧдѺ n ѺдѺ n+1*/
}
/*
#nav .hsub {
	background: no-repeat right url(./IMAGES/ARROW-TOP.gif);
}
#nav li a#buttonhover.hsub {
	background: #FFF no-repeat right url(./IMAGES/ARROW-TOP-OVER.gif) !important;
}
*/
#nav ul .hsub {
	background: right url(../IMAGES/EMPVIEW/ARROW-SUB.gif) no-repeat ;
}
#nav ul .hsub:hover {
	background: #FFF right url(../IMAGES/EMPVIEW/ARROW-SUB-OVER.gif) no-repeat;
}


/* --------------------  for IEHOVER Fix bug -------------------- */
#nav li:hover ul ul, 
#nav li:hover ul ul ul, 
#nav li.sfhover ul ul, 
#nav li.sfhover ul ul ul {
	left: -999em;
}

#nav li:hover ul, 
#nav li li:hover ul, 
#nav li li li:hover ul, 
#nav li.sfhover ul, 
#nav li li.sfhover ul, 
#nav li li li.sfhover ul {
	left: auto;
}

#nav li:hover, #nav li.sfhover {
	/*background: #CBE868;*/
}

/* Support for the "iehover-fix.js" */

#nav iframe {
	position: absolute;
	/* account for the border */
	left: -0.25em;
	top: -0.25em;
	z-index: -1;
	filter: progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0);
}

* html #nav li { 
	z-index: 201; 
}

object, .flash {
	/*z-index: 10; */
}