[Solved] Code that worked before doesn't now!

Posted 6 years, 4 months ago (Edited 6 years, 4 months ago) by Myota

I'll do my best to accurately explain the situation without screenshots:

Okay, I've been using this template for a long while for my characters and haven't encountered any problems. Recently I even made a character for the coding of it to give to another user, and it seemed to work perfectly fine. However, at some point in the past 2-4 days or so, the template has simply.. sort of stopped working. Instead of looking as it should, when I copy and paste either the code or the WYSIWYG stuff, this happens- the table to the right refuses to exist alongside the rest of the text, leaving this huge blank space. Even stranger, is when I edit a preexisting character, even slightly, the same thing occurs. This started happening for seemingly no reason, and I have no idea what might be causing it, or how to fix it. if anyone has some bits of information, fixes, or just some advice, please let me know. I had to update all of my characters the last time the site updated- that's not something I want to do again so soon! [And this time the site didn't even update! I don't think, anyways.]

TLDR; if I edit my profiles, the table in them refuses to sit alongside preexisting text, and the issue only started occurring within the last couple of days. Any help is appreciated!


Pinky

hi there! when i view the source code on one of your broken profiles vs one that is working, i notice the main table has some weird margin stuff in it? there is also a lot of empty line breaks in the broken one, which is usually a result of the having extra spaces with the WYSIWYG on

could you try making sure the WYSIWYG is turned OFF here: https://toyhou.se/~account/display
do not use that little source code button that lets you put in coding while WYSIWYG is on, get the whole thing completely off!
then create a new character & post your original code form a working layout in there and see what happens? i think this may be an issue with the WYSIWYG as the errors causing it to break match up with stuff the WYSIWYG tends to do

Myota

lowkeywicked

Hopefully I understand what you wanted mt to try. Here are the results:

I turned off WYSIWYG and copied my still functional template into a new character profile, and the same thing occurred. I then copied a still functional character profile rather than the template into a new character profile, and yup- same results. I then went to a character's profile, entered the edit character set up, changed nothing, then updated the profile and the same thing occurred.

Now that you point it out, I wouldn't be at all surprised if WYSIWYG is somehow to blame for this madness, at least in some part, but simply turning it off doesn't seem to have helped :(

Pinky

just to verify- when you turned off WYSIWYG, all the buttons and everything disappear, you just have a plain box you put content in?

when i view your source code, on your broken layout the main table that floats to the right has a "margin-left" added into the HTML - it is this margin that is knocking down the rest of your content. when you look at your HTML on a broken layout, do you see anything that says "margin" or "margin-left" in the table css? (if you are a not sure, feel free to screenshot your edit page and i can look !)

Myota

lowkeywicked

I found it, deleted it, and to the untrained eye everything is magically back to normal. I deleted that section from one of the affected profiles, and it is back to normal.

Thank you so much for your help! I guess some sort of odd... thing with WYSIWYG caused it, but at least now I know how to fix it!