I have a little rendering problem with IE7 (as usual). Say there's a calendar control that looks like this:
<div class="calPager">
<input type="submit" name="prev" value="Prev" class="pagerPrev" />
<input type="submit" name="prev" value="Next" class="pagerNext" />
August 2009
</div>
The CSS looks something like this:
.calPager {
text-align: center;
height: 30px;
line-height: 30px;
}
input.pagerPrev, input.pagerNext {
height: 30px;
text-decoration: none;
border: none;
}
input.pagerPrev {
float: left;
padding-left: 28px;
background: url(../images/calPrevArrow.png) no-repeat;
}
input.pagerNext {
float: right;
padding-right: 28px;
background: url(../images/calNextArrow.png) right no-repeat;
}
In IE8 and Firefox this looks fine, the buttons are floated to the left and the right and the month and year are centered. But IE7 doesn't center the text. What's going wrong here?
The interesting thing is that if you replace the input elements with links (as I did in another project) this stuff all displays just fine in IE7.
Another little issue, the IE Developer tools somehow stopped recognizing all but the first of my CSS files, so that hasn't been much help. The CSS tab seems stuck on "loading...". Anyone run into this issue too?