Results 1 to 5 of 5
Related
-
wrap text in a cell of a html table Forum: HTML Forum
Replies: 14 -
Cross browser ticker from text file needed Forum: Website Scripts Forum
Replies: 0 -
cross browser Forum: CSS Forum
Replies: 2 -
Cross-Browser woes... Forum: General Discussion
Replies: 4
-
02-11-2009, 04:18 AM #1
Text wrap in html divs in cross browser compatability
Hi ,
i am facing problem with text wrap..
<body>
<div style="height:200px; width:200px;">
<div style="WORD-BREAK:BREAK-ALL; ">gggggggggggggggggggggggggggggggggghhhhhhhhhhhhhhhhhhhgggggggggggggg</div>
</div>
</body>
here the word is not fitting into the specified width.
Please tell me any other alternatives.Thanks in advance.
-
02-11-2009, 05:50 AM #2
Re: Text wrap in html divs in cross browser compatability
it's working fine in ie7 and it's not working in fire fox.Please tell me if any other solution.
-
02-11-2009, 10:00 AM #3
Re: Text wrap in html divs in cross browser compatability
IE7 will wrap long words by default. You are actually using the wrong CSS syntax. Use the following instead.
Code:word-wrap: break-word;
-
02-11-2009, 11:53 PM #4
Re: Text wrap in html divs in cross browser compatability
thanks jthayne,
even that syntax is not working in firefox.
-
02-12-2009, 10:27 AM #5
Re: Text wrap in html divs in cross browser compatability