No replies
jjei's picture
Last seen: 9 years 36 weeks ago
Timezone: GMT+2
Joined: 2011-01-12
Posts: 1
Points: 2

I have a problem making an element to float to bottom. I have containers that differ in the amount of content and I need to align the element to the bottom of the container. I used the technique similar to this:

However, it's not working for me. Here is the example. It's from a drupal site, I have erased some stuff but the problem is easy to see. I need to align this element

<span class="catalog-grid-sell-price"><span class="uc-price">9,00€</span></span>

to the bottom of the box with gray borders.

I added position: relative to the box with gray borders and position: relative to the catalog-grid-sell-price -element but now all the prices are aligned to the bottom of a bigger container, not the box with gray borders.

Any clues how the fix the problem?