CSS 实现固定宽度圆角框效果

  1. /* rounded corner box
  2. ================================== */
  3. .box {
  4.   width424px;
  5.   backgroundurl(images/tile2.gif) repeat-y;
  6. }
  7. .box h2 {
  8.   backgroundurl(images/top2.gif) no-repeat left top;
  9.   padding-top20px;
  10. }
  11. .box .last {
  12.   backgroundurl(images/bottom2.gif) no-repeat left bottom;
  13.   padding-bottom20px;
  14. }
  15. .box h2 {
  16.   padding-left20px;
  17.   padding-right20px;
  18. }
  19. .box p {
  20.   padding-left20px;
  21.   padding-right20px;
  22. }

top2.gif

title2.gif

bottom2.gif

http://p.blog.csdn.net/images/p_blog_csdn_net/denuvead/EntryImages/20080908/tile2.gif

http://p.blog.csdn.net/images/p_blog_csdn_net/denuvead/EntryImages/20080908/top2.gif

http://p.blog.csdn.net/images/p_blog_csdn_net/denuvead/EntryImages/20080908/bottom2.gif

你可能感兴趣的:(css,Blog,url)