• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 02:44
CET 08:44
KST 16:44
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
Behind the Blue - Team Liquid History Book15Clem wins HomeStory Cup 289HomeStory Cup 28 - Info & Preview13Rongyi Cup S3 - Preview & Info8herO wins SC2 All-Star Invitational14
Community News
ACS replaced by "ASL Season Open" - Starts 21/0218LiuLi Cup: 2025 Grand Finals (Feb 10-16)23Weekly Cups (Feb 2-8): Classic, Solar, MaxPax win2Nexon's StarCraft game could be FPS, led by UMS maker10PIG STY FESTIVAL 7.0! (19 Feb - 1 Mar)13
StarCraft 2
General
How do you think the 5.0.15 balance patch (Oct 2025) for StarCraft II has affected the game? Nexon's StarCraft game could be FPS, led by UMS maker Terran Scanner Sweep Behind the Blue - Team Liquid History Book Weekly Cups (Jan 12-18): herO, MaxPax, Solar win
Tourneys
RSL Season 4 announced for March-April LiuLi Cup: 2025 Grand Finals (Feb 10-16) PIG STY FESTIVAL 7.0! (19 Feb - 1 Mar) RSL Revival: Season 4 Korea Qualifier (Feb 14) Sparkling Tuna Cup - Weekly Open Tournament
Strategy
Custom Maps
Map Editor closed ? [A] Starcraft Sound Mod
External Content
The PondCast: SC2 News & Results Mutation # 512 Overclocked Mutation # 511 Temple of Rebirth Mutation # 510 Safety Violation
Brood War
General
[ASL21] Potential Map Candidates Gypsy to Korea Which units you wish saw more use in the game? ACS replaced by "ASL Season Open" - Starts 21/02 Liquipedia.net NEEDS editors for Brood War
Tourneys
Escore Tournament StarCraft Season 1 [Megathread] Daily Proleagues Small VOD Thread 2.0 KCM Race Survival 2026 Season 1
Strategy
Fighting Spirit mining rates Zealot bombing is no longer popular? Simple Questions, Simple Answers Current Meta
Other Games
General Games
Path of Exile Diablo 2 thread Nintendo Switch Thread Battle Aces/David Kim RTS Megathread ZeroSpace Megathread
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
Mafia Game Mode Feedback/Ideas Vanilla Mini Mafia TL Mafia Community Thread
Community
General
US Politics Mega-thread Ask and answer stupid questions here! European Politico-economics QA Mega-thread The Games Industry And ATVI Russo-Ukrainian War Thread
Fan Clubs
The IdrA Fan Club The herO Fan Club!
Media & Entertainment
[Manga] One Piece Anime Discussion Thread
Sports
2024 - 2026 Football Thread
World Cup 2022
Tech Support
TL Community
The Automated Ban List
Blogs
ADHD And Gaming Addiction…
TrAiDoS
My 2025 Magic: The Gathering…
DARKING
Life Update and thoughts.
FuDDx
How do archons sleep?
8882
StarCraft improvement
iopq
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1667 users

word wrapping bug

Forum Index > Website Feedback
Post a Reply
overpool
Profile Joined April 2008
United States191 Posts
July 02 2008 07:58 GMT
#1
Hi,

Sorry if this is a dupe; I couldn't find it in any recent threads.

Anyways, it seems that super long words screw up the site's layout. Example: this page is too wide in FF3 and Safari. The solution would be to allow individual words to be wrapped if necessary.

It's not a big deal; just thought I would bring it to your attention.

+ Show Spoiler +

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa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aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
yay i love tl events
CharlieMurphy
Profile Blog Joined March 2006
United States22895 Posts
July 03 2008 07:59 GMT
#2
thats why there is the URL bbcode.
..and then I would, ya know, check em'. (Aka SpoR)
overpool
Profile Joined April 2008
United States191 Posts
July 05 2008 07:41 GMT
#3
On July 03 2008 16:59 CharlieMurphy wrote:
thats why there is the URL bbcode.

