Quantcast
Channel: Visual Studio and Visual Web Developer Express
Viewing all articles
Browse latest Browse all 3509

How to add a control at the bottom of asp page

$
0
0

I have the following code:

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ClientBasket.aspx.cs" Inherits="ClientBasket" %><!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 id="Head1" runat="server"><link rel="stylesheet" type="text/css" href="~/Styles/BigScreens.css" /> </head><body id="body1" runat="server" style="background-color:#FFEBD6;"><form id="form1" runat="server" >  <asp:Panel ID="Panel2" runat="server"> <div style="padding-top:10px"><asp:Label ID="Label1" runat="server"  Font-Size="Large" ForeColor="Red" Text="Item To ADD"></asp:Label></div>     <asp:Table id="TableItemToAdd" runat="server">
           //table content</asp:Table><br /><br /><asp:Label ID="Label7" runat="server" Font-Size="Large" ForeColor="Red" Text="Your Basket"></asp:Label><asp:Repeater id="Repeater1" runat="server"><HeaderTemplate><table border="1" width="100%"><tr>
                       //content</tr></HeaderTemplate><ItemTemplate><tr align="center">
                      //content                    </tr></ItemTemplate><AlternatingItemTemplate><tr bgcolor="#e8e8e8">
                    //content</tr></AlternatingItemTemplate><FooterTemplate></table></FooterTemplate></asp:Repeater><br /><center><asp:Button ID="Button4" runat="server" Text="Order now!!" /></center><div style="text-align:center; z-index:1; position:relative; margin : 0 auto; "><asp:Image ID="Image5" runat="server" AlternateText="LOGO" 
              ImageUrl="url" 
              style="width:auto; height:auto; position:relative; " /> </div></asp:Panel><div style="z-index:1; position:relative;"><asp:Label ID="Label9" runat="server" style="margin-left:70%; font-size:small">//text</asp:Label> </div></form></body>   </html>



css:

 #Panel2
{
    width:75em; 
    min-height:35em;
    margin-left:5%;
    margin-right:5%;
    margin-top:3%;   
    background-color:White;
    height:auto;   
     border-radius: 15px;
    -webkit-border-radius: 0.625em ; 
    -moz-border-radius: 0.625em;
   
     
}

I need to place the div that is right before the closing tag of the panel at the bottom of the panel and tried lots of methods and none of it worked; Any help plz!!


Viewing all articles
Browse latest Browse all 3509

Trending Articles