burginsteve
08-10-2008, 12:24 PM
I'm building a site and it works fine in IE7 but when I view it in FF3 some of the DIVs are behaving different. My homepage is OK but this page isn't... http://www.thinkjessica.com/misc/campaign.htm
If you're asked for username/password it is think/jessica.
I've W3C validated my homepage and CSS OK but there must be something wrong. Here's my CSS, any ideas would be appreciated.
body {
background: #FFFFFF;
font-family: "Trebuchet MS", Tahoma, Verdana, Sans-serif;
color: #666699;
font-size: 16px;
}
img {
border: none;
}
form {
margin: 0px;
padding: 0px;
}
#wrapper{
width: 970px;
margin: 0px auto;
border: 1px solid #CCCCCC;
background: url(../images/bkg_wrapper.jpg) no-repeat right top;
}
#head {
height: 100px;
}
#header {
height: 128px;
background: #AC0102;
}
#logo {
float: left;
margin: 10px 0px 0px 30px;
}
#head-image {
float: left;
margin: 20px 0px 0px 131px;
}
#header-1 {
float: left;
width: 200px;
margin: 0px;
}
#header-2 {
float: left;
width: 250px;
margin: 0px;
}
#header-3 {
float: left;
width: 250px;
margin: 0px;
}
#header-4 {
float: left;
width: 250px;
margin: 0px;
}
#page-title {
float: left;
margin: 0px;
}
#body-1 {
float: left;
width: 175px;
height: 295px;
padding: 20px 5px 0px 20px;
margin: 0px;
background: #E2E2E2;
}
#body-2 {
float: left;
width: 250px;
margin: 0px;
}
#body-3 {
float: left;
width: 500px;
height:419px;
margin: 0px;
}
#body-3w {
float: left;
width: 430px;
margin: 0px;
padding: 35px;
background: #FFFFFF;
}
#body-wide {
width: 900px;
margin: 0px;
padding: 35px 20px 0px 35px;
}
#body-story {
width: 710px;
margin: 0px;
padding: 20px 0px 0px 140px;
}
#body-half-wide {
float: left;
width: 470px;
margin: 0px;
padding: 35px 20px 20px 35px;
}
#body-half-wide2 {
float: left;
width: 360px;
margin: 185px 0px 0px 0px;
padding: 35px 25px 20px 30px;
background: #F3F3F3;
}
#body-half-wide3 {
float: left;
width: 360px;
margin: 45px 0px 0px 0px;
padding: 35px 25px 20px 30px;
background: #F3F3F3;
}
#body-logos {
width: 200px;
margin: 0px;
padding: 35px 20px 20px 35px;
}
#body-news-date {
float: left;
width: 150px;
margin: 0px;
padding: 0px 20px 20px 35px;
}
#body-news-media {
float: left;
width: 260px;
padding: 0px 20px 0px 0px;
}
#body-news-comment {
float: left;
width: 380px;
padding: 0px 0px 0px 0px;
}
#body-contact {
float: left;
width: 680px;
margin: 10px 0px 0px 30px;
padding: 0px 0px 0px 100px;
background: url(../images/bkg_contact.gif) no-repeat right top;
}
#body-image {
float: left;
margin: 0px 20px 0px 0px;
padding: 0px 0px 0px 0px;
}
#body-link-logo {
float: left;
margin: 20px 20px 0px 0px;
padding: 0px 0px 0px 0px;
}
#body-link {
float: left;
width: 500px;
margin: 20px 0px 0px 0px;
}
#body-comment {
float: left;
width: 250px;
margin: 20px 0px 0px 0px;
}
#Red-comment18{
width: 870px;
margin: 0px auto;
color: #CC0000;
font-style: italic;
font-weight: bold;
font-size: 22px;
}
.red {
color: #CC0000;
font-style: italic;
font-weight: bold;
}
.red18 {
color: #CC0000;
font-style: italic;
font-weight: bold;
font-size: 22px;
}
a.jump:link {font: 16px "Trebuchet MS", Tahoma, Verdana, Sans-serif; color: #333333; text-decoration: underline;}
a.jump:active {font: 16px "Trebuchet MS", Tahoma, Verdana, Sans-serif; color: #333333; text-decoration: underline;}
a.jump:visited {font: 16px "Trebuchet MS", Tahoma, Verdana, Sans-serif; color: #333333; text-decoration: underline;}
a.jump:hover {font: 16px "Trebuchet MS", Tahoma, Verdana, Sans-serif; color: #FFA56B; text-decoration: none;}
a.jump1:link {font: 16px "Trebuchet MS", Tahoma, Verdana, Sans-serif; color: #333333; text-decoration: underline;}
a.jump1:active {font: 16px "Trebuchet MS", Tahoma, Verdana, Sans-serif; color: #333333; text-decoration: underline;}
a.jump1:visited {font: 16px "Trebuchet MS", Tahoma, Verdana, Sans-serif; color: #333333; text-decoration: underline;}
a.jump1:hover {font: 16px "Trebuchet MS", Tahoma, Verdana, Sans-serif; color: #FFA56B; text-decoration: none;}
a.jump2:link {font: 12px "Trebuchet MS", Tahoma, Verdana, Sans-serif; color: #333333; text-decoration: underline;}
a.jump2:active {font: 12px "Trebuchet MS", Tahoma, Verdana, Sans-serif; color: #333333; text-decoration: underline;}
a.jump2:visited {font: 12px "Trebuchet MS", Tahoma, Verdana, Sans-serif; color: #333333; text-decoration: underline;}
a.jump2:hover {font: 12px "Trebuchet MS", Tahoma, Verdana, Sans-serif; color: #FFA56B; text-decoration: none;}
.inputForm {
font-size: 16px;
font-weight: normal;
color:#333333;
border: 0px solid #FFFFFF;
background-color: #FFFFFF;
}
#bottom-wrapper{
width: 970px;
margin: 0px auto;
}
#bottom-left {
float: left;
margin: 0px;
}
#bottom-right {
float: right;
margin: 0px;
}
#w3c-wrapper{
width: 970px;
margin: 0px auto;
}
If you're asked for username/password it is think/jessica.
I've W3C validated my homepage and CSS OK but there must be something wrong. Here's my CSS, any ideas would be appreciated.
body {
background: #FFFFFF;
font-family: "Trebuchet MS", Tahoma, Verdana, Sans-serif;
color: #666699;
font-size: 16px;
}
img {
border: none;
}
form {
margin: 0px;
padding: 0px;
}
#wrapper{
width: 970px;
margin: 0px auto;
border: 1px solid #CCCCCC;
background: url(../images/bkg_wrapper.jpg) no-repeat right top;
}
#head {
height: 100px;
}
#header {
height: 128px;
background: #AC0102;
}
#logo {
float: left;
margin: 10px 0px 0px 30px;
}
#head-image {
float: left;
margin: 20px 0px 0px 131px;
}
#header-1 {
float: left;
width: 200px;
margin: 0px;
}
#header-2 {
float: left;
width: 250px;
margin: 0px;
}
#header-3 {
float: left;
width: 250px;
margin: 0px;
}
#header-4 {
float: left;
width: 250px;
margin: 0px;
}
#page-title {
float: left;
margin: 0px;
}
#body-1 {
float: left;
width: 175px;
height: 295px;
padding: 20px 5px 0px 20px;
margin: 0px;
background: #E2E2E2;
}
#body-2 {
float: left;
width: 250px;
margin: 0px;
}
#body-3 {
float: left;
width: 500px;
height:419px;
margin: 0px;
}
#body-3w {
float: left;
width: 430px;
margin: 0px;
padding: 35px;
background: #FFFFFF;
}
#body-wide {
width: 900px;
margin: 0px;
padding: 35px 20px 0px 35px;
}
#body-story {
width: 710px;
margin: 0px;
padding: 20px 0px 0px 140px;
}
#body-half-wide {
float: left;
width: 470px;
margin: 0px;
padding: 35px 20px 20px 35px;
}
#body-half-wide2 {
float: left;
width: 360px;
margin: 185px 0px 0px 0px;
padding: 35px 25px 20px 30px;
background: #F3F3F3;
}
#body-half-wide3 {
float: left;
width: 360px;
margin: 45px 0px 0px 0px;
padding: 35px 25px 20px 30px;
background: #F3F3F3;
}
#body-logos {
width: 200px;
margin: 0px;
padding: 35px 20px 20px 35px;
}
#body-news-date {
float: left;
width: 150px;
margin: 0px;
padding: 0px 20px 20px 35px;
}
#body-news-media {
float: left;
width: 260px;
padding: 0px 20px 0px 0px;
}
#body-news-comment {
float: left;
width: 380px;
padding: 0px 0px 0px 0px;
}
#body-contact {
float: left;
width: 680px;
margin: 10px 0px 0px 30px;
padding: 0px 0px 0px 100px;
background: url(../images/bkg_contact.gif) no-repeat right top;
}
#body-image {
float: left;
margin: 0px 20px 0px 0px;
padding: 0px 0px 0px 0px;
}
#body-link-logo {
float: left;
margin: 20px 20px 0px 0px;
padding: 0px 0px 0px 0px;
}
#body-link {
float: left;
width: 500px;
margin: 20px 0px 0px 0px;
}
#body-comment {
float: left;
width: 250px;
margin: 20px 0px 0px 0px;
}
#Red-comment18{
width: 870px;
margin: 0px auto;
color: #CC0000;
font-style: italic;
font-weight: bold;
font-size: 22px;
}
.red {
color: #CC0000;
font-style: italic;
font-weight: bold;
}
.red18 {
color: #CC0000;
font-style: italic;
font-weight: bold;
font-size: 22px;
}
a.jump:link {font: 16px "Trebuchet MS", Tahoma, Verdana, Sans-serif; color: #333333; text-decoration: underline;}
a.jump:active {font: 16px "Trebuchet MS", Tahoma, Verdana, Sans-serif; color: #333333; text-decoration: underline;}
a.jump:visited {font: 16px "Trebuchet MS", Tahoma, Verdana, Sans-serif; color: #333333; text-decoration: underline;}
a.jump:hover {font: 16px "Trebuchet MS", Tahoma, Verdana, Sans-serif; color: #FFA56B; text-decoration: none;}
a.jump1:link {font: 16px "Trebuchet MS", Tahoma, Verdana, Sans-serif; color: #333333; text-decoration: underline;}
a.jump1:active {font: 16px "Trebuchet MS", Tahoma, Verdana, Sans-serif; color: #333333; text-decoration: underline;}
a.jump1:visited {font: 16px "Trebuchet MS", Tahoma, Verdana, Sans-serif; color: #333333; text-decoration: underline;}
a.jump1:hover {font: 16px "Trebuchet MS", Tahoma, Verdana, Sans-serif; color: #FFA56B; text-decoration: none;}
a.jump2:link {font: 12px "Trebuchet MS", Tahoma, Verdana, Sans-serif; color: #333333; text-decoration: underline;}
a.jump2:active {font: 12px "Trebuchet MS", Tahoma, Verdana, Sans-serif; color: #333333; text-decoration: underline;}
a.jump2:visited {font: 12px "Trebuchet MS", Tahoma, Verdana, Sans-serif; color: #333333; text-decoration: underline;}
a.jump2:hover {font: 12px "Trebuchet MS", Tahoma, Verdana, Sans-serif; color: #FFA56B; text-decoration: none;}
.inputForm {
font-size: 16px;
font-weight: normal;
color:#333333;
border: 0px solid #FFFFFF;
background-color: #FFFFFF;
}
#bottom-wrapper{
width: 970px;
margin: 0px auto;
}
#bottom-left {
float: left;
margin: 0px;
}
#bottom-right {
float: right;
margin: 0px;
}
#w3c-wrapper{
width: 970px;
margin: 0px auto;
}