Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to make " " word-wrap on chrome

this is my code :

<div id="a" style="position:absolute;top:300px;width:100px;height:100px;background:red;color:black;word-wrap:break-word;">
    <div id='a2' contenteditable=true >
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    </div>
</div>

this code word-wrap in firefox , but in chrome i cant word-wrap,

so how to make &nbsp; word-wrap on chrome ?

thanks

like image 492
zjm1126 Avatar asked Nov 27 '10 09:11

zjm1126


People also ask

How to make a website step by step?

How to Make a Website 1 Step #1: Choose Your Website Platform. In order to build a website, you first got to decide what platform you’re going to build your website with. 2 Step #2: Find a Domain Name and Host. Full Disclosure: This guide is reader-supported. ... 3 Step #3: Set Up a Website and Start Designing. ...

What is the right way to make out?

While kissing someone you like for even a few seconds can be electrifying or intense enough on it's own, making out takes kissing to a new level. If you want to make out the right way, then you have to know how to sustain your passion, mix things up, and make your kissing partner feel appreciated.

How to make out for the first time?

Remember that if you're making out for the first time, you have to be extra cautious before you begin. The first time is about figuring out the person's comfort level, boundaries, and favourite maneuvers.

How to make an app in 10 steps?

How to Create an App in 10 Steps – (Step-by-Step Tutorial to Make an App) Step #1 — Define Your Goals. The app development process must start with clearly defined goals. What are you setting out... Step #2 — Conduct Market Research. Once you’ve established your goals, you need to make sure that ...


1 Answers

You make them word wrap like this:

 &nbsp;<wbr>&nbsp;<wbr>&nbsp;<wbr>&nbsp;<wbr>&nbsp;<wbr>
like image 169
gaby de wilde Avatar answered Oct 27 '22 15:10

gaby de wilde