SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Hybrid View

  1. #1
    SitePoint Addict
    Join Date
    Aug 2004
    Location
    canada
    Posts
    331
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Custom CSS corners with javascript + images

    I have been trying every possible method for creating CSS content boxes and none have been as simple as this.

    Transparent Custom Corners

    It's beautiful when it is working.

  2. #2
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,276
    Mentioned
    179 Post(s)
    Tagged
    6 Thread(s)
    Roger Johansson is well respected and it's bound to be a good method

    The ony problem I have with JavaScript corners is that on large sites the delay is unbearable and slows the page down. Indeed I used similar routines on a large site for a client but in the end had to remove the javascript and go back to css and images as per usual.

    For small sites and for small numbers of corners it would be great though.

    A better compromise would be to to use border-radius (-moz-border-radius/-webkit-border-radius) for modern browsers and supply only IE8 and under with the javascript.


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
  •