jcran
28th November 07, 07:34 PM
Everything comes out fine on IE7, but Firefox has it all messed up.
Does anyone know where my mistakes are?
Here is the web page http://www.polkcountygolf.com/site3.html
Here is the CSS:
BODY {
position:absolute;
top:0px;
left:0px;
margin:0px;
padding:0px;
margin-top: 5px;
margin-left: 0px;
font-family: Arial,Helvetica,sans-serif;
background-color: #61834F;
font-size: 12px;
}
#menutop {
width:774px;
background-position:top;
background-repeat:no-repeat;
}
#header1 {
width:774px;
height:106px;
background-image: url(images/site3_01.jpg);
background-position:top;
background-repeat:no-repeat;
}
#menu1 {
width:774px;
background-image: url(images/site3_02.jpg);
background-position:top;
background-repeat:repeat;
padding: 2px 2px 2px 2px;
}
#maincontent {
width:774px;
height:inherit;
background-image: url(images/site3_03.jpg);
background-position:top;
background-repeat:repeat-y;
padding: 0px 0px 0px 0px;
}
.left {
float:left;
width: 200px;
text-align:left;
padding: 0px 4px 10px 10px;
}
.right {
float:right;
padding: 0px;
top: 0px;
width: 570px;
text-align:left;
padding: 0px 10px 10px 4px;
}
#footer {
width:774px;
height:34px;
background-image: url(http://www.polkcountygolf.com/images/site3_09.jpg);
background-position:top;
background-repeat:no-repeat;
padding: 0px 0px 0px 0px;
}
h1, h2 {
font-family: Arial,Helvetica,sans-serif;
text-align: left;
font-size: 16px;
margin-bottom: 0px;
}
h3, h4 {
font-family: Arial,Helvetica,sans-serif;
margin-left: 0px;
margin-bottom: 0px;
}
h5, h6 {
font-family: Arial,Helvetica,sans-serif;
text-align: Left;
margin-left: 0px;
margin-bottom: 0px;
}
P {
font-family: Arial, Helvetica, sans-serif;
margin-left: 0px;
margin-right: 0px;
font-size: 12px;
}
li {
font-family: Arial, Helvetica, sans-serif;
}
tr, td, th {
font-family: Arial,Helvetica,sans-serif;
font-size: 12px;
}
a:link,a:active,a:visited { color : #CC0000; }
a:hover { text-decoration: underline; color : #3333CC; }
hr { height: 0px; color: #CCCCCC}
/* FORM STYLES */
INPUT, select, textarea, text {
border: 1px #006699 groove;
background-color: #FFFFFF;
font-family: Arial, Helvetica, sans-serif;
font-size: 11px;
color: #000000;
border-color: #000000;
border-style: solid;
}
/*- Menu Tabs C--------------------------- */
#tabsC {
float:left;
width:100%;
font-size:93%;
line-height:normal;
}
#tabsC ul {
margin:0;
padding:10px 10px 0 0px;
list-style:none;
}
#tabsC li {
display:inline;
margin:0;
padding:0;
}
#tabsC a {
float:left;
background:url("images/tableftC.gif") no-repeat left top;
margin:0;
padding:0 0 0 4px;
text-decoration:none;
}
#tabsC a span {
float:left;
display:block;
background:url("images/tabrightC.gif") no-repeat right top;
padding:5px 15px 4px 6px;
color:#464E42;
}
/* Commented Backslash Hack hides rule from IE5-Mac \*/
#tabsC a span {float:none;}
/* End IE5-Mac hack */
#tabsC a:hover span {
color:#FFF;
}
#tabsC a:hover {
background-position:0% -42px;
}
#tabsC a:hover span {
background-position:100% -42px;
}
#tabsC #current a {
background-position:0% -42px;
}
#tabsC #current a span {
background-position:100% -42px;
}
Does anyone know where my mistakes are?
Here is the web page http://www.polkcountygolf.com/site3.html
Here is the CSS:
BODY {
position:absolute;
top:0px;
left:0px;
margin:0px;
padding:0px;
margin-top: 5px;
margin-left: 0px;
font-family: Arial,Helvetica,sans-serif;
background-color: #61834F;
font-size: 12px;
}
#menutop {
width:774px;
background-position:top;
background-repeat:no-repeat;
}
#header1 {
width:774px;
height:106px;
background-image: url(images/site3_01.jpg);
background-position:top;
background-repeat:no-repeat;
}
#menu1 {
width:774px;
background-image: url(images/site3_02.jpg);
background-position:top;
background-repeat:repeat;
padding: 2px 2px 2px 2px;
}
#maincontent {
width:774px;
height:inherit;
background-image: url(images/site3_03.jpg);
background-position:top;
background-repeat:repeat-y;
padding: 0px 0px 0px 0px;
}
.left {
float:left;
width: 200px;
text-align:left;
padding: 0px 4px 10px 10px;
}
.right {
float:right;
padding: 0px;
top: 0px;
width: 570px;
text-align:left;
padding: 0px 10px 10px 4px;
}
#footer {
width:774px;
height:34px;
background-image: url(http://www.polkcountygolf.com/images/site3_09.jpg);
background-position:top;
background-repeat:no-repeat;
padding: 0px 0px 0px 0px;
}
h1, h2 {
font-family: Arial,Helvetica,sans-serif;
text-align: left;
font-size: 16px;
margin-bottom: 0px;
}
h3, h4 {
font-family: Arial,Helvetica,sans-serif;
margin-left: 0px;
margin-bottom: 0px;
}
h5, h6 {
font-family: Arial,Helvetica,sans-serif;
text-align: Left;
margin-left: 0px;
margin-bottom: 0px;
}
P {
font-family: Arial, Helvetica, sans-serif;
margin-left: 0px;
margin-right: 0px;
font-size: 12px;
}
li {
font-family: Arial, Helvetica, sans-serif;
}
tr, td, th {
font-family: Arial,Helvetica,sans-serif;
font-size: 12px;
}
a:link,a:active,a:visited { color : #CC0000; }
a:hover { text-decoration: underline; color : #3333CC; }
hr { height: 0px; color: #CCCCCC}
/* FORM STYLES */
INPUT, select, textarea, text {
border: 1px #006699 groove;
background-color: #FFFFFF;
font-family: Arial, Helvetica, sans-serif;
font-size: 11px;
color: #000000;
border-color: #000000;
border-style: solid;
}
/*- Menu Tabs C--------------------------- */
#tabsC {
float:left;
width:100%;
font-size:93%;
line-height:normal;
}
#tabsC ul {
margin:0;
padding:10px 10px 0 0px;
list-style:none;
}
#tabsC li {
display:inline;
margin:0;
padding:0;
}
#tabsC a {
float:left;
background:url("images/tableftC.gif") no-repeat left top;
margin:0;
padding:0 0 0 4px;
text-decoration:none;
}
#tabsC a span {
float:left;
display:block;
background:url("images/tabrightC.gif") no-repeat right top;
padding:5px 15px 4px 6px;
color:#464E42;
}
/* Commented Backslash Hack hides rule from IE5-Mac \*/
#tabsC a span {float:none;}
/* End IE5-Mac hack */
#tabsC a:hover span {
color:#FFF;
}
#tabsC a:hover {
background-position:0% -42px;
}
#tabsC a:hover span {
background-position:100% -42px;
}
#tabsC #current a {
background-position:0% -42px;
}
#tabsC #current a span {
background-position:100% -42px;
}