ITORIAN    

  public string Welcome() {

      return "Abhimanyu's Thoughts";

  }

My First E-Book
Quick Report
Yearly Posts:
   i) Oct-Nov 2010: 12
   ii) In 2011: 380
   iii) In 2012: 32

You can find my articles and blogs on:
   i) itorian.com
   ii) c-sharpcorner.com
   iii) dotnetfunda.com
   iv) codeproject.com

Greatest Hits
People I Follow
Disclaimer
This is my personal website and the opinions I have expressed here is my own. For any accuracy I recommend to visit official websites like MSDN for Microsoft. I developed this website to share my technical skills.

Rounded Corner DIV in ASP.NET
In this post you are going to learn, how to create rounded corner DIV in ASP.NET
Abhimanyu Kumar Vatsa

IT Faculty || I blog on Microsoft Technologies || Mindcracker MVP || Founder of ITORIAN.COM
   

Introduction

Look at the image given below:

In the above image, you can see the rounded corner control. Most of you will guess its image or even you call it as background image, but actually it is not image, its rounded corner DIV.

To create such rounded corner DIV you just need to add some special styles with existing DIV tag. Look at the DIV given below:

<div style="margin:0 auto; background-color:#EAFFFF; -moz-border-radius: 100px; -webkit-border-radius: 100px; border-radius: 100px; padding:15px 15px 15px; width:200px;">

            Place your data here

</div>

 

Try the above code it will create the rounded DIV for you. And even it is very concise way because it will take less memory to download.


Happy Coding !!



Join us on Facebook. Join us on Twitter.

   



Approved Comments

No any comment found.