html - Automatically expand margins to fill container? -
i've got following html layout:
div |-- h3 |-- ul |-- li |-- ... |-- li
the height of div
fixed. i'd li
's fill entire height of div. manually it, can adjust margin-bottom
dynamic content, out of question.
any ideas?
thanks!
the way can think of using css3 box layout model (flexbox), doesn't have support.
a pretty tutorial can found here , js solution implement in older browsers can found here (haven't tested myself yet, found in comments blog post above.
edit - tutorial here
Comments
Post a Comment