Refactor HTML with CSS
Posted
by Kane
on Stack Overflow
See other posts from Stack Overflow
or by Kane
Published on 2010-06-12T10:13:39Z
Indexed on
2010/06/12
10:22 UTC
Read the original article
Hit count: 352
As my CSS and HTML skills are somewhat limited can anyone advise if the code below can be refactored without so many div tags?
<div style="border: 1px solid #D0D2D1">
<div style="border: 8px solid #F6F4F5">
<div style="padding: 0.5em">
Content Here
</div>
</div>
</div>
© Stack Overflow or respective owner