Re: [WSG] Validation error question for XHTML Strict

2005-05-06 Thread tee
But it is in the div

Example:
div id=form
form method=post action=form.cgi
input type=hidden name=postmode value=QUANTITYBOXES /
pblah blah blah /p
div class=twoCol
labelinput type=text size=2 name=quantity1 / item name/label
labelinput type=text size=2 name=quantity2 / item name/label
/div
/div


tee
 From: Kwok Ting Lee [EMAIL PROTECTED]
 Reply-To: wsg@webstandardsgroup.org
 Date: Fri, 6 May 2005 15:49:43 +1000
 To: wsg@webstandardsgroup.org
 Subject: RE: [WSG] Validation error question for XHTML Strict
 
 input has to be wrapped in a block level tag of some sort, e.g. p,
 div, fieldset etc.
 
 So you'd use:  pinput/p or divinput/div or
 fieldsetinput/fieldset (very simplified)
 
 Kwok-Ting
 
 
 
 **
 The discussion list for  http://webstandardsgroup.org/
 
 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
 **
 

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

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



Re: [WSG] Validation error question for XHTML Strict

2005-05-06 Thread Roger Johansson
On 6 maj 2005, at 08.01, tee wrote:
But it is in the div
Example:
div id=form
form method=post action=form.cgi
input type=hidden name=postmode value=QUANTITYBOXES /
You need a block level element _inside_ the form element:
form
div
input  /
/div
/Roger
--
http://www.456bereastreet.com/
**
The discussion list for  http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**


Re: [WSG] Validation error question for XHTML Strict

2005-05-06 Thread liorean
On 5/6/05, tee [EMAIL PROTECTED] wrote:
 But it is in the div
 
 Example:
 div id=form
 form method=post action=form.cgi
 input type=hidden name=postmode value=QUANTITYBOXES /
 pblah blah blah /p
 div class=twoCol
 labelinput type=text size=2 name=quantity1 / item name/label
 labelinput type=text size=2 name=quantity2 / item name/label
 /div
 /div

You misunderstood that a bit: It must be the direct contents of one of
the elements listed - no elements in between.
You currently have 

div  form  input

But the input need to be contained in one of the listed elements - for
example like this:

form  div  input

It's a question of direct parent, not ancestor.
-- 
David liorean Andersson
uri:http://liorean.web-graphics.com/
**
The discussion list for  http://webstandardsgroup.org/

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



Re: [WSG] Validation error question for XHTML Strict

2005-05-06 Thread tee
 You misunderstood that a bit: It must be the direct contents of one of
 the elements listed - no elements in between.
 You currently have
 
   div  form  input
 
 But the input need to be contained in one of the listed elements - for
 example like this:
 
   form  div  input
 
 It's a question of direct parent, not ancestor.

Thanks all, it makes sense now. Boy I am so grate I asked.

tee

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

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



RE: [WSG] Validation error question for XHTML Strict

2005-05-05 Thread Kwok Ting Lee
input has to be wrapped in a block level tag of some sort, e.g. p,
div, fieldset etc.  

So you'd use:  pinput/p or divinput/div or
fieldsetinput/fieldset (very simplified)

Kwok-Ting



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

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