Published in: CSS
<div class=”roundcont”> <div class=”roundtop”> <img src=”tl.gif” alt=”" width=”15″ height=”15″ class=”corner” style=”display: none” /> </div> CONTENT <div class=”roundbottom”> <img src=”bl.gif” alt=”" width=”15″ height=”15″ class=”corner” style=”display: none” /> </div> </div> .roundcont { width: 250px; background-color: #f90; color: #fff; } .roundcont p { margin: 0 10px; } .roundtop { background: url(tr.gif) no-repeat top right; } .roundbottom { background: url(br.gif) no-repeat top right; } img.corner { width: 15px; height: 15px; border: none; display: block !important; }
Comments
Subscribe to comments
You need to login to post a comment.

The inline styling is overridden by the - display: block !important; argument