Jump to content

Need help real quick


desidude
 Share

Recommended Posts

Hello im pretty new to this, and i made this "preview site" just to try out HTML, CSS, and XHTML. So far I just made one page, which has no meaning to it at all(Just made it for the fun of it, and to learn). I tried putting in a DOCTYPE tag but whenever i put it in, it messes up the pageHere is the code, is there anything wrong in here that makes it so you can't have a DOCtype tag or something?

<html><head><title></title><style type="text/css">a.link:link {color: "#19298A"; text-decoration: "none"}a.link:visited {color: "#19298A"; text-decoration: "none"}a.link:hover {color: "#A4A4A4"; text-decoration: "none"}td {padding-left: "20px"}p.margin {margin: "0px" "12cm" "0cm" "5cm"}p.links {font: small-caps 900 14px arial}p.toplinks {font: small-caps 900 13px arial}div.footer{padding:"0.2em";color:"black";background-color:"#A4A4A4";clear:"left";font-size: "75%"}div.border{width:"100%";margin:0px;border:1px none solid gray;line-height:"150%"}div.left{float:"left";width:"34%";margin:"0";padding-left:"1em";padding-right:"1em";}div.right{margin-left:"190px";border-left:1px none solid gray;padding:1em;}p.rightmargin {margin-right: "4cm"}</style></head><body><div class="border"><img src="testtitle1ps.png" width="300" height="60" /><table frame="hsides" width="100%" height="19" ><tr><td><p class="toplinks">                                                                                                                                                                                                         <a class="link" href="url">link one</p></td></tr></table><table frame="rhs" align=left width="157"><tr>  <p class="links"><tr><td width="132">  <p class="links"><a class="link" href="url">link one</p></a>   </td></tr><tr><td width="132">  <p class="links"><a class="link" href="url">link one</p></a>   </td></tr><tr><td width="132">  <p class="links"><a class="link" href="url">link one</p></a>   </td></tr><tr><td width="132">  <p class="links"><a class="link" href="url">link one</p></a>   </td></tr><tr><td width="132">  <p class="links"><a class="link" href="url">link one</p></a>   </td></tr><tr><td width="132">  <p class="links"><a class="link" href="url">link one</p></a>   </td></tr><tr><td width="132">  <p class="links"><a class="link" href="url">link one</p></a>   </td></tr><tr><td width="132">  <p class="links"><a class="link" href="url">link one</p></a>   </td></tr></table><p class="margin"><div class="left"><p>"Never increase, beyond what is necessary, the number of entities required to explain anything." William of Ockham (1285-1349) "Never increase, beyond what is necessary, the number of entities required to explain anything." William of Ockham "Never increase, beyond what is necessary, the number of entities required to explain anything." William of Ockham "Never increase, beyond what is necessary, the number of entities required to explain anything." William of Ockham</p></div></p><div class="content"><p class="rightmargin">"Never increase, beyond what is necessary, the number of entities required to explain anything." William of Ockham (1285-1349) "Never increase, beyond what is necessary, the number of entities required to explain anything." William of Ockham "Never increase, beyond what is necessary, the number of entities required to explain anything." William of Ockham "Never increase, beyond what is necessary, the number of entities required to explain anything." </p></div></body><html>

Help is greatly appreciated. Thanks.

Link to comment
Share on other sites

try to run one last last look down your file...and then you have these very long lines...try to break 'em off(just type "enter"... DONT delete any off our spaces)and make some "air" in the start of a new tag, if you do that its much easier to read and correkt you file...

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...