|
I can not center my pages in firefox still, can you help?
<style type="text/css">
<!--
body /* Internet Explorer */
{
text-align: center;
}
body /* Mozilla Firefox alignment */
{
text-align: -moz-center;
}
body {
font: 100% Verdana, Arial, Helvetica, sans-serif;
background: #666666;
margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
padding: 0;
text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
color: #000000;
background-color: #FFFFFF;
background-image: url();
}
.oneColElsCtr #container {
width: 46em;
background: #FFFFFF;
margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
border: 1px solid #000000;
text-align: center; /* this overrides the text-align: center on the body element. */
}
.oneColElsCtr #mainContent {
padding: 0 20px; /* remember that padding is the space inside the div box and margin is the space outside the div box */
}
.style6 {color: #000000}
.style11 {
color: #000000;
font-weight: bold;
font-style: italic;
}
.style12 {font-family: Arial, Helvetica, sans-serif}
-->
</style>
|