M
Mike Barnard
Hi all.
Wonderful weather here. Right, now the niceties are over can anyone
explain why the lines of code provided by 'atomz.com' for their search
bar don't validate when insertes in to my site? Usual URL...
www.thermachek.com/temp/
I registered with atomz and downloaded the code they supplied for the
search bar. (I have NOT studied forms much yet, btw). It failed to
validate. I emailed them and asked for valid code. They sent me
this...
Hi Michael,
You might want to try this.
<div id="search">
<!-- Atomz HTML for Search -->
<form method="get" action="http://search.atomz.com/search/">
<input type="hidden" name="sp_a" value="sp1003d534">
<input size="27" name="sp_q" value="web site" /><br />
<input type="submit" value="Search" />
<input type="hidden" name="sp_p" value="all" />
<input type="hidden" name="sp_f" value="UTF-8" />
</div> <!-- End div search -->
Best Regards,
Shirley
Omniture, Inc.
SiteSearch & Publish Support
It is obviously XHTML, but removing the end tags to bring it to HTML
made no difference. I can't remember if the current online site has
the XHTML ends or not. Oh look, there goes another grey cell.
The errors say...
Validation Output: 9 Errors
1. Error Line 39, Column 52: document type does not allow element
"INPUT" here; missing one of "P", "H1", "H2", "H3", "H4", "H5", "H6",
"PRE", "DIV", "ADDRESS" start-tag.
<input type="hidden" name="sp_a" value="sp1003d534">
....etc.
Which seems to say the inline elements aren't enclosed in a block
element, I think? But they're enclosed in a div, which is a block,
right?
Can anyone explain to this dimwit (Points to self) whats wrong? It
works, it just doesn't validate.
Thanks.
Mike.
Wonderful weather here. Right, now the niceties are over can anyone
explain why the lines of code provided by 'atomz.com' for their search
bar don't validate when insertes in to my site? Usual URL...
www.thermachek.com/temp/
I registered with atomz and downloaded the code they supplied for the
search bar. (I have NOT studied forms much yet, btw). It failed to
validate. I emailed them and asked for valid code. They sent me
this...
Hi Michael,
You might want to try this.
<div id="search">
<!-- Atomz HTML for Search -->
<form method="get" action="http://search.atomz.com/search/">
<input type="hidden" name="sp_a" value="sp1003d534">
<input size="27" name="sp_q" value="web site" /><br />
<input type="submit" value="Search" />
<input type="hidden" name="sp_p" value="all" />
<input type="hidden" name="sp_f" value="UTF-8" />
</div> <!-- End div search -->
Best Regards,
Shirley
Omniture, Inc.
SiteSearch & Publish Support
It is obviously XHTML, but removing the end tags to bring it to HTML
made no difference. I can't remember if the current online site has
the XHTML ends or not. Oh look, there goes another grey cell.
The errors say...
Validation Output: 9 Errors
1. Error Line 39, Column 52: document type does not allow element
"INPUT" here; missing one of "P", "H1", "H2", "H3", "H4", "H5", "H6",
"PRE", "DIV", "ADDRESS" start-tag.
<input type="hidden" name="sp_a" value="sp1003d534">
....etc.
Which seems to say the inline elements aren't enclosed in a block
element, I think? But they're enclosed in a div, which is a block,
right?
Can anyone explain to this dimwit (Points to self) whats wrong? It
works, it just doesn't validate.
Thanks.
Mike.