Slashdot Mirror


Check Boxes and Radio Buttons Conquered by DHTML

Philip Howard writes "Pretty much every form element has been conquered by CSS so far, letting us create stylish, integrated forms to tie in closely with our site designs for that UI polish graphics artists love to have. Radio Buttons and Check Boxes, however, have resisted most attempts to style them consistently, accessibly and elegantly- perhaps because nobody cares enough to come up with the solution. However, these elusive form elements have finally been conquered with a simple combination of CSS and Javascript and a little HTML wrapper. The solution is easy and quick to implement, is accessible (working with tab and space) and elegantly degrades where CSS and/or XHTML is not available."

2 of 522 comments (clear)

  1. Re:Not really new, but interesting by alienw · · Score: 0, Flamebait

    Please STFU. I doubt you've ever made a single website or written a single line of javascript code. Otherwise, you would know that "standards-compliant" just means that it doesn't work correctly in any browser, since no browsers are 100% standards-compliant.

  2. Re:Not really new, but interesting by Brandybuck · · Score: 0, Flamebait

    Why is it that amongst web developers there is only considered to be 'one way to do things'.

    Maybe it's because they're not really developers? They like to pretend they are, but they're not. Writing javascript no more makes them developers than writing shell scripts would. And of course, HTML and CSS are *NOT* programming languages!

    Real developers test their code. Web "developers" do not. At best they'll make sure their pages work with Internet Explorer and Firefox. As if those are the only two browsers in the world. Test on last years Firefox? Hah! Don't make me laugh!

    The people working on the back end database and CGI interfaces might be developers, but those who write the HTML/CSS are not. Yes, there are some exception, but that only validates the rule.

    --
    Don't blame me, I didn't vote for either of them!