Jump to content

Can someone fix my pet page code?


Lolita

Recommended Posts

Ive spent all day making an awesome layout for my pet page but when I came to uploading the HTML Neopets says its invalid. I know it bloody works elsewhere and I wrote it in dreamweaver so its not invalid. Can someone tidy it up for me so that neopets accepts it?

 

<head>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

<title>Curiously Quiggle</title>

<style type="text/css">

<!--

body,td,th {

font-family: Arial, Helvetica, sans-serif;

font-size: 12px;

color: #000000;

}

body {

background-color: #000000;

margin-left: 0px;

margin-top: 0px;

margin-right: 0px;

margin-bottom: 0px;

}

a:link {

color: #FF00FF;

}

a:visited {

color: #FFFF00;

}

a:hover {

color: #00FFFF;

}

a:active {

color: #00FF00;

}

#Layer1 {

position:absolute;

left:261px;

top:2px;

width:98px;

height:54px;

z-index:1;

}

#Layer2 {

position:absolute;

left:313px;

top:164px;

width:78px;

height:73px;

z-index:2;

}

#Layer3 {

position:absolute;

left:0px;

top:401px;

width:55px;

height:68px;

z-index:3;

}

#Layer4 {

position:absolute;

left:309px;

top:599px;

width:86px;

height:25px;

z-index:4;

}

#Layer5 {

position:absolute;

left:241px;

top:311px;

width:14px;

height:23px;

z-index:5;

}

#Layer6 {

position:absolute;

left:43px;

top:188px;

width:38px;

height:32px;

z-index:6;

}

#Layer7 {

position:absolute;

left:179px;

top:75px;

width:20px;

height:17px;

z-index:7;

}

#Layer8 {

position:absolute;

left:334px;

top:159px;

width:218px;

height:124px;

z-index:8;

}

.style1 {font-family: Arial, Helvetica, sans-serif}

-->

</style></head>

 

<body>

<div id="Layer1"><img src="http://img216.imageshack.us/img216/9868/headergym.png" width="742" height="165" /></div>

<div id="Layer2"><img src="http://img139.imageshack.us/img139/7236/scrollbox.png" width="624" height="437" /></div>

<div id="Layer3"><img src="http://img411.imageshack.us/img411/967/quiggle.png" width="310" height="340" /></div>

<div id="Layer4"><img src="http://img172.imageshack.us/img172/5818/footera.png" width="692" height="142" /></div>

<div id="Layer5"><img src="http://img517.imageshack.us/img517/9712/novabttmrght.png" width="73" height="75" /></div>

<div id="Layer6"><img src="http://img135.imageshack.us/img135/7247/novacenter.png" width="84" height="82" /></div>

<div id="Layer7"><img src="http://img218.imageshack.us/img218/9365/mininovaright.png" width="67" height="57" /></div>

<div id="Layer8">

<div style="overflow:auto; height:440px; width:580px">

This is where the writing goes

</div>

</body>

</html>

Link to comment
Share on other sites

You can't have <head><body><html><title> tags on Neopets. Also, you can't use html comments <!-- --> the css has to go in some special <style > or <style /> tags I can't remember that rule.

 

Hope this helps.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...