Ik heb een probleempje met Firfox en IE. IN IE komt de lay-out wel gewoon zo als hij moet maar in Firefox zet hij alles gewoon links neer.
Weet iemand wat ik fout doe.
IE
Firefox
Code (css)
Code:
body{
margin: 0;
text-align:center;
background-image: url(images/body_bg.JPG);
background-repeat: no-repeat;
background-position: 50px 250px;
color: #656556;
font-size: 62.5%;
}
div#main_container {
margin: 0;
width: 750px;
height: auto;
height: 100%;
min-height: 100%;
text-align:left;
background-image: url(images/bg.JPG);
background-position: left;
background-repeat: repeat-y;
background-color: #FFFFFF;
}
div#box_header {
background-image: url(images/header.jpg);
width: 100%;
height: 250px;
}
div#box2 {
background-image: url(images/boven_bg.JPG);
float: left;
width: 100%;
height: 20px;
}
<!-- Navigatie -->
#menu3 {
background-color: #FFFFFF;
background-image: url(images/bg.JPG);
background-position: left;
background-repeat: repeat-y;
float: left;
width: 20%;
height: auto;
border-right: 0px;
padding: 20px 20px 20px 20px;
font-family: verdana;
font-size: 1.2em;
}
#menu3 ul{
list-style: none;
margin: 0;
padding: 0;
}
#menu3 ul ul{
list-style: none;
margin: 0 0 0 15px;
padding: 0;
}
#menu3 li a {
height: 32px;
voice-family: "\"}\"";
voice-family: inherit;
height: 24px;
text-decoration: none;
font-size: 1.2em;
}
#menu3 li a:link, #menu3 li li a:link {
color: #656556;
display: block;
padding: 15px 0 5px 20px;
}
#menu3 li a:visited, #menu3 li li a:visited {
color: #656556;
display: block;
padding: 15px 0 5px 20px;
}
#menu3 li a:hover, #menu3 li li a:hover {
color: #474739;
background: url(images/menu.gif);
padding: 15px 0 5px 20px;
}
#menu3 .visited {
background: url(images/menu.gif);
background-repeat: no-repeat;
}
<!-- Content -->
div#box_content {
background-color: #FFFFFF;
background: url(images/bg.JPG);
background-repeat: repeat-y;
background-position: right;
float: left;
width: 80%;
height: 490px;
border-left: 0px;
padding: 15px 20px 10px 20px;
font-family: verdana;
font-size: 1.2em;
}
.p1{
font-family: verdana;
font-size: 1.0em;
}
.p2{
font-family: verdana;
font-size: 1.2em;
}
.p3{
font-family: verdana;
font-size: 10pt;
text-decoration: underline;
}
.l1 {
padding: 2px;
}
#box_content h2 {
font-size: 1.9em;
font-weight: 500;
}
#box_content h3 {
font-size: 1.3em;
font-weight: 300;
}
#box_content .home_p1{
text-align: left;
font-size: 1.2em;
}
#left {
float: left;
margin: 0 25px 10px 0;
border: 0px solid grey;
}
#right {
float: right;
}
.left {
float: left;
}
.contact {
list-style: none;
}
<!-- Footer -->
div#box_footer {
background: url(images/footer_bg.jpg);
float: left;
width: 100%;
height: 50px;
padding: 15px 20px 10px 20px;
font-family: verdana;
font-size: 8pt;
text-align: center;
}