I'm using an ajax calendar extender control on my page, and although the extender block appears correctly, it's contents don't:
Here's the code I'm using to write it onto the page:
<table class="tblForm">
<tr>
<td valign="top">
<asp:TextBox runat="server" ID="txtPickupDate" AutoPostBack="true"></asp:TextBox>
<aj:CalendarExtender runat="server" ID="calPickup" TargetControlID="txtPickupDate" Format="yyyy-MM-dd">
</aj:CalendarExtender>
</td>
</tr>
</table>
There aren't any style rules applied directly to the CalendarExtender, but I do have this css which may be relevant:
.tblForm
{
display: block;
}
.tblForm td
{
width: 245px;
float: left;
}
Has anyone seen this before? Does anyone know what it could be?
Thanks in advance for any help!
EDIT
I've tried removing the float and although this fixes the CalendarExtender, it also shifts every cell in the container table out of alignment. I've also tried setting clear: both;
to the CalendarExtender, but this makes it's background disappear.