SitePoint Sponsor

User Tag List

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

    Help with rounded corners

    Hi
    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
    Location
    Hampshire UK
    Posts
    40,556
    Mentioned
    183 Post(s)
    Tagged
    6 Thread(s)
    Hi,

    Have a look at sitepoints tool for rounded corners.

    http://tools.sitepoint.com/spanky/

    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


Bookmarks

Posting Permissions

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