Mind blowing SEO improving and Google rank increasing Signature Rotator SEO Tool.

Thread: 

div align content bottom that works with float left right?

Ads
Guest referral

 

#1
Unregistered
How to align content of a div to the bottom? The problem I am using CSS float:left; and and don't know content is stuck at the top?

I tied using display: table-cell; with vertical-align: bottom; but don't work!
marcus_avrelius Offline referral

Posts: 2,424
Joined: May 2013
Reputation: 102

#2
Support Team
Try this solution.

HTML
Code:
<div class="wrapper">
<div>Content 1</div>
<div>Content 2</div>
<div>Content 3</div>
</div>

CSS
Code:
.wrapper div {
    display: table-cell;
    height: 100px;
    padding-right: 10px;
    vertical-align: bottom;
}





User(s) browsing this thread: 1 Guest(s)