Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^3: Which HTML form builder

by dorward (Curate)
on Jan 23, 2008 at 17:00 UTC ( [id://663834]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Which HTML form builder
in thread Which HTML form builder

I give each element a unique class

You might be better off dropping this and using an id instead. This has a number of advantages.

First, an id is supposed to represent a unique thing, whereas class is for groups.

Second, in order to use label elements most effectively, you need to use a for attribute rather then nesting the control inside the label (this is due to the for approach having better support from browsers) - so you should have a unique id on each control anyway.

Replies are listed 'Best First'.
Re^4: Which HTML form builder
by amarquis (Curate) on Jan 23, 2008 at 19:02 UTC

    I'm an idiot, and I don't talk with other designers/tech people enough to have my terminology straight. I meant ID, but was only using 'em for the first reason, and I didn't know about the second.

    As a total side note, but you got me thinking about it: I used to have a great chart that (in the html days) had every tag and the compatibility with various browsers. Nowadays I'm using http://www.quirksmode.org/css/contents.html which is nice, but doesn't cover some of the lesser used browsers that create the PITA glitches. Where do you go for your compatibility info nowadays?

      On the supposition that you're interested in the interaction of css *AND* browser, some info, data and or tools can be found:

      And, though it scarcely needs saying and these are not, strictly speaking, responsive to your question, consider:

      1. screen rez
      2. screen size, and...
      3. the user's connectivity (something like 50% of the US population *STILL* has no highspeed access) because it bears on whether your page will render for a member of your target audience before the individual gives up and browses elsewhere.

      BTW, these are a merely few samples from a quick Google for " browser + compatibiltity" but there are other and better ones out there still. However, my usual references are at home whereas I'm on the road and yet another meeting calls. So take these with a grain of salt.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://663834]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (6)
As of 2024-03-28 21:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found