SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    May 2006
    0 Post(s)
    0 Thread(s)

    Help with rounded corners

    i would like to know the code for inserting a corner into my web design....i need to put in a left and right corner. (my corners are already done i just need to no the code for inserting them)

  2. #2
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Hampshire UK
    183 Post(s)
    6 Thread(s)

    Have a look at sitepoints tool for rounded corners.

    There are many ways to place a corner and its just basically normal css. You could place the corner in the background of existing elements using a background image. This means that there needs to be enough "hooks" in the code to do this and if you read the article above it will explain this.

    At the simplest level you could wrap an element in 4 divs and place a background image in each corner in each div. You could also use absolute positioning to place the corners but this is a little unreliable because ie has a 1px jog and the corners jog in and out of position.

    Read the article and if you are still stuck then post some code and we'll try to help


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts