Postings tagged with CSS
CSS vs. Rounded Borders
I used to be a big fan of CSS, W3C and such. Until today, when I tried to implement smooth rounded borders. Just look at this mess:
<div id="example">
<div class="rt"><div class="rl"><div class="rr"></div></div></div>
<div class="rc"><div class="rl"><div class="rr">
Lopem ipsem...
</div></div></div>
<div class="rb"><div class="rl"><div class="rr"></div></div></div>
</div>
Not that bad? Well, wait: You've only seen the HTML part, which still is verbose but still kind of acceptable. Now look at the CSS desert:
div.rt { background-position: top center; background-repeat: repeat-x; }
div.rt div.rl { background-position: top left; }
div.rt div.rl ...