MozillaZine

evolt.org Interviews Eric Meyer

Saturday January 25th, 2003

evolt.org has an interview with Eric Meyer, who works as a Standards Evangelist for Netscape. Eric has written many books and articles about Web standards, runs his own weblog and regularly contributes to Netscape DevEdge. The interview concentrates on CSS and features a healthy amount of plugs for Eric's latest book, Eric Meyer on CSS.


#12 In the example project

by ChuckChunder <paul@operamail.com>

Sunday January 26th, 2003 5:52 PM

You are replying to this message

He has a select box for a list of states a person can choose. For a printed version of the form, where the user fills it in with a pen, a select box obviously isn't an interface that works (unlike check boxes and radio buttons which have equal application in paper form) so in print mode the select box is replaced by an underline upon which the user would simply write their state (The text type input fields also look like this).

I haven't actually looked at the source again to check, but my guess is that he sets display:none on the select box in print mode and displays the underline thing instead, rather than attempting to "restyle" the select to get it to look like a line. The former is vastly simpler, and almost certainly more portable.