Hey yeah, just realised it was a plugin done by a shortcode.

Wordpress wraps shortcode outputs with <pre> so you might need to use a 
str_replace or preg_replace to remove it.

-Alex

-- 
Alex M
alexm.co

On 26 September 2014 at 16:01:12, colleen sullivan leh 
(coll...@sullivanlehdesigns.com) wrote:

nevermind, not part of the plugin. thank you for the link with info.


On Sep 26, 2014, at 10:36 AM, Alex M <a...@alexm.co> wrote:

Hey there,

You’ve got the surrounding element as a <pre> - telling the content inside that 
the content has been pre formatted. This means that  browsers may disable 
automatic text wrap as it’s doing here. Try using a <div> or a <section>.

See http://www.w3.org/TR/html401/struct/text.html#edef-PRE for ref

-Alex

-- 
Alex M
alexm.co

On 26 September 2014 at 15:24:51, colleen sullivan leh 
(coll...@sullivanlehdesigns.com) wrote:

On this page, second sample: 
http://trafficsafety.org/uncategorized/spanish 

the line of text is extending outside the container and I can’t figure why. I 
know the code is a mess (divs inside a pre tag, for instance) but that’s from a 
plugin so overrides are going into the theme css. 

thank you 

-colleen sullivan leh 
______________________________________________________________________ 
css-discuss [css-d@lists.css-discuss.org] 
http://www.css-discuss.org/mailman/listinfo/css-d 
List wiki/FAQ -- http://css-discuss.incutio.com/ 
List policies -- http://css-discuss.org/policies.html 
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to