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
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
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:
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
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