| Author |
Message |
posiduck

Joined: 21 Jun 2006
Posts: 5283
Location: Hollywood, CA
|
Posted:
Mon Jun 26, 2006 10:17 pm |
  |
I try and keep my pages validating xhtml strict 1.1, and I was wondering if there is an easy way to make the search bar xhtml-kosher.
I could look into it myself, but it would require some book learning on how all that raz mataz works in xhtml. |
_________________ "IIRC, except that it starred talking dogs, Pound Puppies was more or less grounded in reality." - Dezro |
|
    |
 |
Ryan
Strawberry-blonde Milkshake
Joined: 27 Jan 2005
Posts: 4414
Location: CANADA
|
Posted:
Tue Jun 27, 2006 7:25 am |
  |
There's probably just a few things that you'd need to change. It's basically just a form with a bit of formatting (that I obviously didn't make THAT compliant) but if you made a new form that submitted to the search page, it should work. |
_________________ It is a good day to do what has to be done by me to help my brother to defeat the enemys. |
|
    |
 |
The Famous Mr. Klaw
Totally Klawsome

Joined: 04 Feb 2005
Posts: 15555
Location: Klawsylvania
|
Posted:
Tue Jun 27, 2006 2:48 pm |
  |
The search form on my site looks like this except the boards are doing weird things with it so I changed the >'s and <'s to ]'s and ['s:
[form action="http://www.ohnorobot.com/index.pl"]
[input type="hidden" name="comic" value="52" /]
[input type="text" name="s" value="" class="text-input" /] [input type="image" src="img/go-btn.gif" name="search" value="search" /]
[/form]
I believe that validates as transitional, and probably as strict too, unless the "name" attributes aren't allowed in strict (can't remember, but I think they're deprecated?). You ought to be able to just change them to IDs though. |
_________________ A claw is a claw, and nobody has seen a talking claw unless that claw is the famous Mr. Klaw. |
|
   |
 |
|
|
|
View next topic
View previous topic
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
| |