WordPress Force Word Wrapping Plugin
Well I guess this is WordPress Plugin day. I noted the other day in in my Long URLs Break Layout post that long URLs break tabled layout. The Tabled layout I was having problems with wasn’t was in WordPress so you will see in the Long URLs Break Layout post I had to change the font to a large font to make my point.
Well that is because I had Jim Wigginton’s Force Word Wrapping plugin installed. AsyoucanseeJimspluginwhichpreventslongsentancesconstructedlikethisfrom horizontallystretchingthepage. But the forced word wrap is calculated for the default font size.
As soon as you increase the font size lines don’t word wrap correctly. See the below example.
As noted in my Long URLs Break Layout post you then apply an “overflow: hidden;” style to the line to hide the overflow. Like the following line.
Here is the download for Jim’s Force Word Wrapping WordPress plugin.