Blog won’t center in Firefox
-
Hi, I’ve just made a ‘lite’ theme for my blog. Everything shows fine in IE, but in Firefox the whole block doesn’t center the way it should. The padding for most divs seems to be ignored aswell.
Here’s my css:
body {
background: #fff;
margin: 0px;
padding: 0px;
font-family: Arial, Verdana, Helvetica;
font-size: 9pt;
color: #000;
text-align: center;
}h1 {
border-bottom: 1px solid #ccc;
font: 10pt Verdana, serif;
letter-spacing: 0.2em;
margin: 0px 0 0px 0;
padding-bottom: 2px;
}h2 {
border-bottom: solid 1px #eee;
font-family: Verdana, serif;
font-size: 10pt;
margin-top: 0;
}
a{
cursor: pointer;
}a:link, a:visited, a:active{
color: #0002B5;
font-weight: bold;
text-decoration: none;
}a:hover {
background: #0002B5;
color: #fff;
text-decoration: none;
}#frame {
width: 730px;
text-align: center;
}.frame_left {
background: url(container_left.gif) repeat-y;
}.frame_right {
background: url(container_right.gif) repeat-y top right;
}#content {
float: left;
margin: 0px 15px 0px 15px;
width: 500px;
text-align: justify;<br />
}#menu {
float: right;
margin: 0px 15px 0px 15px;
width: 150px;
padding: 0px 0px 0px 0px;
}
#menu a{
background-color: #DFF7FF;
border-bottom: 1px solid #ccc;
display: block;
color: black;
padding: 0px 4px 0px 4px;
text-align: left;
}#menu a:hover{
background: #eee;
}.footer {
width: 480px;
padding: 4px;
margin-top: 50px;
clear: both;
border: 4px solid #ddd;
}.footer p {
text-align: center;}.visible {display:block;
}.visible a{
background: Aqua;
}
.invisible {
display: none;
}I read the thing about hacks, but I don’t know which one I’d have to use if appropriate.
What have I forgotten here?Thanks in advance!
- The topic ‘Blog won’t center in Firefox’ is closed to new replies.