I'm confused... Did you even look at the link I gave? The problem wasn't a long URL.

But anyways, this isn't really a big deal. I just posted because it doesn't make sense that 1 post should be able to mess up the style of the whole page.
yay i love tl events
R1CH
Profile Blog Joined May 2007
Netherlands10342 Posts
July 05 2008 08:24 GMT
#4
There isn't really an effective way to do this other than to break up long words in either the DB or on output, which could break things like URLs or BBCode. Ideally there would be some nice CSS to force word breaks, but sadly there isn't.
AdministratorTwitter: @R1CH_TL
TL+ Member
caution.slip
Profile Blog Joined June 2007
United States775 Posts
Last Edited: 2008-07-05 12:21:56
July 05 2008 12:20 GMT
#5
you could put it in the TL commandments and consider doing that rude posting

cause come on...when is more than one exclamation mark ever necessary?

can also make exceptions for highly emotional threads
Live, laugh, love
overpool
Profile Joined April 2008
United States191 Posts
July 06 2008 02:29 GMT
#6
On July 05 2008 17:24 R1CH wrote:
There isn't really an effective way to do this other than to break up long words in either the DB or on output, which could break things like URLs or BBCode. Ideally there would be some nice CSS to force word breaks, but sadly there isn't.

ok thanks, that's what I was wondering. Shame CSS doesn't have a way to "contain" text inside of a <td> element with an absolute width.
yay i love tl events
funkie
Profile Blog Joined November 2005
Venezuela9376 Posts
July 06 2008 05:32 GMT
#7
unless you add a Div inside the td of the table where the content goes, and the set the width of the div in css.

that would most likely solve the problem ~~;
CJ Entusman #6! · Strength is the basis of athletic ability. -Rippetoe /* http://j.mp/TL-App <- TL iPhone App 2.0! */
SonuvBob
Profile Blog Joined October 2006
Aiur21550 Posts
July 06 2008 06:19 GMT
#8
But then we'd need to finally fix big quoted images. :p

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
[image loading]
Administrator
kkris
Profile Blog Joined June 2008
United States19 Posts
Last Edited: 2008-07-08 16:40:55
July 08 2008 16:36 GMT
#9
On July 06 2008 15:19 SonuvBob wrote:
But then we'd need to finally fix big quoted images. :p

<div style="width: 590px; overflow: hidden">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa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aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
Show nested quote +
[image loading]
</div>


Here is what I did over at VG..

Layout breakers..
"ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss"
..turns into..
http://vilegaming.com/forums.php?m=posts&p=98818#98818
..the code..
function wraptext($str, $wrap=128)
{
if (!empty($str)) { $str = preg_replace("/([^\n\r ?&\.\/<>\"\\-]{80})/i"," \\1\n", $str); }
return($str);
}

..then use..
$post_content = wraptext($post_content);

..or..
$post_content = wraptext($post_content, 60);

The above function works clean and handles all non-alphabetic characters as it should.

Quoting images..
http://vilegaming.com/forums.php?m=posts&p=98357#98357
..when quoted turns into..
http://vilegaming.com/forums.php?m=posts&p=98820#98820
..the code..
$search = array('[*img*]', '[*/img*]');
$replace = array('Image: ', '');
$post_content = str_ireplace($search, $replace, $post_content);

Note: Remove the *s in the above code.
You could also use preg_replace instead of str_ireplace, but then you would need to add in the regex expressions.
I'm Spartan and waiting for the reban hammer to hit me good.
MasterOfChaos
Profile Blog Joined April 2007
Germany2896 Posts
Last Edited: 2008-07-08 17:30:19
July 08 2008 17:27 GMT
#10
and does it handle urls,imgs etc as it should? And can you still break the layout with quotestacks?
you could also use the brutal solution. "overflow:hidden"
With most browsers "overflow:auto" would also work. It usually adds scrollbars if required.
LiquipediaOne eye to kill. Two eyes to live.
kkris
Profile Blog Joined June 2008
United States19 Posts
July 08 2008 17:33 GMT
#11
Yes it handles URLs, images, etc. as it should.

