word-break Questions

7

Solved

If I just put word-break: break-all on an element, I often end up with this: Hello people, I am typing a mes sage that's too long to fit! Obviously this would be much better as: Hello peop...
Estey asked 2/10, 2012 at 23:15

5

Solved

What´s the exact difference between overflow-wrap/word-wrap and word-break? And can anybody tell me what´s the better one for breaking very long links? Most people say you should use word-break in ...
Transpontine asked 23/6, 2013 at 10:40

5

Is there an alternative for word-break: break-word that works in firefox ? In firefox[Version 57.0] In Chrome[Version 62.0.3202.94] Is there a way or an alternative to use break-word attribu...
Huei asked 21/11, 2017 at 12:55

4

Solved

I'm using word-break: break-all; and want to know how I can have the browser automatically insert the hyphens, as demonstrated in an MDN example. div { width: 80px; height: 80px; display...
Aboriginal asked 7/3, 2013 at 1:46

2

Solved

I am styling my paragraphs and I have line break after a certain amount of characters. I want to be able to make the line after the break to be aligned left rather than center. .justify { te...
Impost asked 10/9, 2018 at 14:57

5

Solved

I am building a website where I am displaying korean text. The client (US local) is being very unhappy because the text is breaking in the middle of words. As example of this, here is an image: Red...
Daren asked 25/9, 2014 at 17:11

3

Solved

.container { /* Container's width can be dynamically resized. I put width = 300px in the example to demonstrate a case where container's width couldn't hold second msg */ width:...
Ephraim asked 15/6, 2018 at 8:39

2

Solved

Is it possible to use hyphens, or soft-hyphens in CSS, in such a way that hyphens are not rendered unnecessarily? My goal is to keep the original text as much as possible and break any words unless...
Gorlicki asked 11/1, 2018 at 14:33

1

Solved

I have this code: .mydiv { display: table; table-layout: fixed; width: auto; max-width: 448px; height: 56px; } .mydiv span { display: table-cell; vertical-align: middle; o...
Monochloride asked 9/1, 2018 at 6:39

2

Solved

I am creating a very thin page (it's being printed on receipt paper: 56mm wide) I am trying to display some text (in this case shipping selection). Sometimes this text is normal a number of spaced...
Tachograph asked 13/2, 2016 at 10:53

1

Solved

I needed to fix some CSS somewhere because my text wasn't wrapping around and was instead going on indefinitely if it was an extremely long word. Like in most cases, I tried word-wrap: break-word;...
Waterside asked 7/2, 2016 at 8:0

3

Solved

I see that in the Safari browser the CSS word-break property which I need is not being used. Why ?
Triumph asked 20/12, 2013 at 12:2

10

Solved

hai everybody i am using html2pdf ,it doesn't support word-break:break-all css any idea? example <td style="width:30%;word-break:break-all ;"> testtestetstetstetstetstettstetstetstetstets...
Tragicomedy asked 6/10, 2012 at 11:50

3

Solved

I've added word-break:break-word to the comments on my site to start breaking up the words when they overflow the comment box, but it doesn't appear to be working in Firefox. I've done a JS fiddle ...
Whencesoever asked 17/6, 2013 at 8:47

2

Solved

I'm working on a map legend and I have some trouble when the word is too long. I want to know if it's possible to add some property to the text so it break to the last symbol space, score, undersco...
Banka asked 17/4, 2015 at 9:2

8

Solved

I am looking for the best solution to allow text to wrap in the middle of a word if necessary. By best, I mean most browser-compatible, and will favor word breaks before it breaks inside a word. I...
Dorwin asked 13/2, 2010 at 13:24

1

Solved

I am working on Virtual Machine so I can't copy code... I will post the screens then. Problem is trivial I guess but I can't deal with it... please give me some suggestions: Table code: https://dl...
Ruination asked 26/6, 2013 at 16:36

2

Solved

My client wants no words to be broken on his site. Example: The dog went for a walk and ran to- wards the car. SHOULD BE The dog went for a walk and ran towards the car. The issue is only ap...
Downstate asked 20/12, 2012 at 14:10

5

Solved

I'm trying to determine whether it's possible to create css for an element that supports word-wrap:break-word, but that also expands to take the width of its children when breaking is not possible....
Knoxville asked 29/9, 2011 at 23:35

6

Solved

When the text in <p> tag is too long, it appears like this, how to prevent this with CSS? I've tried the CSS property word-break: break-all; but Firefox and Opera doesn't support this prope...
Argos asked 10/9, 2011 at 8:58

1

<style> .ms_menu ul{list-style:none;} .ms_menu ul li{float:left; padding:5px; border-right:1px solid #000000;} .ms_menu ul li:last-of-type{border-right:none;} </style> example ht...
Aglimmer asked 15/8, 2011 at 15:24

2

Solved

I have just a regular piece of text in a <p> tag inside a <div> tag. But only Firefox displays it correctly. Firefox breaks the lines between the words. All other browsers break the li...
Polypus asked 14/2, 2010 at 0:31
1

© 2022 - 2024 — McMap. All rights reserved.