0
Welcome Guest! Login
0 items Join Now

CSS code for round corners

    • IDesign's Avatar
    • IDesign
    • Hero Rocketeer
    • Posts: 414
    • Thanks: 0

    CSS code for round corners

    Posted 14 years 8 months ago
    • Hello,

      Can someone help me create a CSS code for round borders as the image attached?


      regards,
      Indrit
    • You never have a second chance to make a first impression !
  • Re: CSS code for round corners

    Posted 14 years 8 months ago
  • Re: CSS code for round corners

    Posted 14 years 8 months ago
    • hello idesign,

      are you looking for something like this...

      <style type="text/css">
      div
      {

      position:absolute;
      width:200px;
      height:100px;
      background-color:#efefef;
      }
      .div1
      {
      border:3px solid #ff0000;
      left:10px;top:50px;
      -moz-border-radius:30px;
      -khtml-border-radius:30px;
      }
      </style>
      <title>Frame with rounded corners</title>
      </head>
      <body>
      <div class="div1">example</div>
      </body>

      have fun
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: CSS code for round corners

    Posted 14 years 8 months ago
    • you can test some things here:
      westciv.com/tools/box-properties/index.html

      But be aware of the fact that IE is NOT supporting rounded corners via CSS.
      For techniques to solve that search google for "rounded corners with css".
      There are more aticles about that then I've got hair :shock:

Time to create page: 0.076 seconds