Public Voice Network
- Chick of the Day 1430414304
- torrentday.com 1111
- What do you call... 3838
- Pic of the Day 5933259332
- Bureau of Trade 1313
- Girl + Drinking + Music 1010
- Online Printing 44
- the gif animation thread 1131511315
- *¨*•。★ Wedding Day Book 55
- Windows software on Mac 1313
- where to get infographics… 1111
- responsive design on a gr… 66
- blog 5557355573
- FMT 020312 4242
- QBN+ Challenge 26 4040
- Photographers site 55
- Internet crackdown coming… 138138
- Politics 1757517575
- crash n' burn 66
- Vid of the Day 1094210942
- Script What the Font 33
- what the blog? 33
- Anyone in NY... 33
- Burning Man 463463
CSS - rounded corners 1111 Responses
Last post: 1 year, 12 months ago | Thread started: Feb 8, 10, 6:25 p.m.
- raf
What is your approach to rounded corners, ie like those post count bubbles here on quick links list menu on the left hand side have?
⬅CSS offers elegant and simple rounded corners for webkit (safari, chrome) and gecko (firefox) browsers. IE needs more work though.
QBN uses a variation of sliding doors technique with opening and closing images
It's ok, but can get tricky.
There are plenty of JavaScript-based techniques. What's your preferred and safe method?
- Feb 8, 10, 6:25 p.m. – Permalink
- amullins
use css3 rounded corners + the browser specific rounded corners properties (ie. -moz-border-radius and -webkit-border-radius). ie will require a little vml work ( http://snook.ca/archives/html_an… ). jonathon snook's experiment as a jquery plugin http://plugins.jquery.com/projec… . dd_roundies will work if you use x-ua-compatible meta tag set to IE=7. Another jQuery plugin that makes use of vml http://www.parkerfox.co.uk/labs/… . Use of vml will require an xhtml doctype and new namespace for vml elements - as snook points out in his post.


- Dog-earFeb 8, 10, 7:47 p.m. – Permalink
- fugged
I've always used variations on the sliding doors technique and recently starting to use CSS3 more and more. If the rounded corners aren't critical to the design, then I say CSS and fuck IE.
Personally not a big fan of JavaScript being used for rounding corners and the likes...

- Dog-earFeb 8, 10, 8:22 p.m. – Permalink
- Stugoo
Nah javascript is not an option for rounded corners to be honest.
I came across this a while ago.
http://dimox.net/cross-browser-b…
Been using it since.
well that is to say I dont use it all the time, I wont use it on inputs, or key layout elements but will for tertiary items whilst I still get into my comfort zone with it.
- Dog-earFeb 9, 10, 1:48 a.m. – Permalink
- colourform
CSS3 all the way for me. The hacks for IE only let it off the hook. By ignoring IE (square corners aint gonna kill usability) more and more people will realise the web looks better in modern browsers and make the switch.


- Dog-earFeb 9, 10, 1:57 a.m. – Permalink





