日期:2014-05-17  浏览次数:20650 次

ie7下拉菜单最大化时位置移动
/* -------------css代码/
#nav {
  background-color: #EFEFEF;
  height: 29px;
  margin: auto;
  width: 900px;
}
#nav ul {
  border-bottom: 1px solid #DBDBDB;
  height: 28px;
  list-style: none outside none;
   
  width: 900px;
}
#nav li {
   
  float: left;
  padding-right: 2px;
}
#nav li a {
  color: #666666;
  line-height: 28px;
  padding: 6px 16px 7px !important;
  text-decoration: none;
}
#nav li a:hover {
  background-color: #E6E6E6;
  color: #000000;
  text-decoration: none;
}
.mtDropdownMenu {
  left: -1000px;
  top:-1000px;
  position:absolute ;
  display:inline; 
  overflow: hidden;
}
.mtDropdownMenu .content {
  position: relative;
}
.mtDropdownMenu .items {
  border-color: #999999;
  border-style: solid;
  border-width: 1px;
  left:0px;
  position: relative;
  top: 0px;
  z-index: 2;
}
.top .items {
  border-top: medium none;
}
.mtDropdownMenu .item {
  border-color: black;
  border-style: none;
  border-width: medium;
  color: #4A4B4B;
  font-size: 12px;
  text-decoration: none;
}
.mtDropdownMenu .background {
  left: 0;
  position: absolute;
  top: 0;
  z-index: 1;
}
.mtDropdownMenu .shadowRight {
  position: absolute;
  top: 3px;
  width: 2px;
  z-index: 3;
}
.mtDropdownMenu .shadowBottom {
  height: 2px;
  left: 3px;
  position: absolute;
  z-index: 1;
}
.mtDropdownMenu .hover {
  background: none repeat scroll 0 0 #FFFFFF;
  color: #8D1C1C;
  cursor: pointer;
}
.mtDropdownMenu .item IMG {
  margin-left: 12px;
}
ie8 火狐下都正常,就在ie7下拉菜单左移了,(最小化时正常)请问是怎么回事???????????????
急!!!!!!!!!!!!!!!!!

------解决方案--------------------
只有css不好看