Click here to Skip to main content
15,894,343 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i wanted to put 2 buttons just above the navbar (see the link as below)
http://postimg.org/image/o0dga8wux/[^]

this is my code:
ASP.NET
<form id="form1"  runat="server">
        <div>some content</div>
        <nav class="navbar navbar-default navbar-fixed-bottom" role="navigation">            
            <div class="container">
                <div class="container-fluid" style="color:white">
                    footer
                </div>
            </div>
        </nav>
</form>


how can i do that? please guide me, im new to bootstraps
Posted
Updated 16-Mar-14 14:05pm
v2
Comments
CHill60 16-Mar-14 13:07pm    
You might get more people responding if you use the Improve question link to re-tag your question with additional tags (HTML? CSS?). Alternatively if you are using Bootstrap the framework, then you might get a better response here https://github.com/twbs/bootstrap/issues?state=open[^]

1 solution

HTML
<!-- FOOTER -->
<button type="button" class="btn btn-success pull-right">Success</button>
<button type="button" class="btn btn-success pull-right">Success</button>

<div style="clear:both"></div>
<footer style="border:1px solid blue">
  <p class="pull-right"><a href="#">Back to top</a></p>
  <p>&copy; 2014 Company, Inc. &middot; <a href="#">Privacy</a> &middot; <a href="#">Terms</a></p>
</footer>


This is just an example. Read the bootstrap documentation as it gives excellent ways to accomplish most anything. If you are just beginning I recommend using their templates/examples to build upon and revise as you want them to look. The code I have included is not proper as the styling should be inside a css file instead of in-line which is only shown for brevity and highlighting where stuff is at. You will have to do a little manipulation to get your buttons as you want them. Try stuff and see what happens...
 
Share this answer
 
Comments
melvintcs 17-Mar-14 20:59pm    
Hi, thanks for the reply. but ur footer's bar and the button is not stick at the bottom like i wanted it to be

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