• Before posting a question, please check our Frequently Asked Questions page as well as previous threads here. Odds are you aren't the first to ask, and you may find the answer without having to post!

Wider-than-page posts

Skeletonjack

the chaos to balance order
So I don't understand what's causing this but @Nyctophiliac posts are extending in width past the normal page limit on my iOS device. I would just like to know if there's any way to fix this and/or prevent it in the future. I have taken a couple of pictures on what it looks like.


IMG_0435.PNGIMG_0436.PNG
 
This has to do with the use of HTML or the face that Nyctophiliac is copy-and-pasting. There is no way to fix it on your side that I am aware, of sorry. It more than likely appears normal for everyone who is using a PC/laptop/etc.
 
Yeah, what Ambela said. Most people when coding make their HTML look good on a laptop/pc because that's what they're doing the coding on. 
 
Please report it and one of the staff will be able to fix it.  He won't get in trouble if it's the first time he's done this, don't worry.
 
Please report it and one of the staff will be able to fix it.  He won't get in trouble if it's the first time he's done this, don't worry.

Wait people can get in trouble for that? I mean a wrongly coded post that looks fine on PC but looks messed up on mobile, that's something that can get you in trouble?
 
If the coding in a post affects the site, which it does in this case because it's changing the width of it, yes.  We're allowing HTML in posts only if the user keeps the coding within that post.  This is a minor example but there are some really malicious things that can be done with HTML, so we have to be fairly strict with it.


Like I said, if it's the first time, they don't get any warning points for it, because they may not know what they've done.  (It frequently happens with copy/paste, if there's spoilers, quotes, or other "boxes" in the copied post.)  We do send them a notice though so they should know afterwards, and we explain why and how to fix it.  We don't want to be the bad guys but we have to protect the site for the sake of everyone else.
 
Wait, what's this? What am I supposed to do? I'm really confused. 
 
If the coding in a post affects the site, which it does in this case because it's changing the width of it, yes.  We're allowing HTML in posts only if the user keeps the coding within that post.  This is a minor example but there are some really malicious things that can be done with HTML, so we have to be fairly strict with it.


Like I said, if it's the first time, they don't get any warning points for it, because they may not know what they've done.  (It frequently happens with copy/paste, if there's spoilers, quotes, or other "boxes" in the copied post.)  We do send them a notice though so they should know afterwards, and we explain why and how to fix it.  We don't want to be the bad guys but we have to protect the site for the sake of everyone else.

Good thing I don't use HTML •-• chances are I'd make a lot of mistakes and end up becoming very familiar with the staff XD
 
Wait, what's this? What am I supposed to do? I'm really confused. 

See how in Skeletonjack's screenshot, your post is stretching off the page?  That's because somewhere in your post's HTML code is a fixed width setting.  You need to go in there and remove it, or change it to a percentage.  @Anomaly can explain it better, she knows coding much better than I do.
 
HTML? Sorry, but what's that? I think all I did was copy and paste skeletonjack's post and didn't remove formatting. Would removing the formatting help?
 
I think so?  It would also make it easier to read for people using the Night Life theme, as it copied the white background as well. :/
 
What I've noticed with the page getting large like that is someone using word/notepad/google docs to make a post and copy-pasting it into the site. I'd say it has to do with the coding in these places that messes with RPNs and makes it wider than what it usually is. I found this out not too long ago lol
 
Britt is right - when you copy and paste something into the text box, it also copies and pastes the HTML associated with that thing. HTML is a mark-up language that controls how websites look, basically. It's used for formatting and can be compared to BBCode, but HTML is more sophisticated.


Now, when you copy and paste these things it sets a fixed width. If this width is bigger than the width of the post box, it stretches past the post box and messes up with the site.


If you are pasting something and have less than 500 posts, please please please remove formatting. If you are pasting something and have more than five hundred posts, an easy fix is to:


1) Go into the code viewer. You can do this by clicking the button "<> Source" in the upper left hand corner of the text box toolbar.


2) At the very beginning of your post, before everything else, write <div style="overflow-x: auto;">


3) At the very end of your post, after everything else, write </div>


Voila!
 

Users who are viewing this thread

Back
Top