http://www.perlmonks.org?node_id=143547


in reply to CGI.pm checkbox problem?

Have a look at this page where it talks about "CREATING A GROUP OF RELATED CHECKBOXES". It will probably answer your the question (hint: see point 3., the one that relates to making the list look like a vertical list rather than a horizontal one.

The " />" is XHTML .. if CGI.pm does it, it's probably OK.

--t. alex

"Of course, you realize that this means war." -- Bugs Bunny.

Replies are listed 'Best First'.
Re: Re: CGI.pm being funny?
by ignatz (Vicar) on Feb 06, 2002 at 18:24 UTC
    XHTML is very ok. You can turn it off with use CGI qw(-no_xhtml);. If you put CGI.pm xhtml output into the middle of an HTML4 template it could cause the resulting HTML to cough up some minor validation errors but browsers should be able to handle them gracefully.