DDMENU_MOB.css 2.87 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
@charset "UTF-8";
/*
* Write by       : James
* Version     : 2.5
* Last Modified   : 06/03/2551
* 
* Fix
*    - 06/03/2551 remove bachground for #nav li:hover, #nav li.sfhover
*    - 06/03/2551 Support Dropdown Menu version 2.5
*/

#mainmenu { background: #CBE868 url(../IMAGES/EMPVIEW/BG_MENU.gif) repeat-x; width: 100%; height: 28px; }
.ddmenu { float: left; display: inline-block; position:relative; background: url(../IMAGES/EMPVIEW/BG_MENU_LEFT.gif) left top no-repeat; padding-left: 8px; }
#helpbar { position: relative; background: url(../IMAGES/EMPVIEW/BG_MENU_RIGHT.gif) right top no-repeat; float: right; width: 5px; padding-right: 5px; height: 100%; }


#nav, #nav ul, #nav li {
	margin: 0;
	padding: 0;
	text-indent: 0;
}
#nav {
	margin: 0;
	padding: 0;
	background: #CBE868 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: #666;
	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: #CBE868 ;
}
#nav ul li {
	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: #666;
	background: #FFF;
}

#nav ul ul {
	margin-left: 3px; /* ҧҧдѺ n ѺдѺ n+1*/
}
/*
#nav .hsub {
	background: no-repeat right url(../IMAGES/EMPVIEW/ARROW-TOP.gif);
}
#nav li a#buttonhover.hsub {
	background: #FFF no-repeat right url(../IMAGES/EMPVIEW/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; */
}