[Javascript] curved edges for table border
vijaykumar bavareddy
abvijayreddy at gmail.com
Sun Nov 5 22:51:08 CST 2006
Hi,
<div class="t"><div class="b"><div class="l"><div class="r"><div
class="bl"><div class="br"><div class="tl"><div class="tr">
Lorem ipsum dolor sit amet consectetur adipisicing elit
</div></div></div></div></div></div></div></div>
And the CSS that makes our round corner border is:
.t {background: url(dot.gif) 0 0 repeat-x; width: 20em}
.b {background: url(dot.gif) 0 100% repeat-x}
.l {background: url(dot.gif) 0 0 repeat-y}
.r {background: url(dot.gif) 100% 0 repeat-y}
.bl {background: url(bl.gif) 0 100% no-repeat}
.br {background: url(br.gif) 100% 100% no-repeat}
.tl {background: url(tl.gif) 0 0 no-repeat}
.tr {background: url(tr.gif) 100% 0 no-repeat; padding:10px}
am using above code still am not getting curved edges properly.. horizantal
and vertical lines are coming till end.. am not able to decrease thier
length by setting positions in above code..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20061106/eccdc3f6/attachment.htm>
More information about the Javascript
mailing list