Jump to content

Petpage help


shadovv

Recommended Posts

I have a problem: I got a templete from a website and pasted it into my petpage layout (where you edit it) when I click on preview and then save changes I get the following error:

Invalid words or disallowed property names found in your style tags.

margin

display

margin-bottom

position

 

here's the code i used:

<style> body
{background: #73a00e
url(http://img.photobucket.com/albums/v16/purple_cheese/illusenyrepeat.jpg);
background-repeat: repeat-y;} 
body, td,p,font{font:12px;color:#73a00e;font-family:georgia;}
a:link {color: #73a00e;}
a:visited {color: #73a00e;}
a:hover {color: #FFFFFF; text-transform:uppercase;}
a:active {color: #73a00e;}
.header {
text-transform:none;
color:#FFFFFF;
font-size:10px;
line-height:13px;
font-weight:bold;
background-color:#73a00e;
letter-spacing:1px;
font-family:verdana,sans-serif;
text-align:left;
text-transform:uppercase;
margin:0px; 
border-bottom:1px solid #FFFFFF;	
padding: 1 1 1 5;
}
h1 {font-size: 10px;
color:#000000;
font-family: sans-serif;
text-align:right;
border-bottom: 1px dotted #73a00e;
border-left: 40px solid transparent;
}
a.nav:link, A.nav:visited, a.nav:active {
font-size: 12pt; 
line-height: 14pt; 
color: #b5dc2b; 
background-color: #73a00e; 
display: block;  
margin-bottom: 1px;
padding: 1px; 
padding-left: 1px; 
padding-right: 1px; 
text-align: left; 
width: 200px;}

a.nav:hover { 
font-size: 12pt;
line-height: 14pt; 
color: #73a00e; 
background-color: #b5dc2b; 
display:block; 
margin-bottom: 1px;
padding: 1px; 
padding-left: 1px;
padding-right: 1px; 
text-align: right;
width: 200px;}

b {font-weight:bold;
text-transform:uppercase; 
color: #73a00e}

#illusen
{position:absolute; 
left:0; 
top:0;
width:800; 
height:600;}
#info {position:absolute;top:610px;left:21px;width:208px;overflow:auto;}
#stats{overflow:auto;width:490px;position:absolute;top:610px;left:285px;text-align:center;z-index:1;}
a:link img,  a:visited img {filter:none;} 
a:hover img {filter:gray;}
blockquote { 
color:#000000;
background-color:#FFFFFF;
font-size:11px;
text-align: justify; 
BORDER: #73a00e 1px solid; 
padding:4px;}
</style>

<img src="//images.weserv.nl/?url=http://img.photobucket.com/albums/v16/purple_cheese/illusen.jpg" id="illusen">

<div id="info">

<a href="petcentral.phtml" class="nav">[Central]</a><br>
<a href="explore.phtml" class="nav">[Explore]</a><br>
<a href="gameroom.phtml" class="nav">[Games]</a><br>
<a href="neomessages.phtml" class="nav">[Messages]</a><br>
<a href="objects.phtml" class="nav">[Shops]</a><br>
<a href="neoboards/index.phtml" class="nav">[Boards]</a><br>
<a href="nf.phtml" class="nav">[News]</a><br>
<a href="stuff.phtml" class="nav">[Stuff]</a><br> <a href="help.phtml" class="nav">[Help]</a><br>
<p>
Your about me info goes here.
<p>
<b>Bold text</b> is awesome!
<p>
</div>

<div id="stats">
<div class="header">Welcome To My Petpage!</div><p>

can anyone help me out?

Link to comment
Share on other sites

quote from charter board on neopets.com:

 

" Did you know that now because of people changing the shop pricing and trying to scam that all look up coding has gone capput, you can not use the words visibilty, postion or absolute on lookups, shop, and gallery coding now"

 

Another topic about work around the written above:

 

http://www.neopets.com/neoboards/topic.phtml?topic=121378513

Link to comment
Share on other sites

Yea, it's currently a glitch and it makes me mad because it kills all possibility to have a layout up!!

 

Your code is probably super fine. (Especially if it was working before!) There is nothing we can do but waiting until it's fixed on TNT side. :'(

Link to comment
Share on other sites

Yes, the coding is fine, so this is a glitch. Even if TNT thinks it was implemented for a good reason, it's still a glitch. <_< Let's hope this one doesn't stick around as long as the apostrophe glitch.

Link to comment
Share on other sites

I understand now why I can't edit my lookup and use a AC supporter banner.

Kinda annoying, that must bother the lookup makers.

Link to comment
Share on other sites

It bothers everybody who likes to customise their pages on Neopets: lookup, guild layout, shop layout, gallery layout, petpage...

 

Report the bug to TNT ;o.

Link to comment
Share on other sites

Well I'll bet TNT is flooded with bug reports by now... virtually every single well-coded lookup is now blocked by their filters.

Link to comment
Share on other sites

There's a way past the new filters ;o Simply add a forward slash to your the end of your style tags, i.e. change <style> to <style /> and </style> to </style />! Its nasty coding practise, but it works in both FF and in IE and the code goes through okay :) It'll suffice until TNT gives us our codes back at any rate.

 

The code in the first post becomes:

<style /> body
{background: #73a00e
url(http://img.photobucket.com/albums/v16/purple_cheese/illusenyrepeat.jpg);
background-repeat: repeat-y;}
body, td,p,font{font:12px;color:#73a00e;font-family:georgia;}
a:link {color: #73a00e;}
a:visited {color: #73a00e;}
a:hover {color: #FFFFFF; text-transform:uppercase;}
a:active {color: #73a00e;}
.header {
text-transform:none;
color:#FFFFFF;
font-size:10px;
line-height:13px;
font-weight:bold;
background-color:#73a00e;
letter-spacing:1px;
font-family:verdana,sans-serif;
text-align:left;
text-transform:uppercase;
margin:0px;
border-bottom:1px solid #FFFFFF;    
padding: 1 1 1 5;
}
h1 {font-size: 10px;
color:#000000;
font-family: sans-serif;
text-align:right;
border-bottom: 1px dotted #73a00e;
border-left: 40px solid transparent;
}
a.nav:link, A.nav:visited, a.nav:active {
font-size: 12pt;
line-height: 14pt;
color: #b5dc2b;
background-color: #73a00e;
display: block;  
margin-bottom: 1px;
padding: 1px;
padding-left: 1px;
padding-right: 1px;
text-align: left;
width: 200px;}

a.nav:hover {
font-size: 12pt;
line-height: 14pt;
color: #73a00e;
background-color: #b5dc2b;
display:block;
margin-bottom: 1px;
padding: 1px;
padding-left: 1px;
padding-right: 1px;
text-align: right;
width: 200px;}

b {font-weight:bold;
text-transform:uppercase;
color: #73a00e}

#illusen
{position:absolute;
left:0;
top:0;
width:800;
height:600;}
#info {position:absolute;top:610px;left:21px;width:208px;overflow:auto;}
#stats{overflow:auto;width:490px;position:absolute;top:610px;left:285px;text-align:center;z-index:1;}
a:link img,  a:visited img {filter:none;}
a:hover img {filter:gray;}
blockquote {
color:#000000;
background-color:#FFFFFF;
font-size:11px;
text-align: justify;
BORDER: #73a00e 1px solid;
padding:4px;}
</style />

<img src="//images.weserv.nl/?url=http://img.photobucket.com/albums/v16/purple_cheese/illusen.jpg" id="illusen">

<div id="info">

<a href="petcentral.phtml" class="nav">[Central]</a><br>
<a href="explore.phtml" class="nav">[Explore]</a><br>
<a href="gameroom.phtml" class="nav">[Games]</a><br>
<a href="neomessages.phtml" class="nav">[Messages]</a><br>
<a href="objects.phtml" class="nav">[shops]</a><br>
<a href="neoboards/index.phtml" class="nav">[boards]</a><br>
<a href="nf.phtml" class="nav">[News]</a><br>
<a href="stuff.phtml" class="nav">[stuff]</a><br> <a href="help.phtml" class="nav">[Help]</a><br>
<p>
Your about me info goes here.
<p>
<b>Bold text</b> is awesome!
<p>
</div>

<div id="stats">
<div class="header">Welcome To My Petpage!</div><p>

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...