<Div id = "nifty">
<B class = "rtop"> <B class = "r1"> </B> <B class = "r2"> </B>
<B class = "r3"> </B> <B class = "r4"> </B>
<H1> DEMO code
<Style type = "text/css">
Body {padding: 20px; background-color: # FFF;
Font: 100.01% "Trebuchet MS", Verdana, Arial, sans-serif}
H1, h2, p {margin: 0 10px}
H1 {font-size: 250%; color: # FFF}
H2. {font-size: 200%; color: # f0f0f0}
P {padding-bottom: 1em}
H2 {padding-top: 0.3em}
Div # nifty {margin: 0 10%; background: # 9BD1FA}
B. rtop, B. rbottom {display: block; background: # FFF}
B. rtop B, B. rbottom B {display: block; height: 1px;
Overflow: hidden; background: # 9BD1FA}
B. r1 {margin: 0 5px}
B. r2 {margin: 0 3px}
B. r3 {margin: 0 2px}
B. rtop B. r4, B. rbottom B. r4 {margin: 0 1px; height: 2px}
</Style>
<B class = "rbottom"> <B class = "r4"> </B> <B class = "r3"> </B>
<B class = "r2"> </B> <B class = "r1"> </B>
</Div>
//////// The following is another example. You can use jquery. corner, but it is too complicated .. So you don't need that.
<Style type = "text/css">
# Xsnapshoth1, # xsnapshoth2, # xsnapshotp {margin: 0 10px; letter-spacing: 1px ;}
# Xsnathh1 {font-size: 2.5em; color: # fff ;}
# Xsnathh2 {font-size: 2em; color: # 06a; border: 0 ;}
# Xsnathp {padding-bottom: 0.5em ;}
# Xsnathh2 {padding-top: 0.5em ;}
# Xsnath{ background: transparent; margin: 1em ;}
. Xtop,. xbottom {display: block; background: transparent; font-size: 1px ;}
. Xb1,. xb2,. xb3,. xb4 {display: block; overflow: hidden ;}
. Xb1,. xb2,. xb3 {height: 1px ;}
. Xb2,. xb3,. xb4 {background: # ccc; border-left: 1px solid # 08c; border-right: 1px solid # 08c ;}
. Xb1 {margin: 0 5px; background: # 08c ;}
. Xb2 {margin: 0 3px; border-width: 0 2px ;}
. Xb3 {margin: 0 2px ;}
. Xb4 {height: 2px; margin: 0 1px ;}
. Xboxcontent {display: block; background: # ccc; border: 0 solid # 08c; border-width: 0 1px ;}
</Style>
<Div id = "xsnax">
<B class = "xtop"> <B class = "xb1"> </B> <B class = "xb2"> </B> <B class = "xb3"> </B> <B class = "xb4"> </B>
<Div class = "xboxcontent">
<H1> snail bait Borders <P> Based on Nifty Corners By Alessandro Fulciniti <br/> http://pro.html.it/esempio/nifty/ </p>
<H2> Rounded borders without images <P> Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh
Euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim
Ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl
Ut aliquip ex ea commodo consequat. </p>
<P> Duis autem vel eum iriure dolor in hendrerit
In vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla
Facilisis at Fig
Luptatum zzril delenit augue duis dolore te feugait nulla facilisi. </p>
</Div>
<B class = "xbottom"> <B class = "xb4"> </B> <B class = "xb3"> </B> <B class = "xb2"> </B> <B class = "xb1"> </B>
</Div>
/// If you only need the border to remove the background in xboxcontent and the background in xb2.xb3. xb4, it will be OK.