Little validation help needed |
This is a discussion on Little validation help needed within the General Development Issues forums, part of the Development category; I am trying to validate this piece of code but it wont: Code: <form method="get" id="searchform" action=" http ://www.youtubedesigns.com" style="padding:0; ... |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 |
| Senior Member Join Date: Jan 2009
Posts: 974
Thanks: 56
Thanked 11 Times in 11 Posts
![]() |
I am trying to validate this piece of code but it wont: Code: <form method="get" id="searchform" action="http://www.youtubedesigns.com" style="padding:0; margin:0;"> <input type="text" class="searching" value="" name="s" id="s" /><input class="submit" type="image" src="http://www.youtubedesigns.com/wp-content/themes/theme835/images/search.gif" value="submit" /> </form> Hope something can point out how to validate that as its driving the sgml parser for FF crazy with IFRAME undefined etc Thanks guys! EDIT: The code above isnt causing the IFRAME error, just realised but still the code above I think isnt valid. |
| | |
| | #2 |
| Senior Member Join Date: Jan 2009
Posts: 974
Thanks: 56
Thanked 11 Times in 11 Posts
![]() |
Okay I have it down to the last two errors but its the above code causing it.
|
| | |
| | #3 |
![]() Join Date: Jan 2009 Location: Your Imagination
Posts: 729
Blog Entries: 4 Thanks: 1
Thanked 27 Times in 26 Posts
![]() ![]() ![]() Expertise: PHP Experience: Professional |
What are the errors the validator is giving you?
__________________ Panthr - Web Design and Development |
| | |
| | #4 |
![]() Join Date: Dec 2008
Posts: 700
Thanks: 0
Thanked 37 Times in 37 Posts
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Expertise: Design & Graphics Experience: Professional |
Just wrap the inputs in p, div or h tags: Code: <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> </form>
__________________ Jon Warner Web Pro Cafe :: The PixelForge :: Follow my Twits (or something) :: LinkedIn |
| | |
| The Following User Says Thank You to Frinkky For This Useful Post: | Michael (24th January 2010) |
| | #5 |
| Senior Member Join Date: Jan 2009
Posts: 974
Thanks: 56
Thanked 11 Times in 11 Posts
![]() |
Awesome thank you! I will add that now. EDIT: Worked perfect with the the added classes :) Thanks Jon! Last edited by Michael; 24th January 2010 at 10:29 PM.. |
| | |
![]() |
| Tags |
| needed, validation |
| Thread Tools | |
| Display Modes | |