I’m redesigning one of my sites, and I’ve run into a CSS/formatting problem in Firefox (it works as intended in IE—go figure).
The basic layout is like this:
Header 1
Thumbails
Header 2
More Thumbnails
But what’s happening is:
Header 1
Header 2 (in the background, ‘underneath’ the thumbs, as if it’s being rendered before the EE code is executed)
Thumbnails
More Thumbnails
This is my HTML/EE Code dumbed down a bit for readability:
<h5>Header 1</h5>
{exp:weblog:entries weblog="weblogs" dynamic="off"}
<div class="thumbs">{Thumbnail}<a href="{url_title}/">{title}</a></div>
{/exp:weblog:entries}
<h5>Header 2</h5>
{exp:weblog:entries weblog="weblogs_2" dynamic="off"}
<div class="thumbs">{Thumbnail}<a href="{url_title}/">{title}</a></div>
{/exp:weblog:entries}
This is the CSS that affects the H5 & thumbs classes:
.thumbs {
float:left;
margin-right:3px;
margin-bottom:10px;
width:105px;
}
#blog h5 {
width: 550px;
height: 21px;
color: #FFFFFF;
border:0px;
text-decoration: none;
text-align: left;
font: bold 1.22em 'Lucida Grande', Verdana, Arial, Sans-Serif;
background-color:#778899;
padding: 6px 0 0 5px;
margin-bottom:10px;
}
Do you see anything that might be causing this behavior?
