OK. I have a page setup like this:-
There are several other divs in the same format below these.Code:<div class="register_label"> <asp:Label ID="lblEmailTo" runat="server" CssClass="blue336799_8" Text="To:" /> </div> <div class="register_txt"> <asp:DropDownList ID="ddlEmail" runat="server" CssClass="textbox8" /> <asp:TextBox ID="txtEmailToAdd" runat="server" CssClass="textbox8" Text="Enter Email" Width="100" MaxLength="60" Style="color: #C8C8C8;" /> <asp:Button ID="btnEmailToAdd" runat="server" CssClass="button_16px_blue" Text="Add" OnClick="btnEmailToAddOnClick" /> <table cellpadding="0" cellspacing="0" border="0" style="height: 100%;"> <asp:Repeater ID="repEmailTo" runat="server"> <ItemTemplate> <tr> <td> <asp:Label ID="lblEmail" runat="server" CssClass="blue336799_8" Text='<%#Eval("data") %>' /> <asp:ImageButton ID="lnkEmailRemove" runat="server" ImageUrl="/images/cancel10x10blue.gif" CommandName="Edit" Style="background-color: #EDF0FD;" /> </td> </tr> </ItemTemplate> </asp:Repeater> </table> </div> <div style="clear:both;"></div> <div class="register_label"> <asp:Label ID="lblPriority" runat="server" CssClass="blue336799_8" Text="Priority:" /> </div> <div class="register_txt"> <asp:DropDownList ID="ddlPriority" runat="server" CssClass="textbox8" /> </div>
When I add an item to the repeater, the container div isn't expanding the height, so the items that are appearing in the list are underneath the ddlPriority dropdownlist and these divs aren't being pushed down the screen.
What am I doing wrong?



LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks