I have a little code on jsfiddle: http://jsfiddle.net/tYrCe/1/ Edit it if you like!
I have 3 buttons with anchor tags. I would like them to be equal in height.
Requirements
You can use display: table-cell
.
table-layout: fixed
evenly distributes the available width between the cells.
Make sure the browser support is acceptable to you: http://caniuse.com/css-table
(I assume no IE6/7 support is fine because you're using outline
)
See: http://jsfiddle.net/thirtydot/Ab6bg/
.urls {
width: 300px;
background: #fff;
display: table;
table-layout: fixed
}
.urls a {
display: table-cell;
outline: 1px solid #ccc
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With