Displaying 1 result from an estimated 1 matches for "listcntnr".
2006 Apr 02
6
Neat style trick
Not terribly exciting, but I was happy to think of it.
I needed a div with a fixed height that could vary depending on page
content.
So I did this:
<div class="listcntnr" style="height: <%= @users.size / 2 * 125%>px">
Whee!
--Al Evans
--
Posted via http://www.ruby-forum.com/.