Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

word wrap in html

 
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
how to break lines in html i am using

htmltag like this

<table cellpadding="20" cellspacing="0" border="0" width="<%= WIDTH_CONTENT_EMAIL %>">
<tr align="left"><td style="width: auto; word-break: break-all;word-wrap: break-word;" width="100%" nowrap="">ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ</td></tr>
</table>

i want break content into 2 different lines how can achieve this???
 
N Naresh
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
this is working fine in IE but it is not working in mozilla(firefox0
how can i make it to work.
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Stop posting multiple times on the same subject.

https://coderanch.com/t/419793/HTML-JavaScript/word-wrap
 
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic