Thread: Little validation help needed
Little validation help needed
24 Jan 2010 @ 15.28
I am trying to validate this piece of code but it wont:
The doctype is xhtml1 strict and I am useless with forms as I have barely used them.
Hope something can point out how to validate that as its driving the sgml parser for FF crazy with IFRAME undefined etc
EDIT: The code above isnt causing the IFRAME error, just realised but still the code above I think isnt valid.
24 Jan 2010 @ 15.36
Okay I have it down to the last two errors but its the above code causing it.
24 Jan 2010 @ 16.42
What are the errors the validator is giving you?
24 Jan 2010 @ 18.13
Just wrap the inputs in p, div or h tags:
If you don't want the block styling, add a class and define in your css to display:inline.
<form method="get" id="searchform" action="http://www.youtubedesigns.com" style="padding:0; margin:0;">
<p><input type="text" class="searching" value="" name="s" id="s" /></p>
<p><input class="submit" type="image" src="http://www.youtubedesigns.com/wp-content/themes/theme835/images/search.gif" value="submit" /></p>
24 Jan 2010 @ 22.22
Awesome thank you! I will add that now.
EDIT: Worked perfect with the the added classes Thanks Jon!
Last edited by Michael; 24 Jan 2010 at @ 22.29.
Last Post: 11 May 2011, @ 12.41
Last Post: 22 Feb 2010, @ 09.52
By Michael in forum HTML & CSS
Last Post: 15 Feb 2010, @ 22.20
By bonnit in forum PHP, ASP & Java
Last Post: 10 Feb 2009, @ 17.49
Tags for this Thread