# Problem with text wrapping within the div

**URL:** <https://www.ruby-forum.com/t/problem-with-text-wrapping-within-the-div/146560>\
**Category:** Ruby\
**Created:** [August 22, 2008, 11:08am UTC](https://www.ruby-forum.com/t/problem-with-text-wrapping-within-the-div/146560 "2008-08-22T11:08:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kirankinuforu](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/977dab/32.png) [@kirankinuforu](https://www.ruby-forum.com/u/kirankinuforu)\
**Post date:** [August 22, 2008, 11:08am UTC](https://www.ruby-forum.com/t/problem-with-text-wrapping-within-the-div/146560/1 "2008-08-22T11:08:01Z")

</div>

Hi,

All I am trying to wrap a longer text within the div. I am using  
following code.

Contents to be displayed

```
                  This code works fine in Internet explorer, but

```

does not works in mozilla, Please suggest a proper solutions.

Thanks and Regards,  
Kiran

---

<div class="post-metadata">

**Author:** ![kirankinuforu](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/977dab/32.png) [@kirankinuforu](https://www.ruby-forum.com/u/kirankinuforu)\
**Post date:** [August 22, 2008, 11:26am UTC](https://www.ruby-forum.com/t/problem-with-text-wrapping-within-the-div/146560/2 "2008-08-22T11:26:45Z")

</div>

On Fri, 2008-08-22 at 18:04 +0900, Kiran P. wrote:

> ```
> This code works fine in Internet explorer, but
> 
> ```
> 
> does not works in mozilla, Please suggest a proper solutions.

This is not a forum for asking HTML/CSS/Javascript questions. There is a  
reason its called “ruby-talk”.

---

<div class="post-metadata">

**Author:** ![kirankinuforu](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/977dab/32.png) [@kirankinuforu](https://www.ruby-forum.com/u/kirankinuforu)\
**Post date:** [August 22, 2008, 1:13pm UTC](https://www.ruby-forum.com/t/problem-with-text-wrapping-within-the-div/146560/3 "2008-08-22T13:13:49Z")

</div>

Hemant K. wrote:

> On Fri, 2008-08-22 at 18:04 +0900, Kiran P. wrote:
> 
> > ```
> > This code works fine in Internet explorer, but
> > 
> > ```
> > 
> > does not works in mozilla, Please suggest a proper solutions.
> 
> This is not a forum for asking HTML/CSS/Javascript questions. There is a  
> reason its called “ruby-talk”.

HI,

Thanks for the suggestion, But I think there are so may such quotes in  
the forum.  
For eg.

1)text not wrapping…

2)Folding Text in div Box Fred T. 1 146 days ago by Fred  
Talpiot

3)Wrapping a table row in

 tags kermit 4 51 days ago by RobG

4)text does not wrap. Sunny B. 1 yesterday by Philip  
Hallstrom

so are those ruby questions or something else???. 🙂

Regards,  
Kiran

---

<div class="post-metadata">

**Author:** ![kirankinuforu](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/977dab/32.png) [@kirankinuforu](https://www.ruby-forum.com/u/kirankinuforu)\
**Post date:** [August 22, 2008, 4:13pm UTC](https://www.ruby-forum.com/t/problem-with-text-wrapping-within-the-div/146560/4 "2008-08-22T16:13:37Z")

</div>

On Fri, Aug 22, 2008 at 7:11 AM, Kiran P. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> so are those ruby questions or something else???. 🙂

When someone politely reminds you that you are posting off-topic,  
please listen to them.  
This is not even the best place for questions about Rails, let alone  
the best place for general HTML tips.

-greg
