Linked Questions

100 votes
2 answers
115k views

Forcing a long line of text (without spaces) to line break according to parent containers static width using CSS [duplicate]

Possible Duplicate: CSS: how can I force a long string (without any blank) to be wrapped in XUL and/or HTML Lets say one has the following code: <div style="width:100px;height:1000px">This-...
anonymous-one's user avatar
0 votes
1 answer
86 views

Wrap text when 10 character fullsize Katakana [duplicate]

I have <p> tag and in menu <p>日本刀日本刀日本刀日本刀</p> but I want wrap text when text over 16 byte
Tấn Toàn's user avatar
0 votes
1 answer
56 views

Issue with word-wrap property in HTML code [duplicate]

Does anyone have idea why "word-wrap" not working in below html code? <html><head><meta http-equiv=\"content-type\" content=\"text/html; charset=UTF-8\" /><meta name=...
kb920's user avatar
  • 3,059
0 votes
1 answer
52 views

text inside double brackets follow borders [duplicate]

text inside {{payment.lastappointment}} if its too long will go beyond the card borders is there any trick to make follow the card borders (text will array in lines when no more width to accommodate ...
omar jasim's user avatar
1 vote
0 answers
39 views

Inline Span Bug(?) [duplicate]

Spending most of my time in a backend, frontend isn't really my forte and my skills in debugging are next to none for it (aside from F12 trial-and-error). I have created a list (for Google Maps ...
treyBake's user avatar
  • 6,499
154 votes
26 answers
135k views

How to prevent long words from breaking my div?

Ever since switching from TABLE-layout to DIV-layout, one common problem remains: PROBLEM: you fill your DIV with dynamic text and inevitably there is a super-long word that extends over the edge of ...
Edward Tanguay's user avatar
75 votes
11 answers
101k views

wordwrap a very long string

How can you display a long string, website address, word or set of symbols with automatic line breaks to keep a div width? I guess a wordwrap of sorts. Usually adding a space works but is there a CSS ...
Peter Craig's user avatar
  • 7,189
6 votes
4 answers
21k views

Can't break a long string/text, it exceeds the width of html div

<div id="id_div_comments"><p>...
cola's user avatar
  • 12.3k
8 votes
3 answers
47k views

React - Material UI Typography how to break long string to multiple lines

I'm using ReactJS and the components library called MaterialUI. I'm having an issue with the Typography component. What happens is that if I write a long text it exceed its container and doesn't go ...
Dave's user avatar
  • 2,042
1 vote
2 answers
388 views

CSS Overflow auto

Hi i doing comment box in my webpage so that i am doing a validation of that comment box by not allowing the user to enter the empty comment, and a comment sholud not be greater than 255 characters it ...
Siva 's user avatar
  • 3,618
0 votes
1 answer
1k views

5 divs in one row, can't align them in one line

I'm quite new on web development. I'm struggling with this question for a while. Now I post my question(s) here. The souce code is as linked: Source Code The HTML: <div id="wrap"> ...
Vigor's user avatar
  • 1,756
2 votes
3 answers
434 views

Break word not working for single long words

In a table where a width size 97% is given, and a long single word like, <td style="word-wrap: break-word;"> aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa </td> is ...
user3607282's user avatar
  • 2,505
0 votes
1 answer
2k views

How can I wrap the text inside the GWT CellTable cell?

I need to wrap the text of the column. My column size is small. So if i set column width some of the letters are not visible. Since the length of the text is bigger than the column size. If there is a ...
Gnik's user avatar
  • 7,292
0 votes
1 answer
610 views

Knitr not wrapping lines in R code chunks

I have problem with my R code blocks in my knitr reports, they don't wrap lines in almost all of my blocks with a R code. It's a typical Rmd file with blocks like this: ```{r} batch_merged <- ...
oski86's user avatar
  • 855
0 votes
1 answer
139 views

Why won't Google Chrome autobreak?

I did something wrong in this document and I can´t figure what. I've not that much content yet. I'm building it for a WB. It's not working in Google Chrome but in Internet Explorer it is. http://...
Xweque's user avatar
  • 605