• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 08:21
CET 14:21
KST 22:21
  • 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
RSL Revival - 2025 Season Finals Preview8RSL Season 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12
Community News
Weekly Cups (Dec 15-21): Classic wins big, MaxPax & Clem take weeklies3ComeBackTV's documentary on Byun's Career !11Weekly Cups (Dec 8-14): MaxPax, Clem, Cure win4Weekly Cups (Dec 1-7): Clem doubles, Solar gets over the hump1Weekly Cups (Nov 24-30): MaxPax, Clem, herO win2
StarCraft 2
General
ComeBackTV's documentary on Byun's Career ! Team TLMC #5: Winners Announced! What's the best tug of war? The Grack before Christmas Weekly Cups (Dec 15-21): Classic wins big, MaxPax & Clem take weeklies
Tourneys
OSC Season 13 World Championship $5,000+ WardiTV 2025 Championship $100 Prize Pool - Winter Warp Gate Masters Showdow Sparkling Tuna Cup - Weekly Open Tournament Winter Warp Gate Amateur Showdown #1
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 505 Rise From Ashes Mutation # 504 Retribution Mutation # 503 Fowl Play Mutation # 502 Negative Reinforcement
Brood War
General
BW General Discussion How soO Began His ProGaming Dreams Klaucher discontinued / in-game color settings BGH Auto Balance -> http://bghmmr.eu/ Recommended FPV games (post-KeSPA)
Tourneys
[BSL21] LB SemiFinals - Saturday 21:00 CET [BSL21] WB & LB Finals - Sunday 21:00 CET Small VOD Thread 2.0 [Megathread] Daily Proleagues
Strategy
Simple Questions, Simple Answers Game Theory for Starcraft Current Meta Fighting Spirit mining rates
Other Games
General Games
Nintendo Switch Thread Mechabellum Stormgate/Frost Giant Megathread Beyond All Reason Path of Exile
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 Survivor II: The Amazon Sengoku Mafia TL Mafia Community Thread
Community
General
12 Days of Starcraft US Politics Mega-thread The Games Industry And ATVI Russo-Ukrainian War Thread How Does UI/UX Design Influence User Trust?
Fan Clubs
White-Ra Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece
Sports
2024 - 2026 Football Thread Formula 1 Discussion
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List TL+ Announced Where to ask questions and add stream?
Blogs
National Diversity: A Challe…
TrAiDoS
I decided to write a webnov…
DjKniteX
James Bond movies ranking - pa…
Topin
Thanks for the RSL
Hildegard
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2022 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 +

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa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aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
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
Netherlands10341 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">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa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aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
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 6h 39m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Rex 147
trigger 19
StarCraft: Brood War
Britney 53614
Jaedong 2041
Shuttle 1395
hero 436
Larva 404
firebathero 383
Hyuk 244
Rush 225
ggaemo 197
Last 151
[ Show more ]
Sharp 112
Mong 61
Movie 49
ToSsGirL 30
Terrorterran 23
JYJ 23
Rock 17
JulyZerg 15
SilentControl 5
Dota 2
XcaliburYe1006
BananaSlamJamma254
Fuzer 248
febbydoto57
League of Legends
C9.Mang0348
Counter-Strike
allub242
Heroes of the Storm
Khaldor236
Other Games
Grubby5708
singsing2056
B2W.Neo1636
Lowko265
Hui .176
RushiSC4
Organizations
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 13 non-featured ]
StarCraft 2
• StrangeGG 58
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Jankos2627
• Nemesis566
Upcoming Events
BSL 21
6h 39m
Sziky vs eOnzErG
Sparkling Tuna Cup
20h 39m
Krystianer vs Classic
TriGGeR vs SKillous
Percival vs Ryung
ByuN vs Nicoract
OSC
1d 4h
BSL 21
1d 6h
Cross vs Dewalt
Replay Cast
1d 19h
Wardi Open
1d 22h
OSC
2 days
Solar vs MaxPax
ByuN vs Krystianer
Spirit vs TBD
OSC
5 days
Korean StarCraft League
6 days
OSC
6 days
Liquipedia Results

Completed

Escore Tournament S1 - W1
WardiTV 2025
META Madness #9

Ongoing

C-Race Season 1
IPSL Winter 2025-26
BSL Season 21
CSL Season 19: Qualifier 2
eXTREMESLAND 2025
SL Budapest Major 2025
ESL Impact League Season 8
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025

Upcoming

CSL 2025 WINTER (S19)
Escore Tournament S1 - W2
Escore Tournament S1 - W3
BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
Bellum Gens Elite Stara Zagora 2026
HSC XXVIII
Big Gabe Cup #3
OSC Championship Season 13
Nations Cup 2026
ESL Pro League Season 23
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
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 © 2025 TLnet. All Rights Reserved.