Ali Lee wrote:
> 
> Hi,
> 
> I need to be able to force a long url to wrap, otherwise it pushes my 
> div too wide and breaks the layout.  I've done it before in CSS but now 
> I can't remember exactly what the correct way of doing it is and I can't 
> find anything online.  Can anyone help?
> 

Microsoft has a proprietary property which will force non-breaking 
strings to break.  Suggestion: If you are concerned about CSS validation 
(it doesn't), hide it inside a conditional comment in the HTML.

<!--[if IE]>
  <style type="text/css">
        div.something {word-wrap: break-word;}
  </style>
<![endif]-->

-- 
Bob Easton
Accessibility Matters: http://access-matters.com

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

Reply via email to