See last post for the latest information
Quote:
Error:
If the explanation below is not enough, there is more help with this error here.
Invalid words or disallowed property names found in your style tags.
position
I'm trying to modify my userlook-up to update some things. However it won't let me and gives me that error.
I clicked the "here" and this is what it said:
Quote:
The Explanation
First, some sample code that would cause the error is presented, then the actual error message that is generated is shown, and finally an explanation in greater detail of what the error message means is given.
SAMPLE CODE SUBMITTED
<font family="verdana">
Hi
</font>
Please visit the Gallery of World Domination!
<a href="http://www.neopets.com/gallery/index.phtml?owner=betatester" onMouseOver=submit()>
<font face=verdana helvetica arial>
rawr
</font>
<a/>
ERROR : Invalid words, disallowed words or words that should have quotes but do not were found inside your HTML tags.
Problem words and estimated problem area.
0.) family
* <font family="verdana">
1.) -disallowed_word-over
* <a href="http://www.neopets.com/gallery/index.phtml?owner=betatester" -disallowed_word-Over=submit()>
2.) submit()
* <a href="http://www.neopets.com/gallery/index.phtml?owner=betatester" -disallowed_word-Over=submit()>
3.) verdana
* <font face=verdana helvetica arial>
4.) helvetica
* <font face=verdana helvetica arial>
5.) arial
* <font face=verdana helvetica arial>
6.) a/
* <a/>
WHAT IT MEANS
Words that the HTML Filter does not recognise will generate an error message.
0.) The word 'family' was caught because it is not a recognised word. (The actual correct HTML is <font face="verdana"> and the correct style syntax is font-family:verdana).
Since family is not valid HTML word, it does not make it past the Filter. This goes for all words that the Filter does not recognise.
1. & 2.) The -disallowed_word-over is there because the possibley harmful code onMouseOver() was stripped out.
In those cases, remove the word or words that were stripped out along with whatever words are connected with it. (In the example's case, you would also remove submit()).
3. & 4. & 5.)The list of font faces — verdana, helvetica, and arial — is an error because the list should be enclosed in quotes. It should be "verdana helvetica arial".
Words that come after the = sign usually should be in quotes. So if a word is blocked by the Filter and it comes after an = sign, try putting it inside of quotes and see how the layout looks. If it passes the filter and the layout looks right, it worked!
So, for example, you might have, align=justify, which gets blocked. Try align="justify".
6.) The a/ appears as an error because it is not a recognised HTML word.
The letter a is recognised as a valid HTML word, but the / after it makes it invalid.
In the case of the sample code, it should be written as </a>.
Some of them look easy enough to fix... however, I'm not sure as my coding is poor. I used frontpage to do it originally I think but apparently TNT have become more strict on coding...
Can someone please explain how to fix this? And yes, it i urgent.