Remove Ad, Sign Up
Remove Ad, Sign Up
Register to Remove Ad
Register to Remove Ad
Register to Remove Ad
Register to Remove Ad
Signup for free
for more features
and less ads
About   Users   Help
Users & Guests Online
On Page:
Directory: 1 & 25
Entire Site: 24 & 289
Page Admin: tgags123, Page Staff: Boured,
07-18-19 12:17 PM

Forum Links

Thread Information

Views
210
Replies
6
Rating
2
Status
OPEN
Thread
Creator
Davideo7
12-21-18 02:30 PM
Last
Post
Mohammedroxx3
12-21-18 04:15 PM

Thread Actions



Add to favorites

Order
 

Scroll Bar Added for Wide Posts

 

12-21-18 02:30 PM
Davideo7 is Offline
Link | ID: 1359568 | 204 Words

Davideo7
Level: 332


POSTS: 43150/43784
POST EXP: 3223990
LVL EXP: 669275975
CP: 163883.3
VIZ: 90653314

Likes: 2  Dislikes: 0
Sometimes a post may contain a string of text that causes the post to be too wide to be viewed. This is because the post hides anything wider than 734 pixels as a way to prevent the page from distorting. It's also possible that some layouts (specifically older ones) might have been designed for a wide view and those posts were being cut off because of that.

I've made it so that a scrollbar appears for these types of posts so that the content can be viewed by scrolling horizontally. You can see an example of it in action here:
https://www.vizzed.com/boards/thread.php?id=101174&page=0#1359558

I'll eventually come up with a better solution to this since it still tends to wreck a user's layout but it was bugging me that my post was being cut off due to a line of text lacking spaces.

While I was at it, I also fixed the ugly table border overlapping stuff that has been happening for as long as I can remember. It's hard to explain what I mean but basically the post would spill out of the box that it was contained in to the right by a few pixels and then you'd have this messy look of messy borders.
The Owner
Owner, Developer, Advertiser, etc
Founder, Mod, Investor


Affected by 'Trooperness Syndrome'

Registered: 12-06-04
Location: Wisconsin
Last Post: 34 min.
Last Active: 33 min.

Post Rating: 2   Liked By: Furret, Lexatom,

Related Content

Content Coming Soon

12-21-18 02:35 PM
Furret is Online
Link | ID: 1359570 | 20 Words

Furret
Davideo69
Level: 127


POSTS: 4375/6078
POST EXP: 327368
LVL EXP: 23339221
CP: 32522.1
VIZ: 2455621

Likes: 0  Dislikes: 0
I'm so happy to see this
Navigating forums and threads is becoming more easy and pleasant than ever before.
Global Moderator
Activities Manager; Minecraft Server Admin
#1 Ace Attorney fan


Affected by 'Trooperness Syndrome'

Registered: 11-25-12
Location: Belgium
Last Post: 12 hours
Last Active: 3 sec.

12-21-18 02:49 PM
JigSaw is Online
Link | ID: 1359572 | 43 Words

JigSaw
Level: 157


POSTS: 7512/7912
POST EXP: 531601
LVL EXP: 49014468
CP: 6369.4
VIZ: 273359

Likes: 0  Dislikes: 0
Davideo7 : Use the css command, word-break: break-all;

I just tested it and it worked! Gets rid of that ugly side scroll bar.

See below for proof
345197:1545103491;345197:1545083687;345197:1545083460;345197:1545083383;345197:1545011633;345197:1545011579;345197:1545000427;345197:1544995838;345197:1544995815;345197:1544995466;345197:1544995355;345197:1544995234;345197:1544995206;345197:1544995102;3451


(Content hidden from non-administrators!)
Site Staff
PHP Developer, Security Consultant

Affected by 'Trooperness Syndrome'

Registered: 04-06-06
Location: Area 51
Last Post: 10 min.
Last Active: 6 sec.

(edited by JigSaw on 12-21-18 03:54 PM)    

12-21-18 03:48 PM
Davideo7 is Offline
Link | ID: 1359581 | 24 Words

Davideo7
Level: 332


POSTS: 43151/43784
POST EXP: 3223990
LVL EXP: 669275975
CP: 163883.3
VIZ: 90653314

Likes: 0  Dislikes: 0
JigSaw : That causes some other unpleasant side effects. Notice how every word gets cut off to the right and extends to the next line.

Image upload: 997x678 totaling 155 KB's.
The Owner
Owner, Developer, Advertiser, etc
Founder, Mod, Investor


Affected by 'Trooperness Syndrome'

Registered: 12-06-04
Location: Wisconsin
Last Post: 34 min.
Last Active: 33 min.

12-21-18 03:58 PM
JigSaw is Online
Link | ID: 1359585 | 69 Words

JigSaw
Level: 157


POSTS: 7515/7912
POST EXP: 531601
LVL EXP: 49014468
CP: 6369.4
VIZ: 273359

Likes: 0  Dislikes: 0
Davideo7 : Interesting, well that isn't pretty.

I think it can be worked around, if you were to count the characters of each word in a post and only apply the word-break on text strings that exceed a certain amount of characters that would fix the issue. You'd basically have to auto inject a divider with that word break applied anytime a single word goes over X amount of characters.

Site Staff
PHP Developer, Security Consultant

Affected by 'Trooperness Syndrome'

Registered: 04-06-06
Location: Area 51
Last Post: 10 min.
Last Active: 6 sec.

12-21-18 04:05 PM
Davideo7 is Offline
Link | ID: 1359588 | 29 Words

Davideo7
Level: 332


POSTS: 43153/43784
POST EXP: 3223990
LVL EXP: 669275975
CP: 163883.3
VIZ: 90653314

Likes: 0  Dislikes: 0
JigSaw : It doesn't happen very often that someone posts a really big word so it'll be rare for the scroll bars appear (unless someone is using a bad layout).
The Owner
Owner, Developer, Advertiser, etc
Founder, Mod, Investor


Affected by 'Trooperness Syndrome'

Registered: 12-06-04
Location: Wisconsin
Last Post: 34 min.
Last Active: 33 min.

12-21-18 04:15 PM
Mohammedroxx3 is Offline
Link | ID: 1359592 | 155 Words

Mohammedroxx3
mohammedroxx3
Level: 113


POSTS: 4634/4714
POST EXP: 427209
LVL EXP: 15616020
CP: 36658.6
VIZ: 1417285

Likes: 0  Dislikes: 0
The scroll bar seems to appear in my layout even though I'm not using any very big words, so I guess that makes my layout bad now. (it was designed more for the old site layout where I can stretch my wallpaper to cover my entire post including the left side which has my level/userpicĀ and the right side which has my rank/custom title, I really miss being able to do that)

But the current layout editor is somewhat broken so I'm afraid to edit/fix it. I heard that the preview thing doesn't work and after editing your layout, the site won't allow you to post for the first few times. (or the threads might look glitched/awkward because of it) Maybe not a big deal after some trial/error, but I consider it a kinda medium priority because at least half the users use layouts while the other half disables it. I could be wrong though.
Site Staff
Emulation Manager, Tech Support

Affected by 'Laziness Syndrome'

Registered: 03-03-13
Location: Earth?
Last Post: 157 days
Last Active: 12 hours

Links