|
Mehdi -> Minor? Firefox Compatibility Issue (8/14/2007 10:57:17)
|
I've overhauled one of my websites and have two basic templates that I will use for all new content : http://soccer-europe.com http://soccer-europe.com/review.html Problem is the new content doesn't display correctly in Firefox or IE7 (so I've been told) though is 100% valid and displays correctly in IE6. The center and container tags appear to be the problem. Here's the complete css :
* {
margin: 0;
padding: 0;
}
body {
background-color: #000000;
color: #000000;
font-family: Trebuchet MS, Verdana, Tahoma, Arial, sans-serif,;
font-size: 14px;
line-height: 19px;
}
a {
color: #000000;
}
a:hover {
text-decoration: none;
}
p {
margin-bottom: 8px;
}
img {
border: 0px;
}
#photor1 {
float: left;
padding-right: 10px;
}
#photor2 {
float: right;
padding-left: 10px;
}
#cap {
clear:both;
}
#cap2 {
clear:both;
}
div.photos
{float:left;
margin-right:70px;
}
div.photos p
{
text-align : left; margin-left: 5px;
}
.photo1
{float:left;
margin-right:15px;
}
.photo2
{float:right;
margin-right: 0px;
}
.photo3
{float:left;
margin-left:0px;
}
div.photos p
{
text-align : left;
margin-left: 5px;
}
.spacer
{clear:both;
margin-top:10px;
}
#center{
height:20px;
width: 200px;
margin-left:auto;
margin-right:auto;
}
#container {
background-color: #fff;
width: 800px;
padding: 30px;
margin: 10px auto 10px auto;
border: 1px solid #999999;
}
#banner {
margin: 0 auto 10px auto;
}
#header {
margin-top: 30px;
margin-bottom: 24px;
}
#header a {
margin-right: 25px;
color: #2b2b2b;
text-decoration: none;
position: relative; top: -9px; left: 8px;
}
#header a:hover {
text-decoration: underline;
}
#content {
margin-bottom: 30px;
padding-bottom: 30px;
border-bottom: 1px solid #999;
width: 800px;
}
#links {
margin-left: 100px;
word-spacing: 90px;
font-size: 13px;
}
#footer {
color: #626262;
margin-top: 20px;
}
#footer p {
font-size: 12px;
height:10px;
width: 240px;
margin-left:auto;
margin-right:auto;
}
|
|
|
|