|
Prev: 3 cols with same length without to break others characteristics
Next: How to wrap text in <p> tag if the text has no spaces and is very long
From: dorayme on 7 Apr 2008 01:24 In article <8ZOdnaAOv8CpNmTanZ2dnUVZ_ualnZ2d(a)comcast.com>, Ed Mullen <ed(a)edmullen.net> wrote: > I'm glad you have such a cordial relationship with him. I find his > attitude and demeanor supercilious and repugnant. It worries me, Ed, that if I pipe up occasionally on this theme it will get you all fired up. Please, don't upset yourself. Leave things to me. JK is my responsibility. I am here on earth and my role is to absorb all the suffering and humiliation for everyone else so that they can be free and happy. So go and be happy. Leave me to do my noble job. Now, shall I go back to my work or shall I take another enjoyable romp into the CSS 2.1 Appendix E? I will decide after I post this. Leave it to me. -- dorayme
From: Petr Vileta on 7 Apr 2008 22:20 removeps-groups(a)yahoo.com wrote: > On Apr 4, 10:50 am, Jim Moe <jmm-list.AXSPA...(a)sohnen-moe.com> wrote: >> On 03/29/08 03:45 pm,removeps-gro...(a)yahoo.com wrote:> How to wrap >> text in <p> tag if the text has no spaces and is very > >>> The above line is so long that it ought to wrap. But because it has >>> no spaces, it does not wrap. [...] >> >> Why would it wrap? There are no spaces. Who cares what an editor >> does? Perhaps if you gave some context for such a ridiculously >> long line, we could offer a sensible solution. > > I'm writing a 404 error page in JSP that says we could not find the > URL you entered. It writes out the URL, and unfortunately the URL is > longer than the screenwidth and is clipped off. Well, you use script to generate it so you can use some like this (betwenn <nobr> and </nobr> it is single line) <nobr>http://domain.com/<wbr>some_very_large_<wbr>text_here/<wbr>and_some_other_<wbr>here</nobr> -- Petr Vileta, Czech republic (My server rejects all messages from Yahoo and Hotmail. Send me your mail from another non-spammer site please.) Please reply to <petr AT practisoft DOT cz>
From: Jukka K. Korpela on 11 Apr 2008 10:23
Scripsit Andreas Prilop: > On Wed, 9 Apr 2008, Jukka K. Korpela wrote: > >> (And applying them indiscriminately leads to poor results, >> like breaking after "-" even in a context like >> "the temperature is -8 degrees".) > > If you did not use a minus sign U+2212 here, you deserve it > to be punished. Much more than half of the world uses hyphen-minus in the function of minus sign, so the browser behavior is wrong for this reason, too. Moreover, the breaking problem also applies to things like "The constant EOF is defined as (-1)", where it would be quite inappropriate to use a minus sign, even though the expression refers to a negative number. -- Jukka K. Korpela ("Yucca") http://www.cs.tut.fi/~jkorpela/ |