Peter Ottery wrote:
if you had part of a form that had a checkbox that when checked
enabled a file upload input, how would you mark that up?

G'day Pete

I think your wrapping of the labels is appropriate, but I'd probably include a fieldset to surround the lot - indicating their relationship to each other clearly

<fieldset>
  <legend>Add a thumbnail image?</legend>

  <label for="addthumb">
    <input name="addthumb" id="addthumb" type="checkbox" value="1" />
    Add thumbnail image:
  </label>
  <label for="path">
    <span class="hideaway">path to image:</span>
    <input id="path" name="path" type="file" disabled />
  </label>

</fieldset>

Or something like that...

Cheers
Lachlan
******************************************************
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************

Reply via email to