/ Published in: CSS

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<style type="text/css"> .box .boxTop { } .box .boxBody { margin-bottom:-2px; margin-top:-2px; } .box > .boxBody { margin-bottom:auto; margin-top:auto; } </style> <div class="box"> <div class="boxTop">img</div> <div class="boxBody">content</div> <div class="boxFoot">img</div> </div>
Comments
