Problem med - display: table; til IE8
CSSdisplay: table;
jeg har prøvet tonsvis af måder - men af en eller anden grund ødelægger denne - mit design i IE8 - andre browser kører fint.
jeg har individuelle css filer alt efter browser.
men hvis i har en alternativ løsning eller kan se problemet her - så ville det være lækkert.
URL : www.rexreptiles.com
CSS:
a:link {text-decoration: none; color: #000000;}
a:visited {text-decoration: none; color: #000000;}
a:active {text-decoration: none; color: #000000;}
a:hover {text-decoration: underline; color: #000000;}
html,body {
margin: 0px 0px 0px 0px;
background-color: #ffffff;
font-family: Verdana;
font-size: 10px;
color: #000000;
background-repeat: no-repeat;
background-image: url("../gfx/baggrund.jpg");
background-position: center top;
}
#container {
text-align: center;
width: 960px;
margin: 0 auto;
}
#logo {
width: 928px;
text-align: right;
margin-left: 15px
}
#menu {
width: 928px;
border-bottom: 1px solid #c4c4c4;
height: 28px;
margin-left: 15px;
}
#menu ul{
list-style-type: none;
width: auto;
height: 29px;
margin-left: -46px;
}
#menu li{
width: 132px;
height: 21px;
float:left;
margin-left: 5px;
padding-top: 8px;
background-image: url(../gfx/menu_up.png);
background-repeat: no-repeat;
}
.active
{
background-image: url(../gfx/menu_down.png) !important;
background-repeat: no-repeat;
}
#menu li:hover{
background-image: url(../gfx/menu_down.png);
background-repeat: no-repeat;
}
#menu li a{
font-size: 12px;
font-weight: bold;
}
#menu li a:hover{
text-decoration: none;
}
#login{
position: absolute;
top: 123px;
background: url(../gfx/loginBg.png) no-repeat;
width: 169px;
height: 125px;
margin-left: 700px;
text-align: left;
padding-left: 5px;
display: none;
}
.loginInput
{
text-align: left;
padding: 0 0 0 5px;
background: url(../gfx/loginInput.png) no-repeat;
border: 0;
width: 149px;
height: 24px;
margin: 0 0 8px 0;
}
#loginPassword
{
display: none;
margin: -12px 0 0 0;
}
#loginSubmit
{
margin: -8px 0 0 0;
}
#mainContent{
width: 960px;
margin-top: 30px;
}
#mainTop{
width: 960px;
height: 22px;
background-image: url(../gfx/boxes_top.png);
background-repeat: no-repeat;
padding-top: 15px;
}
#mainMiddle{
width: 960px;
background-image: url(../gfx/boxes_mid.png);
background-repeat: repeat-y;
min-height: 300px;
margin-top: -30px;
}
#middleContent {
display: table;
}
#mainBottom{
width: 960px;
height: 43px;
background-image: url(../gfx/boxes_bottom.png);
background-repeat: no-repeat;
}
.mainLeft{
width: 140px;
padding: 5px 5px 5px 8px;
margin-left: 15px;
float:left;
}
.mainRight{
width: 721px;
padding: 5px 8px 10px 12px;
margin-left: 30px;
float:left;
}
#contentLeft,#contentRight{
min-height: 300px;
margin-top: -40px;
}
.footerBox{
width: 270px;
height: 172px;
background-image: url(../gfx/bottom_box.png);
background-repeat: no-repeat;
float: left;
padding: 0 0 0 15px;
}
.footerBox p{
margin: 5px 0 0 10px;
}
.clear{
clear: both;
margin-top: -35px;
}
p{
text-align: left;
font-family: Verdana;
font-size: 10px;
color: #323232;
}
p.kontrol{
margin-top: -15px;
line-height: 15px;
}
hr{
border-top: 1px solid #c4c4c4;
border-bottom: 0px;
border-left: 0px;
border-right: 0px;
}
input.felt{
border: 1px solid #c4c4c4;
font-size: 10px;
}
input.submit{
border: none;
background-color: transparent;
background-image: url(../gfx/b_send_u.png);
width: 100px;
height: 30px;
cursor:pointer;
}
input.submit:hover{
border: none;
background-color: transparent;
background-image: url(../gfx/b_send_d.png);
cursor:pointer;
}
input.reset{
border: none;
background-color: transparent;
background-image: url(../gfx/slet_u.png);
width: 100px;
height: 30px;
cursor:pointer;
}
input.upload:hover{
border: none;
background-color: transparent;
background-image: url(../gfx/upload_d.png);
cursor:pointer;
}
input.upload{
border: none;
background-color: transparent;
background-image: url(../gfx/upload_u.png);
width: 100px;
height: 30px;
cursor:pointer;
}
input.reset:hover{
border: none;
background-color: transparent;
background-image: url(../gfx/slet_d.png);
cursor:pointer;
}
input.opdater{
border: none;
background-color: transparent;
background-image: url(../gfx/opdater_u.png);
width: 100px;
height: 30px;
cursor:pointer;
}
input.opdater:hover{
border: none;
background-color: transparent;
background-image: url(../gfx/opdater_d.png);
cursor:pointer;
}
input.opret{
border: none;
background-color: transparent;
background-image: url(../gfx/opret_u.png);
width: 100px;
height: 30px;
cursor:pointer;
}
input.opret:hover{
border: none;
background-color: transparent;
background-image: url(../gfx/opret_d.png);
cursor:pointer;
}
select{
border: 1px solid #c4c4c4;
font-size: 10px;
}
