Hi guys,
I've tried everything.
Validationg and etc.. but I couldn't get this to work.
So i'll post my CSS and HTML codes here and see if you guys can find something..
My website will work fine on IE 7, 8 but no on 9 or firefox.
HERE is my website: Peterboro Co-op
I validated my css and html and it was fine.
here is my css code:
Code:
@charset "utf-8";
/* CSS Document */
html, body {
height: 100%;
}
#wrapper {
background-repeat:repeat;
position: relative;
min-height: 100%;
height: auto !important;
width: 1020px;
height: 100%;
margin: 0 auto -300px;
}
#header {
background-repeat:no-repeat;
width:1020px;
height:100px;
background-image:url(images/header-bg.jpg);
}
#menu {
margin:0;
padding:0;
background-image:url(images/menu-bggif.gif);
width:1020px;
height:auto;
float:left;
}
#menu ul {
margin:0;
padding:0;
line-height:30px;
background-image:url(images/menu-bggif.gif);
}
#menu li {
margin:0;
padding:0;
list-style:none;
float:left;
position:relative;
font-size:16px;
background-image: url(images/menu-bggif.gif);
}
#menu ul li a {
text-align:center;
font-family:"Copperplate Gothic Light";
font-size: 13px;
text-decoration:none;
height:30px;
width:170px;
color:#fff;
display:list-item;
}
#menu ul ul {
position:absolute;
visibility:hidden;
top:30px;
}
#menu ul li:hover ul {
visibility:visible;
}
#menu li:hover {
background:url(images/menu-bggif.gif);
color:#0C6;
}
#menu ul li:hover ul li a:hover {
background:#fff;
color:#000;
}
#menu a:hover {
color:#0C6;
border:hidden;
}
#welcome {
background-image:url(images/welcome.jpg);
background-repeat:no-repeat;
float:left;
height:404px;
width:1020px;
}
#leftcol {
width:1020px;
height:691px;
float:left;
background-image:url(images/main.jpg);
background-repeat:no-repeat;
font-family:"Palatino Linotype", "Goudy Old Style";
}
#footer {
background-image: url(images/footer.jpg);
float:left;
height:auto;
width:1020px;
display:block;
color:#FFF;
text-decoration:none;
background-repeat:repeat;
}
#wrapper #welcome #footer div .footer {
color:#FFF;
text-decoration:none;
}
#wrapper #welcome #footer div .footer:hover {
color:#FFF;
text-decoration:underline;
}
div.c48 {text-align:center; margin-top:70px; font-family: Arial, Helvetica, sans-serif; color: #fff; font-size: 10px;}
div.c47 {margin-top:-200px; margin-left:644px; font-family: 'Copperplate Gothic Light'; color: #fff; font-size: 18px; width: 200px; height: 150px;}
div.c46 {margin-top:-67px; margin-left:390px; font-family: 'Palatino Linotype'; font-size: 12px; height: auto; width: 166px; text-decoration:none; color:#FFF;}
div.c45 {margin-top:10px; margin-left:120px; font-family: 'Palatino Linotype'; font-size: 12px; height: auto; width: 166px; text-decoration:none; color:#FFF;}
div.c44 {margin-top:-20px; margin-left:390px; font-family: 'Copperplate Gothic Light'; color: #fff; font-size: 18px;}
div.c43 {margin-top:85px; margin-left:120px; font-family: 'Copperplate Gothic Light'; color: #fff; font-size: 18px;}
div.c42 {margin-top:-85px; margin-left:390px; font-family: 'Palatino Linotype'; font-size: 12px; height: auto; width: 166px; text-decoration:none; color:#FFF;}
div.c41 {margin-top:10px; margin-left:120px; font-family: 'Palatino Linotype'; font-size: 12px; height: auto; width: 166px; text-decoration:none; color:#FFF;}
div.c40 {margin-top:-20px; margin-left:660px; font-family: 'Copperplate Gothic Light'; color: #fff; font-size: 18px; width: 153px;}
div.c39 {margin-top:-20px; margin-left: 390px; font-family: 'Copperplate Gothic Light'; color: #fff; font-size: 18px; width: 200px;}
div.c38 {margin-top:32px; margin-left:120px; font-family: 'Copperplate Gothic Light'; color: #fff; font-size: 18px; width: 200px;}
div.c37 {position:absolute; top:1055px; left:922px; font-family: 'Palatino Linotype'; font-size: 12px; height: 21px; width: 60px; visibility: inherit;}
div.c36 {
position:absolute;
top:895px;
left:741px;
font-family: 'Palatino Linotype';
font-size: 13px;
color: #FFF;
height: 163px;
width: 228px;
font-weight: bold
}
div.c35 {position:absolute; top:874px; left:735px; font-family: 'Palatino Linotype'; font-size: 18px; color: #FFF; height: 77px; width: 354px; font-weight: bold}
div.c34 {position:absolute; top:765px; left:925px; font-family: 'Palatino Linotype'; font-size: 12px; height: 19px; width: 58px;}
div.c33 {position:absolute; top:660px; left:745px; font-family: 'Palatino Linotype'; font-size: 13px; color: #FFF; height: 40px; width: 306px; font-weight: bold}
div.c32 {position:absolute; top:608px; left:784px; font-family: 'Palatino Linotype'; font-size: 26px; color: #FFF; height: 40px; width: 306px; font-weight: bold}
div.c31 {position:absolute; top:1190px; left:610px; font-family: 'Palatino Linotype'; font-size: 12px; height: 18px; width: 52px; left: 610px;}
div.c30 {position:absolute; top:960px; left:420px; font-family: 'Palatino Linotype'; font-size: 13px; color: #4b6418; height: 70px; width: 244px;}
div.c29 {position:absolute; top:900px; left:420px; font-family: 'Palatino Linotype'; font-size: 26px; color: #4b6418; height: 40px; width: 224px; font-weight: bold}
div.c28 {position:absolute; top:862px; left:600px; font-family: 'Palatino Linotype'; font-size: 12px; height: 19px; width: 61px;}
div.c27 {position:absolute; top:817px; left:420px; font-family: 'Palatino Linotype'; font-size: 15px; color: #C63; height: 70px; width: 241px; font-weight: bold}
div.c26 {position:absolute; top:847px; left:420px; font-family: 'Palatino Linotype'; font-size: 15px; color: #C63; height: 70px; width: 246px; font-weight: bold}
div.c25 {position:absolute; top:695px; left:430px; font-family: 'Palatino Linotype'; font-size: 12px; color: #000; height: 70px; width: 252px; font-weight: bold}
div.c24 {position:absolute; top:667px; left:420px; font-family: 'Palatino Linotype'; font-size: 15px; color: #C63; height: 70px; width: 264px; font-weight: bold}
div.c23 {position:absolute; top:613px; left:420px; font-family: 'Palatino Linotype'; font-size: 26px; color: #4b6418; height: 40px; width: 253px; font-weight: bold}
div.c22 {position:absolute; top:1149px; left:45px; font-family: 'Palatino Linotype'; font-size: 12px; height: 57px; width: 300px;}
span.c21 {font-family: Arial}
div.c20 {position:absolute; top:1096px; left:313px; font-family: 'Palatino Linotype'; font-size: 12px; height: 19px; width: 61px;}
div.c19 {position:absolute; top:1003px; left:50px; font-family: 'Palatino Linotype'; font-size: 13px; color: #000; height: 70px; width: 307px; font-weight: bold}
span.c18 {color: #FF0000}
span.c17 {color: #0000FF}
div.c16 {position:absolute; top:851px; left:50px; font-family: 'Palatino Linotype'; font-size: 15px; color: #C60; height: 70px; width: 342px; font-weight: bold}
div.c15 {position:absolute; top:953px; left:50px; font-family: 'Palatino Linotype'; font-size: 26px; color: #4b6418; height: 49px; width: 162px; font-weight: bold}
div.c14 {position:absolute; top:848px; left:50px; font-family: 'Palatino Linotype'; font-size: 15px; color: #C60; height: 70px; width: 342px; font-weight: bold}
div.c13 {position:absolute; top:799px; left:50px; font-family: 'Palatino Linotype'; font-size: 26px; color: #4b6418; height: 49px; width: 162px; font-weight: bold}
div.c12 {position:absolute; top:727px; left:305px; font-family: 'Palatino Linotype'; font-size: 12px; height: 77px; width: 307px;}
div.c11 {position:absolute; top:650px; left:52px; font-family: 'Palatino Linotype'; font-size: 12px; color: #4b6418; height: 70px; width: 307px;}
div.c10 {position:absolute; top:606px; left:50px; font-family: 'Palatino Linotype'; font-size: 26px; color: #4b6418; font-weight: bold;}
div.c9 {position:absolute;top:350px; left:100px}
div.c8 {position:absolute;top:295px ;left:100px}
div.c7 {position:absolute; top: 38px; left:950px; visibility: visible;}
img.c6 {width: 32px ; height: 32px;}
div.c5 {position:absolute; top:38px ; left:900px; visibility: visible;}
div.c4 {position:absolute; top:38px; left:849px}
img.c3 {width: 32px; height: 32px;}
div.c2 {position:absolute;top:37px; left:50px}
img.c1 {position: absolute; top: -15px; visibility: visible; left: -32px;}
Here is my HTML code
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator" content="HTML Tidy for Linux (vers 6 November 2007), see www.w3.org" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="PTBO.css" rel="stylesheet" type="text/css" />
<title>Peterboro Co-op</title>
</head>
<body>
<div id="wrapper">
<div id="header"><!--Header starts-->
<div class="c2"><a class="header" href="index.html"><img src="http://www.sitepoint.com/forums/images/PTB.jpg" alt="peterboro" name="title" border="0" class="c1" id="title" /></a></div>
<!--peterboro title ends-->
<div class="c4"><a class="menu" href="http://www.facebook.com"><img src="http://www.sitepoint.com/forums/images/fb.png" name="facebook" class="c3" alt="email" border="0" id="facebook" /></a></div>
<!--facebook ends-->
<div class="c5"><a class="header" href="http://www.twitter.com"><img src="http://www.sitepoint.com/forums/images/tumblr_32.png" class="c3" alt="email" border="0" /></a></div>
<!--twitter ends-->
<div class="c7"><a class="header" href="mailto:agcentre@peterboroughcoop.com"><img src="http://www.sitepoint.com/forums/images/email_32.png" class="c6" alt="email" border="0" /></a></div>
<!--email ends--></div>
<!--header ends-->
<div id="menu">
<ul>
<li><a href="index.html">Home</a></li>
</ul>
<!-- end inner UL-->
<!-- end main LI-->
<!-- end main UL-->
<ul>
<li><a href="#">About Us</a>
<ul>
<li><a href="about%20us/Location.html">Location</a></li>
<li><a href="about%20us/StoreHours.html">Store Hours</a></li>
<li><a href="about%20us/board.html">Board of Directors</a></li>
<li><a href="about%20us/Mission.html">Mission & Vision</a></li>
<li><a href="about%20us/Mission.html">Employments</a></li>
</ul>
<!-- end inner UL--></li>
<!-- end main LI--></ul>
<!--end main UL-->
<ul>
<li><a href="#">Our Stores</a>
<ul>
<li><a href="Our%20Store/Agriculture.html">Agriculture</a></li>
<li><a href="Our%20Store/Store.html">Stores & Supplies</a></li>
<li><a href="Our%20Store/Fuel.html">Fuels</a></li>
</ul>
<!-- end inner UL--></li>
<!-- end main LI--></ul>
<!--end main UL-->
<ul>
<li><a href="#">Members</a>
<ul>
<li><a href="Membership/About%20Membership.html">About Membership</a></li>
<li><a href="Membership/Membership%20Application.html">Membership Application</a></li>
<li><a href="Membership/payment.html">Payment Methods</a></li>
<li><a href="Membership/term.html">Terms & Regulations</a></li>
</ul>
<!-- end inner UL--></li>
<!-- end main LI--></ul>
<!--end main UL-->
<ul>
<li><a href="#">Tips & Care</a>
<ul>
<li><a href="Tips/Garden.html">Agriculture</a></li>
<li><a href="Tips/Garden.html">Garden</a></li>
<li><a href="Tips/Garden%20Journal.html">Garden Journals</a></li>
<li><a href="Tips/Flowers.html">Flowers</a></li>
<li><a href="Tips/birds.html">Birds</a></li>
</ul>
<!-- end inner UL--></li>
<!-- end main LI--></ul>
<!--end main UL-->
<ul>
<li><a href="contact%20us.html">Contact Us</a></li>
</ul>
<!-- end inner UL-->
<!-- end main LI-->
<!--end main UL--></div>
<!--end of menu-->
<div id="welcome">
<div class="c8"><a class="welcome" href="website.html"><img src="http://www.sitepoint.com/forums/images/learn.jpg" alt="email" border="0" /></a></div>
<!--learn moer ends-->
<div class="c9"><a class="welcome" href="website.html"><img src="http://www.sitepoint.com/forums/images/ourserv.jpg" alt="email" border="0" /></a></div>
<!--peterboro title ends--></div>
<!--welcome ends-->
<div id="leftcol"><!-- Left panel start-->
<div class="c10">About Us</div>
<div class="c11">Peterborough Co-operative District Services Strives<br />
to fulfill our customers' needs. Fulfilling our<br />
customers' needs means, improving our services to provide high qualityof products and the highest level<br />
of services ...</div>
<div class="c12"><a class="leftcol" href="#">More...></a></div>
<!-- About US end-->
<div class="c13">Newsletter</div>
<div class="c14"><a class="leftcol" href="http://www.sitepoint.com/forums/Jeff/Websites/Contents/Fuel/Maximizing%20Price12.doc">Current newsletter</a><br />
<a class="leftcol" href="#">Past Issues</a></div>
<div><!-- Store Hours Start-->
<div class="c15">Store Hours</div>
<div class="c16"></div>
<div class="c19"><br />
Monday - Friday: 8am - 6pm<br />
<br />
<span class="c17">Saturday: 8am - 5pm</span><br />
<br />
<span class="c18">Sunday: Closed</span></div>
<div class="c20"><a class="leftcol" href="#">More...></a></div>
<!-- Store Hours end-->
<!-- Weatehr starts-->
<table cellspacing="0" cellpadding="0" width="200">
<tbody>
<tr>
<td>
<div class="c22"><span class="c21"><iframe marginheight="0" marginwidth="0" name="wxButtonFrame" id="wxButtonFrame" height="20" src="http://btn.weather.ca/weatherbuttons/template4.php?placeCode=CAON0536&category0=Cities&containerWidth=367&btnNo=&backgroundColor=blue&multipleCity=0&citySearch=1&celsiusF=C" align="top" frameborder="0" width="320" scrolling="no"><span class="c21"><br /></span></iframe></span></div>
</td>
</tr>
</tbody>
</table>
<blockquote>
<p><!--products & Services Start--></p>
</blockquote>
<div class="c23">Products & Services</div>
<div class="c24">Retail Store</div>
<div class="c25">Agriculture<br />
Gardencenter<br />
Seasonal<br />
Non-Seasonal<br />
GfitShops<br />
Seasonal<br />
Non-Seasonal<br /></div>
<div class="c26">Delivery</div>
<div class="c27">Fuel</div>
<div class="c28"><a class="leftcol" href="#">More...></a></div>
<!--products & Services End-->
<!--Membership End-->
<div class="c29">Memerbship</div>
<div class="c30">
<p>If you become a member, you will<br />
be equitably sharing and in the control<br />
of your own business based on the<br />
principle of one member-one vote<br />
regardless of your investments in<br />
common shares. You are eligible for<br />
credits for farm & home needs, access<br />
products to meet your needs, and<br />
you will be ateconomic advantages<br />
through reasonable prices and share<br />
returns as determined by our elected<br />
Board of Directors....</p>
</div>
<div class="c31"><a class="leftcol" href="#">More...></a></div>
<!--Membership End-->
<!--Right Column Start-->
<div><!--Tips & Care Start-->
<div class="c32">Tips & Care</div>
<div class="c33">Learn how to properly take care your<br />
garden on our website!<br />
We will try our best to help you.<br />
Plants to attract your birds on your<br />
garden and many many more..!</div>
<div class="c34"><a class="leftcol" href="#">More...></a></div>
<!--Tips & Care End-->
<!--Max Price Start-->
<div class="c35">Maximizing Price Contract !</div>
<div class="c36">
<p>→Are you concerned about the potential of incerasing fuel cost?</p>
<p>→Would it benefit yuo to know your fuel prices would not exceed a set price for 6 months?</p>
<p>→Would it benefit you to....</p>
</div>
<div class="c37"><a class="leftcol" href="#">More...></a></div>
<!--Max Price end--></div>
</div>
<!--main end--></div>
<div id="footer">
<div class="c38">About Us</div>
<div class="c39">Our Store</div>
<div class="c40"><a class="footer" href="contact%20us.html">Contact Us</a><br /></div>
<div class="c41"><a class="footer" href="about%20us/Location.html">Location</a><br />
<a class="footer" href="about%20us/StoreHours.html">Store Hours</a><br />
<a class="footer" href="about%20us/board.html">Baord of Directors</a><br />
<a class="footer" href="about%20us/Mission.html">Mission & Vision Statements</a><br />
<a class="footer" href="about%20us/employment.html">Employments</a><br /></div>
<!--end of about us menu-->
<div class="c42"><a class="footer" href="Our%20Store/Agriculture.html">Agriculture</a><br />
<a class="footer" href="Our%20Store/Store.html">Stores & Supplies</a><br />
<a class="footer" href="Our%20Store/Fuel.html">Fuel</a><br /></div>
<div class="c43">Members</div>
<div class="c44">Tips & Care</div>
<div class="c45"><a class="footer" href="Membership/About%20Membership.html">About Membership</a><br />
<a class="footer" href="Membership/Membership%20Application.html">Membership Application</a><br />
<a class="footer" href="Membership/payment.html">Payment Methods</a><br />
<a class="footer" href="Membership/term.html">Terms & Regulation</a><br /></div>
<!--end of about us menu-->
<div class="c46"><a class="footer" href="Tips/Agriculture.html">Agriculture</a><br />
<a class="footer" href="Tips/Garden.html">Garden</a><br />
<a class="footer" href="Tips/Garden%20Journal.html">Garden Journal</a><br />
<a class="footer" href="Tips/birds.html">Birds</a><br />
<a class="footer" href="Tips/Flowers.html">Flowers</a><br /></div>
<!--end of about us menu-->
<div class="c47"><a class="footer" href="index.html"><img src="http://www.sitepoint.com/forums/images/PTBO.jpg" width="300" height="150" border="0" alt="** PLEASE DESCRIBE THIS IMAGE **" /></a></div>
<div class="footer c48">© Copyright 2011 Peterborough District Co-operative Services | 861 Lansdowne Street West, Peterborough, ON | (705) 745-4607</div>
</div>
</div>
<!--end of about us menu-->
<!--end of about us menu-->
<!-- Footer Ends-->
<!-- Wrapper ends-->
</body>
</html>
Please let me know if you guys do find something!
Thanks,
Bookmarks