me and I was just wondering if anyone could tell me what it does !?
I've 2 text boxes and 4 combo boxes in a form Also on the main aspx page
there is a "Panel" ?
The Panel goes over all of the controls on the form (set with width and height parameters.
The problem i'm having is that I cannot get focus on the text boxes (without going to the
far left hand border!!) The Drop Down lists work fine it's just the text boxes.
In the Code behind There is no code relating to the Panel (appart from the declaration)
Could anyone tell me if this panel is needed and what it's supposed to be doing??
Thanks in Advance
Dave.
panel's render as <div> tags in html, in this case, it looks as the author is positioning the panel using CSS. When you use absolute positioning, you can start to get some weird placement of elements, especially if like what you said, you don't realize what is going on.<asp:panel id="Panel1" style="Z: 100; LEFT: 0px; POSITION: absolute; TOP: 50px" runat="server"
BorderStyle="None" Height="400px" Width="500px" Wrap="False" HorizontalAlign="Left"></asp:panel
I'd check out some absolute positioning documents, this one might help
http://www.yourhtmlsource.com/stylesheets/csslayout.html
0 comments:
Post a Comment