Mesden Posted July 10, 2010 Share Posted July 10, 2010 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 More sharing options...
Ingolme Posted July 10, 2010 Share Posted July 10, 2010 What does your code look like on that line?The <form> element requires an action attribute. Link to comment Share on other sites More sharing options...
Mesden Posted July 10, 2010 Author Share Posted July 10, 2010 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 More sharing options...
Ingolme Posted July 10, 2010 Share Posted July 10, 2010 You can't use a form element like that. Just remove it. Link to comment Share on other sites More sharing options...
Synook Posted July 10, 2010 Share Posted July 10, 2010 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 More sharing options...
Mesden Posted July 10, 2010 Author Share Posted July 10, 2010 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 More sharing options...
dink Posted July 10, 2010 Share Posted July 10, 2010 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 More sharing options...
Mesden Posted July 10, 2010 Author Share Posted July 10, 2010 Have you looked into absolute and relative positioning?Not sure what that is... Link to comment Share on other sites More sharing options...
boen_robot Posted July 10, 2010 Share Posted July 10, 2010 Not sure what that is... See here Link to comment Share on other sites More sharing options...
thescientist Posted July 10, 2010 Share Posted July 10, 2010 although you may be able to do it without the positioning, if at all possible. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.