Click here to Skip to main content
15,894,410 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
here i try to put footer at bottom but it appears on top

here is the code

ASP.NET
<body>
    <form id="form1" runat="server">

    <div id="templatemo_container">

    <div id="templatemo_top_panel">
        <div id="templatemo_sitetitle">
             Website
        </div><br /><br /><br /><br /><br />
        <br /><br />
          <div id="templatemo_menu">
        <ul>
            <li><a href="#"  class="current">Home</a></li>
            <li><a href="Cateogries.aspx">Select a categry</a></li>
            <li><a href="#">Hot & New</a></li>
            <li><a href="#">Post Ad</a></li>
            <li><a href="#">Recently Ads Posted</a></li>
        </ul>
    </div>

    <div id="templatemo_content">

      <div>
        <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">

        </asp:ContentPlaceHolder>
    </div>

    </div><br /><br />
    </div>
    </div>

    <%--<div id="templatemo_footer">
        <div class="footer_leftcol">
            Copyright © 2014<a href="#"><strong>Your Webiste Name</strong></a><br />
            <a href="#" target="_parent">Website Templates</a> by <a href="#" target="_parent"></a><br /><br />
        </div>
        <div class="footer_rightcol">
            <div class="footer_subcol">
                <a href="#">Mainpage</a><br />
                <a href="#">Company</a><br />
                <a href="#">Advertise</a><br />
                <a href="#">Feedback</a><br />
            </div>
            <div class="footer_subcol">
                <a href="#">English</a><br />
                <a href="#">Japanese</a><br />
                <a href="#">Chinese</a><br />
                <a href="#">German</a><br />
                <a href="#">French</a>
                </div>
            <div class="footer_subcol">
                <a href="#">Terms</a><br />
                <a href="#">Privacy</a><br />
                <a href="#">Sitemap</a><br />
                <a href="#">Contact</a><br />
                <a href="#">Help</a>
            </div>
        </div>
    </div>--%>



    <div id="templatemo_footer"><p>asfasfsdfsdf</p></div>

    </form>
</body>



here is the image
http://oi62.tinypic.com/2v2e71t.jpg[^]

i want this footer at bottom

i tried many times but it can't work .. where is the problem and how i resolve it

any help?
Posted
Updated 4-Jun-14 22:38pm
v2
Comments
Nivedita_Parihar 5-Jun-14 5:15am    
Can u show the css what you are using for footer?

use the following css to align footer at bottom.
CSS
.footer
{
margin : 400px auto; /* the margin you can increase to align it at bottom */
position : relative;
}
 
Share this answer
 
Hi Atif,

You are using HTML5. So use Footer tag.
check this http://www.w3schools.com/tags/tag_footer.asp[^]

Good Luck
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900