Jump to content

ERROR, Invalid XHTML Tansitional..?


Mesden

Recommended Posts

What does this mean..?<form>✉The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.

Link to comment
Share on other sites

What does your code look like on that line?The <form> element requires an action attribute.
That's just it, the Form isn't anything, it's just there to align the random text at the top of the website:<form> <p align="left"><?php include 'random.php' ?> </p></form>
Link to comment
Share on other sites

The form tag requires the action and method attributes. Anyway, throwing a random and semantically incorrect tag in like that just for presentation purposes is very inappropriate - you should be able to use CSS to achieve the effect you desire.

Link to comment
Share on other sites

Yeah I looked at what I could do with the CSS Style. I can't seem to get the random text at the top to align where it's supposed to be without using a <form> tag for some very strange reason... Any ideas?Here's the website, the random text portion I'm talking about is right under the top navigation menu.http://www.sc2x.net

Link to comment
Share on other sites

Yeah I looked at what I could do with the CSS Style. I can't seem to get the random text at the top to align where it's supposed to be without using a <form> tag for some very strange reason... Any ideas?Here's the website, the random text portion I'm talking about is right under the top navigation menu.http://www.sc2x.net
Have you looked into absolute and relative positioning?
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...