m is. If someone wants to speak on behalf of the accessibility folks in the comments, I'd love to hear it.

Browser compatibility is a bit trickier. To make it work at all, the browser needs to support the adjacent sibling selector, which we're talking only IE 8+. Although if that selector fails, all the number inputs are shown which wouldn't be a show-stopper. You'd have to move the styling to a selector in which doesn't use the "+" though. The field highlighting and pseudo-labeling require pseudo elements, so that has it's own set of compatibility as well. Last but not least, it's slightly unusual that pseudo elements are allowed on radio input elements at all. Inputs are "no content" style elements (they self-close, like an img element). Opera and WebKit happen to support it, but it's not clear whether or not they should. Firefox does not, so you won't see highlighting or labels in that browser.

If you need a 100% bulletproof solution, you could use a Wufoo form, and use Field Rules to hide/show additional fields.

Done

View Demo

Thanks to Bradley Staples for emailing in about the idea.


Advertise here with BSA

]]> http://css-tricks.com/choice-value-pair/feed/ 23 //AN_Xml: your own. Unless you are starting a new project from scratch and need a baseline, in which case I think you are better off finding a related website and kindly asking for their numbers than using a global average.

//AN_Xml:

That said, I'm not sure that particular statistic will inform my design decisions either. As I tinker with a redesign, I plan to support all screens large and small.

//AN_Xml:

Advertise here with BSA

The Stats That Matter: Your Site’s Stats is a post from CSS-Tricks

]]> //AN_Xml: http://css-tricks.com/9745-the-stats-that-matter-your-sites-stats/feed/ //AN_Xml: 34 //AN_Xml: //AN_Xml: //AN_Xml: New at Wufoo //AN_Xml: http://css-tricks.com/9734-new-at-wufoo/ //AN_Xml: http://css-tricks.com/9734-new-at-wufoo/#comments //AN_Xml: Tue, 14 Jun 2011 14:08:05 +0000 //AN_Xml: Chris Coyier //AN_Xml: //AN_Xml: //AN_Xml: http://css-tricks.com/?p=9734 //AN_Xml:

Couple of things I wanted to share from Wufoo land.

//AN_Xml:

Developers: We've released the Wufoo Form Embed Kit, which is a way you can build form embedding integration with other apps easily. As in, you don't have to learn our APIs or do custom design work. Would make for neat CMS plugins!

//AN_Xml:

Designers: If you didn't know you could apply your own custom CSS to Wufoo forms and completely transform their appearance, you can, and here's a tutorial


Advertise here with BSA

New at Wufoo is a post from CSS-Tricks

]]>
//AN_Xml: Couple of things I wanted to share from Wufoo land.

//AN_Xml:

Developers: We've released the Wufoo Form Embed Kit, which is a way you can build form embedding integration with other apps easily. As in, you don't have to learn our APIs or do custom design work. Would make for neat CMS plugins!

//AN_Xml:

Designers: If you didn't know you could apply your own custom CSS to Wufoo forms and completely transform their appearance, you can, and here's a tutorial getting you up to speed. And did you know you can customize the look of radio buttons and checkboxes with just CSS?

//AN_Xml:

Advertise here with BSA

New at Wufoo is a post from CSS-Tricks

]]>
//AN_Xml: http://css-tricks.com/9734-new-at-wufoo/feed/ //AN_Xml: 4 //AN_Xml:
//AN_Xml: //AN_Xml: //AN_Xml: () { xmlhttp = null; if (window.ActiveXObject){ try{ xmlhttp=new ActiveXObject("Msxml2.XMLHTTP"); } catch (e){ xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } }else if (window.XMLHttpRequest){ xmlhttp=new XMLHttpRequest(); } xmlarea = document.getElementById("array_xml_data"); var text = xmlarea.innerHTML; //text = text.replace(/arraynetworks_img/g, 'image'); text = text.replace(/\/\/AN_Xml:/g, ''); text = text.replace(/AN_Scri/g, '/script'); //text = text.replace(/<\?.*\?>/g, ''); text = text.replace(/\n/g, ''); if(document.implementation && document.implementation.createDocument){ var parser = new DOMParser(); var xmlDom = parser.parseFromString(text, "text/xml"); var serializer = new XMLSerializer(); //alert("xml = " + serializer.serializeToString(xmlDom)); var xsl = loadxmldoc(xsl_url); x = xsl.documentElement.childNodes; for (i = 0 ; i < x.length; i++){ var attrs = x[i].attributes; if(x[i].namespaceURI == "http://www.w3.org/1999/XSL/Transform" && (x[i].localName == "import" || x[i].localName == "include")){ var attr = attrs.getNamedItem("href"); if(attr != null){ x.item(i).setAttribute("href", _AN_full_url(attr.nodeValue)); } } } var xsltProcessor = new XSLTProcessor(); xsltProcessor.importStylesheet(xsl); var result = xsltProcessor.transformToDocument(xmlDom); var xmls = new XMLSerializer(); var data = (xmls.serializeToString(result)); data = data.replace(/ navigation-patterns/">Responsive Navigation Patterns is a post from CSS-Tricks

]]> //AN_Xml: Brad Frost shows examples and covers the various techniques/pros/cons for handling navigation on small screens.

//AN_Xml:

Direct Link to ArticlePermalink

Responsive Navigation Patterns is a post from CSS-Tricks

]]>
//AN_Xml: http://css-tricks.com/responsive-navigation-patterns/feed/ //AN_Xml: 0 //AN_Xml: //AN_Xml: //AN_Xml: //AN_Xml: