[thelist] 'Clear Both' in my UL's & LI's not working in IE 7
Rachell Coe
rachell at 4thegrapes.com
Wed Dec 29 20:21:40 CST 2010
Hi All! I've coded the gallery at
http://www.dancinvineyards.com/Gallery/index.htm using ul's and although
everything looks OK in IE 8, FireFox & Google Chrome, my client's Windows 7
is not honoring the 'clear=both' I've included in the stylesheet. I've
tried a TON of different things to make it work for him, but nothing has --
do any of you know why and how I can fix it?
Here is the css I've added for this section:
#gallery h3 {
clear: both;
border-bottom-width: 1px;
border-bottom-style: dotted;
border-bottom-color: #000;
}
#gallery ul {
margin: 0px;
clear: both;
padding-top: 0px;
padding-right: 0px;
padding-bottom: 20px;
padding-left: 0px;
list-style-type: none;
display: block;
float: none;
width: 100%;
}
#gallery li {
list-style-type: none;
}
#gallery li a:link {
display: block;
list-style-type: none;
padding: 5px;
float: left;
height: 95px;
width: 95px;
margin-right: 10px;
margin-bottom: 15px;
background-color: #44431B;
margin-top: 0px;
margin-left: 0px;
}
#gallery li a:visited {
display: block;
list-style-type: none;
padding: 5px;
float: left;
height: 95px;
width: 95px;
margin-right: 10px;
margin-bottom: 15px;
background-color: #44431B;
margin-top: 0px;
margin-left: 0px;
}
#gallery li a:hover {
display: block;
list-style-type: none;
padding: 5px;
float: left;
height: 95px;
width: 95px;
margin-right: 10px;
margin-bottom: 15px;
background-color: #8A1417;
margin-top: 0px;
margin-left: 0px;
}
TIA!! :)
Rachell Coe
4 the Grapes
http://www.4theGrapes.com
http://twitter.com/WineryMarketing
http://www.linkedin.com/pub/rachell-coe/5/881/b8a
http://www.facebook.com/pages/4-the-Grapes/123373531673?ref=mf
Web Design, Marketing & Photography
for Small, Boutique and Micro Wineries
More information about the thelist
mailing list