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: 13
Entire Site: 23 & 131
Page Admin: tgags123, Page Staff: Boured,
10-18-19 08:58 PM

Forum Links

Thread Information

Views
256
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 Online
Link | ID: 1359568 | 204 Words

Davideo7
Level: 333


POSTS: 43150/43904
POST EXP: 3239651
LVL EXP: 677819854
CP: 165578.3
VIZ: 90849084

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 'Laziness Syndrome'

Registered: 12-06-04
Location: Wisconsin
Last Post: 8 days
Last Active: 14 sec.

Post Rating: 2   Liked By: Furret, Lexatom,

Related Content

Content Coming Soon

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

Furret
Davideo69
Level: 129


POSTS: 4375/6281
POST EXP: 349578
LVL EXP: 24980560
CP: 35990.1
VIZ: 2595249

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 'Laziness Syndrome'

Registered: 11-25-12
Location: Belgium
Last Post: 18 days
Last Active: 3 hours

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


JigSaw
Level: 158


POSTS: 7512/7936
POST EXP: 584185
LVL EXP: 49704225
CP: 7931.8
VIZ: -46042336

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!)
Vizzed Elite
PHP Developer, Security Consultant

Affected by 'Laziness Syndrome'

Registered: 04-06-06
Location: Area 51
Last Post: 83 days
Last Active: 77 days

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

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

Davideo7
Level: 333


POSTS: 43151/43904
POST EXP: 3239651
LVL EXP: 677819854
CP: 165578.3
VIZ: 90849084

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 'Laziness Syndrome'

Registered: 12-06-04
Location: Wisconsin
Last Post: 8 days
Last Active: 14 sec.

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


JigSaw
Level: 158


POSTS: 7515/7936
POST EXP: 584185
LVL EXP: 49704225
CP: 7931.8
VIZ: -46042336

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.

Vizzed Elite
PHP Developer, Security Consultant

Affected by 'Laziness Syndrome'

Registered: 04-06-06
Location: Area 51
Last Post: 83 days
Last Active: 77 days

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

Davideo7
Level: 333


POSTS: 43153/43904
POST EXP: 3239651
LVL EXP: 677819854
CP: 165578.3
VIZ: 90849084

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 'Laziness Syndrome'

Registered: 12-06-04
Location: Wisconsin
Last Post: 8 days
Last Active: 14 sec.

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

Mohammedroxx3
mohammedroxx3
Level: 114


POSTS: 4634/4714
POST EXP: 427209
LVL EXP: 15922792
CP: 36816.1
VIZ: 1435430

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: 249 days
Last Active: 8 hours

Links