Hello!
The validator is not liking this:
Street Address:
If known.
What is a good solution? I'd like to have:
label (break)
help text (break)
input
If i make the div for help a span, how would I style it to go to next
line? I'm using a dl for the form because I've had success i
On 20/10/05, Lisa Hoppes <[EMAIL PROTECTED]> wrote:
> size="50" value="" maxlength="1" />
> (...)
> 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 use inside the "dd",
is what to do to replace the
> 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: http://pi
Thanks to Paul Debban, who suggested that I associate the help text
with the input rather than the label. This validates:
Street Address:
If known.
Lisa
On 10/20/05, Lisa Hoppes <[EMAIL PROTECTED]> wrote:
> The validator is not liking this:
>
> Street Address:
> If known.
>
>
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 els
On 20/10/05, Peter J Lambert <[EMAIL PROTECTED]> wrote:
> If you replace the div with a span, you could give it a "display:
> block;" and then treat it as you would a div.
It would be valid, and would solve the problem, but, again, it
wouldn't be semantically correct. But it's up to you...
--
You could also use the on the , but display:block to force
it down to the next line.
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by
You probably know this but in case not, it looks like you have a typo
in your name "projectdddress". Should it be "projectaddress" with an
'a'? That could hang you up later maybe if you were to make something
for "projectaddress".
cheers,
Peter
On 10/20/05, Lisa Hoppes <[EMAIL PROTECTED]> wro