/ Published in: CSS

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<div class="grid"> <div class="wrap1"> <div class="col1">...</div> <div class="col2">...</div> </div> </div> <style> /* general styles */ grid {border:1px solid #d9d9bf;} grid .wrap1 {margin:-1px;} /* IE7 and below styles */ .grid {zoom:1;} /* IE6 and below styles */ .grid .wrap1 {position:relative;} </style>
URL: http://www.onderhond.com/blog/work/css-columns-with-borders
Comments
