[css-d] invalid: nesting a div inside a dt-- alternative?

2005-10-20 Thread Lisa Hoppes
Hello! The validator is not liking this: dtlabel for=projectdddressStreet Address:/label div class=helpIf known./div /dt ddinput type=text id=projectdddress name=projectdddress size=50 value= maxlength=1 //dd What is a good solution? I'd like to have: label (break) help text

[css-d] invalid: nesting a div inside a dt-- alternative?

2005-10-20 Thread diego nunes
On 20/10/05, Lisa Hoppes [EMAIL PROTECTED] wrote: ddinput type=text id=projectdddress name=projectdddress size=50 value= maxlength=1 //dd (...) What is a good solution? A form is not a definition list, guy... You shouldn't be using this way. The problem is not the tag that you'd

Re: [css-d] invalid: nesting a div inside a dt-- alternative?

2005-10-20 Thread Peter J Lambert
If i make the div for help a span, how would I style it to go to next line? If you replace the div with a span, you could give it a display: block; and then treat it as you would a div. I'm not sure off the top of my head how this affects validity though. -- Peter J.Lambert home:

[css-d] invalid: nesting a div inside a dt-- alternative?-- SOLVED

2005-10-20 Thread Lisa Hoppes
Thanks to Paul Debban, who suggested that I associate the help text with the input rather than the label. This validates: dtlabel for=projectdddressStreet Address:/label /dt dddiv class=helpIf known./divinput type=text id=projectdddress name=projectdddress size=50 value= maxlength=1 //dd

Re: [css-d] invalid: nesting a div inside a dt-- alternative?

2005-10-20 Thread Arlen Walker
On Oct 20, 2005, at 10:12 AM, Lisa Hoppes wrote: Should I bag the dl altogether and use a different method? Yes, please. Tag the form elements properly and use CSS to style them the way you need them is better than trying to fool the browser into doing it by claiming they're something