If you need urgent support, call 999 or go to your nearest A&E. To contact our Crisis Messenger (open 24/7) text THEMIX to 85258.
Options
html problems
Former Member
Posts: 1,876,323 The Mix Honorary Guru
in General Chat
Ok, I need some help with html because I don't understand what is happening.
I have this code on Myspace:
<*center>
<*form method="post" action="http://comments.myspace.com/index.cfm?fuseaction=user.ConfirmComment">
<*Input type="hidden" name="friendID" value="(myfriendID)"><*textarea style="background-color: deb7c5; background-image: url('');border-width: 4;border-style: Solid;border-color: 000000;color: 000000;font-family: arial;" name="f_comments" cols="50" rows="10">Talk To Me....<*/textarea><*br>
<*input style="background-color: d4008c;border-width: 4;border-style: Solid;border-color: 000000;color: 000000;font-family: arial;" type="submit" value="Thanks"> <*input style="background-color: d4008c;border-width: 4;border-style: Solid;border-color: 000000;color: 000000;font-family: arial;" type="reset" value="Oops!">
<*/form><*br>
<*/center>
When I save it it transforms itself into this:
<*center>
<*form method="post" action="http://comments.myspace.com/index.cfm?fuseaction=user.ConfirmComment">
..type="hidden" name="friendID" value="(my friendID)"><*textarea style="background-color: deb7c5; background-image: url('');border-width: 4;border-style: Solid;border-color: 000000;color: 000000;font-family: arial;" name="f_comments" cols="50" rows="10">Talk To Me....<*/textarea><*br>
..style="background-color: d4008c;border-width: 4;border-style: Solid;border-color: 000000;color: 000000;font-family: arial;" type="submit" value="Thanks"> ..style="background-color: d4008c;border-width: 4;border-style: Solid;border-color: 000000;color: 000000;font-family: arial;" type="reset" value="Oops!">
<*/form><*br>
<*/center>
Of course I don't have the asterix in, they are just to stop the html being read.
The aim is to create a comment box, I've had one on my account for ages using the coding at the top. Suddenly though lots of text started spewing out the sides of the box. The '<*input' has been replaced with '*..' and it does this every time I save it. Anyone have any idea why it would be doing this?
When it saves the .. the box still appears, it just has all this html text spewing out the sides and I have no idea how to fix it. I think it needs to stay as the '*<input' rather than the '*..' but I can't stop it changing it all.
I have this code on Myspace:
<*center>
<*form method="post" action="http://comments.myspace.com/index.cfm?fuseaction=user.ConfirmComment">
<*Input type="hidden" name="friendID" value="(myfriendID)"><*textarea style="background-color: deb7c5; background-image: url('');border-width: 4;border-style: Solid;border-color: 000000;color: 000000;font-family: arial;" name="f_comments" cols="50" rows="10">Talk To Me....<*/textarea><*br>
<*input style="background-color: d4008c;border-width: 4;border-style: Solid;border-color: 000000;color: 000000;font-family: arial;" type="submit" value="Thanks"> <*input style="background-color: d4008c;border-width: 4;border-style: Solid;border-color: 000000;color: 000000;font-family: arial;" type="reset" value="Oops!">
<*/form><*br>
<*/center>
When I save it it transforms itself into this:
<*center>
<*form method="post" action="http://comments.myspace.com/index.cfm?fuseaction=user.ConfirmComment">
..type="hidden" name="friendID" value="(my friendID)"><*textarea style="background-color: deb7c5; background-image: url('');border-width: 4;border-style: Solid;border-color: 000000;color: 000000;font-family: arial;" name="f_comments" cols="50" rows="10">Talk To Me....<*/textarea><*br>
..style="background-color: d4008c;border-width: 4;border-style: Solid;border-color: 000000;color: 000000;font-family: arial;" type="submit" value="Thanks"> ..style="background-color: d4008c;border-width: 4;border-style: Solid;border-color: 000000;color: 000000;font-family: arial;" type="reset" value="Oops!">
<*/form><*br>
<*/center>
Of course I don't have the asterix in, they are just to stop the html being read.
The aim is to create a comment box, I've had one on my account for ages using the coding at the top. Suddenly though lots of text started spewing out the sides of the box. The '<*input' has been replaced with '*..' and it does this every time I save it. Anyone have any idea why it would be doing this?
When it saves the .. the box still appears, it just has all this html text spewing out the sides and I have no idea how to fix it. I think it needs to stay as the '*<input' rather than the '*..' but I can't stop it changing it all.
0
Comments
Now all they need to do is filter the style tag and the web will be a much nicer looking place.
So in short, if they've filtered input in the same way they've filtered script, then there's nothing you can do.
it looks like this:
..type="hidden" name="friendID" value="(friendID)">
(then the entire box appears, it looks like it usually does but the post button is missing. It is then followed by more html)..style="background-color: d4008c;border-width: 4;border-style: Solid;border-color: 000000;color: 000000;font-family: arial;" type="submit" value="Thanks"> ..style="background-color: d4008c;border-width: 4;border-style: Solid;border-color: 000000;color: 000000;font-family: arial;" type="reset" value="Oops!">
This html afterward is surely the post button?
My suspiscion is a rouge " but it's a little early in the morning for me to try and locate it...
..type="hidden" name="ID" value="(ID)">
(box appears)
..type="submit" value="Thanks"> ..type="reset" value="Oops!">
It's probably done to prevent cross-site scripting attacks or spam but has gone over the top.
There's people moaning about this on the myspace forum. So it's not you or your code it's a myspace change.
The best way to fix it would be not to use myspace.