FAQ  •  Search  •  Memberlist  •  Usergroups   •  Register  •  Profile  •  Log in to check your private messages  •  Log in

Your ad here, right now: as low as $0

Below are the TaBB Archives! The new forum is here. Even if you're already registered here, you'll need to create a new account there. CLEAN SLATE.

 xhtml compliant search bar? View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.This topic is locked: you cannot edit posts or make replies.
Author Message
posiduck



Joined: 21 Jun 2006
Posts: 5283
Location: Hollywood, CA

PostPosted: Mon Jun 26, 2006 10:17 pm Reply with quoteBack to top

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
View user's profileSend private messageVisit poster's websiteAIM Address
Ryan
Strawberry-blonde Milkshake


Joined: 27 Jan 2005
Posts: 4414
Location: CANADA

PostPosted: Tue Jun 27, 2006 7:25 am Reply with quoteBack to top

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.
View user's profileSend private messageSend e-mailVisit poster's website
The Famous Mr. Klaw
Totally Klawsome


Joined: 04 Feb 2005
Posts: 15555
Location: Klawsylvania

PostPosted: Tue Jun 27, 2006 2:48 pm Reply with quoteBack to top

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 user's profileSend private messageVisit poster's website
Display posts from previous:      
This forum is locked: you cannot post, reply to, or edit topics.This topic is locked: you cannot edit posts or make replies.


 Jump to:   



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