I handled quote stacks/nests differently on my site. When you quote a post that has quoted text in it it will remove it.

For example, here on TL it works like this..

Post 1

Post 2 quoting post 1
Show nested quote +
Post 1

Post 3 quoting post 2
Show nested quote +
Post 2 quoting post 1
Post 1


..on VG i have it like this..

Post 1

Post 2 quoting post 1
Show nested quote +
Post 1

Post 3 quoting post 2
Show nested quote +
Post 2 quoting post 1


..post 3 does not show the quoted text from post 1.
I'm Spartan and waiting for the reban hammer to hit me good.
fusionsdf
Profile Blog Joined June 2006
Canada15390 Posts
July 08 2008 20:33 GMT
#12
word wrap on
http://www.teamliquid.net/mytlnet/editprofile.php

is broken for me
SKT_Best: "I actually chose Protoss because it was so hard for me to defeat Protoss as a Terran. When I first started Brood War, my main race was Terran."
Please log in or register to reply.
Live Events Refresh
Next event in 16m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
WinterStarcraft590
SortOf 124
ProTech30
StarCraft: Brood War
Hyuk 1577
Leta 108
Aegong 60
Yoon 44
Free 32
910 14
IntoTheRainbow 13
ivOry 6
Dota 2
LuMiX1
League of Legends
JimRising 703
Super Smash Bros
Mew2King150
Other Games
gofns22204
tarik_tv10871
summit1g10374
C9.Mang0436
Organizations
Other Games
gamesdonequick659
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 12 non-featured ]
StarCraft 2
• Berry_CruncH141
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• iopq 2
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Upcoming Events
RSL Revival
16m
LiuLi Cup
3h 16m
Cure vs Reynor
Clem vs Maru
Rogue vs TriGGeR
ByuN vs Serral
uThermal 2v2 Circuit
4h 16m
PSISTORM Gaming Misc
9h 11m
RSL Revival
10h 16m
AI Arena Tournament
12h 16m
Replay Cast
16h 16m
Sparkling Tuna Cup
1d 2h
LiuLi Cup
1d 3h
Ladder Legends
1d 10h
[ Show More ]
Replay Cast
1d 16h
Replay Cast
2 days
Wardi Open
2 days
Monday Night Weeklies
2 days
OSC
2 days
WardiTV Winter Champion…
3 days
Replay Cast
4 days
WardiTV Winter Champion…
4 days
Replay Cast
4 days
PiG Sty Festival
5 days
The PondCast
5 days
KCM Race Survival
5 days
WardiTV Winter Champion…
5 days
Replay Cast
5 days
PiG Sty Festival
6 days
Epic.LAN
6 days
Replay Cast
6 days
Liquipedia Results

Completed

Escore Tournament S1: W8
Rongyi Cup S3
Underdog Cup #3

Ongoing

KCM Race Survival 2026 Season 1
LiuLi Cup: 2025 Grand Finals
Nations Cup 2026
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
eXTREMESLAND 2025
SL Budapest Major 2025

Upcoming

Escore Tournament S1: King of Kings
[S:21] ASL SEASON OPEN 1st Round
[S:21] ASL SEASON OPEN 1st Round Qualifier
[S:21] ASL SEASON OPEN 2nd Round
[S:21] ASL SEASON OPEN 2nd Round Qualifier
Acropolis #4
IPSL Spring 2026
HSC XXIX
uThermal 2v2 2026 Main Event
Bellum Gens Elite Stara Zagora 2026
RSL Revival: Season 4
WardiTV Winter 2026
BLAST Rivals Spring 2026
CCT Season 3 Global Finals
FISSURE Playground #3
IEM Rio 2026
PGL Bucharest 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League Season 23
ESL Pro League Season 23
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2026 TLnet. All Rights Reserved.