Flames
06-08-2012, 02:16 PM
Works perfect on Opera, Safari, FF and Chrome but when it comes to IE, CSS doesn't work.
The website does not align to the center on IE, as well as the button background along with the width and height being completely ignored.
In IE, everything is currently aligned to the left too (default setting I'm guessing).
Here's my CSS:
#header {
width: 556px;
margin-right: auto;
margin-left: auto;
height: 140px;
background-image: url(bg.jpg);
}
#footer {
bottom: 0px;
width: 556px;
height: 60px;
background-image: url(footer.png);
margin: auto;
}
#body {
width: 556px;
height: 25';
background-repeat: no-repeat;
background-position: center center;
background-image: url(bg2.png);
height: 500px;
margin: auto;
}
.button {
width: 400px;
background-image: url(button2.png);
height: 149px;
}
#footerholder {
bottom: 0px;
position: fixed;
text-align: center;
width: 100%;
}
Thank you.
The website does not align to the center on IE, as well as the button background along with the width and height being completely ignored.
In IE, everything is currently aligned to the left too (default setting I'm guessing).
Here's my CSS:
#header {
width: 556px;
margin-right: auto;
margin-left: auto;
height: 140px;
background-image: url(bg.jpg);
}
#footer {
bottom: 0px;
width: 556px;
height: 60px;
background-image: url(footer.png);
margin: auto;
}
#body {
width: 556px;
height: 25';
background-repeat: no-repeat;
background-position: center center;
background-image: url(bg2.png);
height: 500px;
margin: auto;
}
.button {
width: 400px;
background-image: url(button2.png);
height: 149px;
}
#footerholder {
bottom: 0px;
position: fixed;
text-align: center;
width: 100%;
}
Thank you.