Manish
Manish

Reputation: 1326

Push footer to bottom

I'm using twitter bootstarp for my site.

and using this thread to push my footer to bottom.

Flushing footer to bottom of the page, twitter bootstrap

you can see my page here.

http://khanawal.com/MYListings.aspx

Please let me know where i'm going wrong or what css modifications I need to do.

Upvotes: 0

Views: 108

Answers (3)

Liam Allan
Liam Allan

Reputation: 1115

add these attributes to your footer css:

position:absolute;
bottom:0;

Upvotes: 1

Kevin Lynch
Kevin Lynch

Reputation: 24733

It's because you entire page is within your form tags. I would close the form tags at the top where required and set 100% height to the wrap div. I set height to 100% on google dev tools, for the form for testing and it fixed the issue.

Upvotes: 0

AJ Meyghani
AJ Meyghani

Reputation: 4609

Actually the Bootstrap's site provides an example for sticky footer. You can check them out for both versions: version 2.3.2 and version 3.0

Upvotes: 1

Related Questions