I am having trouble validating a form that I have in a top navigation bar of a web site written in XHTML.
The form is a simple search form with just a single text input and a single submit button. I want the form to be formatted by CSS, so I have it enclosed in a span with an ID. The validator doesn't like this, because form is a block-level element and span is an inline element, and block-level elements cannot be enclosed in inline elements. Fine, say I: I'll reverse the order of the form and span tags, so that now the span that bestows the form its CSS formatting is inside the form. But the validator chokes on this, too, and I'm not sure why. It seems to me like the real problem here is that form is a block- level element without any good reason. Why shouldn't a page have the ability to put two forms inline with each other? Doesn't making form block-level precludes the possibility, for example, of having both a search and a login inline with each other on a top navigation bar? Here is an example of the page that I am having trouble validating. http://www.j-archive.com/showseason.php?season=25 All the best, Robert K S --~--~---------~--~----~------------~-------~--~----~ -- You received this because you are subscribed to the "Design the Web with CSS" at Google groups. To post: [email protected] To unsubscribe: [EMAIL PROTECTED] -~----------~----~----~----~------~----~------~--~---
