tags:

views:

76

answers:

2

Hi,

How do you wrap text in a tag?

I have set the width however text just continues to overflow the element.

Thanks

+4  A: 

Give this a try

 <div style="whitespace:wrap">Some long text...</div>
Bob
A: 

Is the tag floated? -if so then add this after the text <div style='clear:both; width:100%; height:1px;'></div>

Please show us the code so we can see exactly what your doing.

Justin Lucas