M
Mel
I created a header that adjusts with the size of the browser windows.
How do I place labels in the header section so they also maintain
their position when the window is resized? One of the labels is
constant but the rest will be entered programmatically, for example,
the users name, their company, city, state and zip.
My example code:
<body>
<form id="form1" runat="server">
<div style="z-index: 103; margin: 0px; background:
url(logo_ucd.gif) black fixed no-repeat center center; font-family:
Verdana; height: 95px; valign: top; overflow: visible;" >
<div id="Content" style="z-index: 100; left: 13px; width:
1017px; position: absolute;
top: 114px; height: 695px; background-position: center
center; background-attachment: fixed; background-image:
url(logo_firestone_shield_WM.gif); background-repeat: no-repeat;">
<asp:ContentPlaceHolder ID="ContentPlaceHolder1"
runat="server">
</asp:ContentPlaceHolder>
</div>
</div>
<div style="z-index: 102; position: absolute; top: 100%;
valign: bottom; margin: 0px; width: 100%; background-color: red;
overflow: visible; font-family: Verdana;">
</div>
</form>
</body>
How do I place labels in the header section so they also maintain
their position when the window is resized? One of the labels is
constant but the rest will be entered programmatically, for example,
the users name, their company, city, state and zip.
My example code:
<body>
<form id="form1" runat="server">
<div style="z-index: 103; margin: 0px; background:
url(logo_ucd.gif) black fixed no-repeat center center; font-family:
Verdana; height: 95px; valign: top; overflow: visible;" >
<div id="Content" style="z-index: 100; left: 13px; width:
1017px; position: absolute;
top: 114px; height: 695px; background-position: center
center; background-attachment: fixed; background-image:
url(logo_firestone_shield_WM.gif); background-repeat: no-repeat;">
<asp:ContentPlaceHolder ID="ContentPlaceHolder1"
runat="server">
</asp:ContentPlaceHolder>
</div>
</div>
<div style="z-index: 102; position: absolute; top: 100%;
valign: bottom; margin: 0px; width: 100%; background-color: red;
overflow: visible; font-family: Verdana;">
</div>
</form>
</body>