More Nifty Corners
Alessandro Fulciniti’s More Nifty Corners is an improvement of his original Nifty Corners technique that was published three weeks ago. This new version of the image-less rounded corner technique adds support for anti-aliasing, borders, application/xhtml+xml and more.
- Previous post: 404 oddities
- Next post: Class Presentation
Subscribe / follow
Sponsors
Authentic Jobs
- (re)define our guts: FarmersWeb seeking Lead Web Engineer at FarmersWeb, LLC (New York, NY, Ne, US)
- Django Developer at Potato (London, UK, GB)
- DevOps Engineer at SHOP SMART LLC (Chicago, IL (River North), Il, US)
- Front End Designer & Developer at iGovern.com (Anywhere within the USA, , US)
DreamHost web hosting
Use the promo code 456BEREASTREET3 to save USD 20 when you sign up for DreamHost


Comments
It should be noted that Alessandro (the original author) created the updated version as well. Maybe it’s obvious, but I thought it was a different author that published the updated version (since there was enhancements over the last few weeks).
Kudos to Alessandro for this great trick, now if I could just bring myself to use it. I’m going back and forth over the idea of Javascript for layout. I know one could argue both ways on this, since the effect could be acheived without any scripting.
Great work! Thank you Alessandro.
Thanks for passing this on, Roger! I’ve stayed away from rounded corners of sorts until now because I find it silly to botch up an HTML elemen with tons of markup to achieve this effect. This is quite an interesting approach, though.
However with that said, it does pose an interesting issue in performance. Yes, the page may stream faster (in the http request), with no images and streamline css. But, then there is the client-side execution of all those js calls to that function to create those round corners.
hmmm…
I just implemented the javascript on a gallery site to show thumbnails of pictures with rounded corners like old fashioned slides. The end effect is nice and with a few thumbnails, it looks great. But as I added images to the gallery, the time it took for the browser to modify each li tag in the thumbnail list became too long and it ended up showing unrounded corners until all images loaded. In all, I think I may go back to my old method for this application but use it for rounded boxes and tabs. Cool trick.
The link dosen’t seem to work. Is it possible to find the information elsewhere?
The link is working now. Guess it was just a temporary glitch.
Does anyone else get IE errors when they run the nifty.js script on their site?
I get this error:
Line: 89 Char: 1 Error: Invalid property value Code: 0
Which relates to this line:
89 for(i=1;i
Comments are disabled for this post (read why), but if you have spotted an error or have additional info that you think should be in this post, feel free to contact me.