SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    Non-Member
    Join Date
    Jun 2005
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    rounded corners sitepoint tutorial

    im using this sitepoint article as a basis for creating a css layout with rounded corners using js and DOM. i find that this doesnt work when you add another div inside the div. if you do, it ads another corner image at the bottom left of that div

    im not sure why, cause as the tutorial says "The script is divided in to two logical sections. The first section iterates over all of the <div> elements in the document, building an array of those that contain 'rounded' in their class attribute "

    so it should only be assigning corners to divs that have the 'rounded' class

    ?

  2. #2
    SitePoint Addict ALL's Avatar
    Join Date
    Oct 2005
    Location
    South Dakota
    Posts
    215
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    post all the code you are using including html and javascript that you are haing the problem with
    Did I help you?
    You can repay me, support one of my projects (no money needed):
    JavaScript Wiki, Another Web Forum, Paranormal Site


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
  •