![]() |
|
My description is not working :c - Printable Version +- Chronicles of Eternia (https://chronicles-of-eternia.com/forum) +-- Forum: Out of Character (https://chronicles-of-eternia.com/forum/forum-1.html) +--- Forum: Suggestions (https://chronicles-of-eternia.com/forum/forum-7.html) +--- Thread: My description is not working :c (/thread-7818.html) |
My description is not working :c - Penguin - 07-02-2021 Hello, friend! I came here with another request, I need your help! My desc used to look cute, Like this: ![]() ![]() but now, it looks like this: ![]() :c Apparently, when we introduced the new HTML codes to the game, we also mess a little bit with something, I believe it could be something related to CSS, or rather when you implement it to import this kind of desc, as the basics tag works fine. Please, I beg you, bring it back, I need it. NOTE: this is the code that i use for my desc Quote:<style> html { height: 100%; width: 100%; margin: 0; padding: 0; } body { height: 100%; width: 100%; margin: 0; padding: 0; background: #000000; color: white; font-family: 'Train One', cursive; font-size: 13px; } iframe{ position:absolute; left:0; top:0; width:100%; height:100%; border:none; padding:0; margin:0; } </style> <iframe src="https://raihexai.neocities.org/idrispyraertas.html"> Thank Rai for making those desc, we miss you. RE: My description is not working :c - Math - 07-02-2021 this is only a hint since i don't really know if it was removed but this kind of desc relied on iframes to "pull the code from another website" and if its a recurrent problem with every single one of them, the code was disabled since it can be considered a security flaw but i have no idea RE: My description is not working :c - Jumpy - 07-02-2021 (07-02-2021, 07:16 PM)Math Wrote: this is only a hint since i don't really know if it was removed but this kind of desc relied on iframes to "pull the code from another website" and if its a recurrent problem with every single one of them, the code was disabled because it can be considered a security flaw This is why you should buy Math's splendiferrousleonine descriptions, they don't rely on cheap iframes and always work! RE: My description is not working :c - Math - 07-02-2021 lets not build competition, rai's descs are awesome and utilize a different style! RE: My description is not working :c - edetha - 07-02-2021 (07-02-2021, 07:16 PM)Math Wrote: this is only a hint since i don't really know if it was removed but this kind of desc relied on iframes to "pull the code from another website" and if its a recurrent problem with every single one of them, the code was disabled since it can be considered a security flaw It's not iframes. It has something to do with the style tag. Having even just a BLANK style tag causes the whole thing to not work, or at least the parts AFTER the style tag. What I -SUSPECT- is happening, is the <style> tag is opening properly, but for some reason, the closing </style> isn't registering, so it thinks the entire content is inside of an unclosed <style> tag. Try having the following as your profile Code: ABCD<style></style>EFGHRE: My description is not working :c - Raihex - 07-02-2021 To add to this, it seems to be an issue with the closing code tags not working correctly. I looked into the code a little and it seems that any closing tag has its left and right angle brackets replaced by their html entity counterparts. So < changes to < and > changes to >. Though, not sure why only closing tags are being affected. Another interesting thing that seems to be happening is any styling within tags is being automatically placed within the <style> coding and removed from the tags themselves, or somethin' like that. A good addition as long as it doesn't mess with the original style tag. So I played around with this logic and removed the <style></style> from the description code itself since the code seems to be creating it anyway (and that could actually be creating the problem when the <style></style> is already within the description), and it seems to be working now. For now, replace the code above with: Code: <iframe src='https://raihexai.neocities.org/idrispyraertas.html' style='position:absolute;left:0;top:0;width:100%;height:100%;border:none;padding:0;margin:0;'>This style should work. o7 PS: Math's descriptions are the prettiest thing, maybe one day we'll fuse to create the ultimate descriptions, aesthetic and code combined. RE: My description is not working :c - Nadrew - 07-02-2021 Fixed next update. |