1

I'm managing a trivial column-splitted section in my website to show the abstract of some content. Each column has got a link at the end. Here's an example: http://jsfiddle.net/CV4Yr/2.

The problem is: how can I align those read-more link at the bottom of the section so that all three of the read-more links line up horizontally? Notice that columns seem to have equal height, but it's just a trick using negative margin.

Of course I can imagine a lot of javascript hacks, but I'd rather avoid them.

Thanks

EDIT: I corrected the link to the right version of the fiddle. Now columns are equal heighted.

balanza
  • 1,012
  • 1
  • 12
  • 32

1 Answers1

0

Because of the method you've used to make the columns an equal height, placing a link at the bottom is going to be difficult.

If you can find an alternative method, something as simple as this would work added into your existing code:

article {
    position: relative;
    padding-bottom: 30px;
}

article > a {
    position: absolute;
    bottom: 0; left: 0;
    height: 30px;
    padding: 0 10px;
    line-height: 30px;
}
will
  • 4,427
  • 6
  • 29
  • 33
  • But how I get column to be equal eighted? – balanza Jun 25 '12 at 09:12
  • Here a couple of links to the methods available: http://css-tricks.com/fluid-width-equal-height-columns/ http://matthewjamestaylor.com/blog/equal-height-columns-cross-browser-css-no-hacks – will Jun 25 '12 at 10:50