Bruce Barker enlightened me by writing:
generally this is bad markup or dangling tags. add the tidy extension
to firefox, and have it validate your html.
-- bruce (sqlwork.com)
Hi, thanks for responding. I have downloaded the extension (great tool
btw) and it shows the same warnings that other pages in my site show;
hidden fields placed by asp.net.
Here is the curious thing: if I load the page, it does not render the
div, all other controls are rendered as they should be. However, if I
shut down cassini (or whatever they're calling it these days), IE will
actually then render the div correctly.
IE says "Done" in lower left hand corner however when the page is
loaded.
I have included source below for your review.
--
Warm Regards,
Lee
"Upon further investigation it appears that your software is missing
just one thing. It definitely needs more cow bell..."
<%@ Page Language="VB" AutoEventWireup="false"
CodeFile="choose_cardholder.aspx.vb" Inherits="choose_cardholder" %>
<%@ Register Src="page_header.ascx" TagName="page_header"
TagPrefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
<link href="styles/StyleSheetMerchant.css" rel="stylesheet"
type="text/css" />
</head>
<body>
<form id="form1" runat="server">
<div>
<uc1:page_header ID="Page_header1" runat="server" />
</div>
<div style="border-right: blue thin solid; border-top: blue
thin solid; z-index: 100;
left: 16px; border-left: blue thin solid; width: 760px;
border-bottom: blue thin solid;
position: absolute; top: 128px; height: 400px">
<asp:RequiredFieldValidator ID="ValSearchReq"
runat="server" ControlToValidate="txtSearch"
CssClass="ErrorLabel"
ErrorMessage="RequiredFieldValidator" style="z-index: 100; left: 168px;
position: absolute; top: 88px">Search Value is
Required</asp:RequiredFieldValidator>
<asp:Button ID="bSearch" runat="server"
CssClass="LabelBody" Height="24px" Text="Search" Width="56px"
style="z-index: 101; left: 632px; position: absolute; top: 80px" />
<asp:GridView ID="gvCustomers" runat="server"
AllowPaging="True" AutoGenerateSelectButton="True"
CssClass="MerchGrid" Height="1px" style="z-index: 102;
left: 8px; top: 120px" Width="680px" >
<RowStyle CssClass="MerchGridDataRows" />
<SelectedRowStyle CssClass="MerchGridSelectedRow" />
<HeaderStyle CssClass="MerchGridHeader" />
</asp:GridView>
<asp:Button ID="bExit" runat="server"
CausesValidation="False" style="z-index: 103; left: 632px; position:
absolute; top: 368px" Text="Exit" Width="48px" />
<asp:Button ID="bEdit" runat="server" style="z-index: 104;
left: 520px; position: absolute; top: 368px" Text="Edit" Width="48px" />
<asp:Button ID="bNew" runat="server"
CausesValidation="False" style="z-index: 111; left: 576px; position:
absolute; top: 368px" Text="New" Width="48px" />
<asp:DropDownList ID="cboSearchType" runat="server"
AutoPostBack="True" CssClass="LabelBody" style="z-index: 106; left:
8px; position: absolute; top: 56px">
<asp:ListItem>Card Number</asp:ListItem>
<asp:ListItem>Member Last Name</asp:ListItem>
<asp:ListItem>Member Phone</asp:ListItem>
</asp:DropDownList>
<asp:Label ID="lblError" runat="server"
CssClass="ErrorLabel" Text="Label" Visible="False" Width="168px"
style="z-index: 107; left: 168px; position: absolute; top:
88px"></asp:Label>
<asp:TextBox ID="txtSearch" runat="server"
CssClass="LabelBody" style="z-index: 108; left: 8px; position:
absolute; top: 88px"></asp:TextBox>
<asp:Label ID="Label2" runat="server"
CssClass="LabelHeader1" Text="Choose Card Holder" Width="192px"
style="z-index: 109; left: 8px; position: absolute; top:
8px"></asp:Label>
<asp:Label ID="Label1" runat="server" CssClass="LabelBody"
Text="Search By" Width="104px" style="z-index: 110; left: 8px;
position: absolute; top: 32px"></asp:Label>
</div>
</form>
</body>
</html>