word wrapping normally treats some spaces as line feeds, if there
hasn't been a line feed for quite a while. so while a string with
eighty consecutive a's might not word wrap, a space placed squarely in
the middle of that string will sorta word wrap. so why doesn't it
seem to work with !'s? here's a page that demonstrates how !'s don't
seem to word wrap: http://www.geocities.com/terra1024/wordwrap.htm
here's a page that shows how a's word wrap: http://www.geocities.com/terra1024/wordwrap2.htm
any help would be appreciated - thanks :) 11 5574
"yawnmoth" <te*******@yahoo.com> wrote in message
news:a0**************************@posting.google.c om... word wrapping normally treats some spaces as line feeds, if there hasn't been a line feed for quite a while. so while a string with eighty consecutive a's might not word wrap, a space placed squarely in the middle of that string will sorta word wrap. so why doesn't it seem to work with !'s? here's a page that demonstrates how !'s don't seem to word wrap:
http://www.geocities.com/terra1024/wordwrap.htm
here's a page that shows how a's word wrap:
http://www.geocities.com/terra1024/wordwrap2.htm
any help would be appreciated - thanks :)
Once I fought my way past GeoCities' attempt to run applications in my
browser and advertise to me, found that IE6 has a problem with your
exclamation points. Wrapping is correct in all other browsers I tried. So
it's an IE bug.
On Mon, 19 Apr 2004 17:40:23 -0400, Harlan Messinger
<h.*********@comcast.net> wrote: "yawnmoth" <te*******@yahoo.com> wrote in message news:a0**************************@posting.google.c om... word wrapping normally treats some spaces as line feeds, if there hasn't been a line feed for quite a while. so while a string with eighty consecutive a's might not word wrap, a space placed squarely in the middle of that string will sorta word wrap. so why doesn't it seem to work with !'s? here's a page that demonstrates how !'s don't seem to word wrap:
http://www.geocities.com/terra1024/wordwrap.htm
here's a page that shows how a's word wrap:
http://www.geocities.com/terra1024/wordwrap2.htm
any help would be appreciated - thanks :)
Once I fought my way past GeoCities' attempt to run applications in my browser and advertise to me, found that IE6 has a problem with your exclamation points. Wrapping is correct in all other browsers I tried. So it's an IE bug.
Wrapping is also incorrect in Opera 7.23.
On Mon, 19 Apr 2004 21:59:55 -0400, Neal <ne*****@spamrcn.com> wrote: On Mon, 19 Apr 2004 17:40:23 -0400, Harlan Messinger <h.*********@comcast.net> wrote:
"yawnmoth" <te*******@yahoo.com> wrote in message news:a0**************************@posting.google.c om... word wrapping normally treats some spaces as line feeds, if there hasn't been a line feed for quite a while. so while a string with eighty consecutive a's might not word wrap, a space placed squarely in the middle of that string will sorta word wrap. so why doesn't it seem to work with !'s? here's a page that demonstrates how !'s don't seem to word wrap:
http://www.geocities.com/terra1024/wordwrap.htm
here's a page that shows how a's word wrap:
http://www.geocities.com/terra1024/wordwrap2.htm
any help would be appreciated - thanks :)
Once I fought my way past GeoCities' attempt to run applications in my browser and advertise to me, found that IE6 has a problem with your exclamation points. Wrapping is correct in all other browsers I tried. So it's an IE bug.
Wrapping is also incorrect in Opera 7.23.
i have the same problem in that same version of Opera (haven't
downloaded a newer version, yet). as such, i'm somewhat trepidatious
to place the blame soley on IE.
irregardless of the source of the problem, what can be done to fix it?
adding a <br> between every 80 or so !'s would fix it, but that would
also force word wrapping on browsers that don't need it (ie. ones
running at high resolutions).
apparently replacing even one of the !'s with an 'a' brings about word
wrapping, but adding two spaces instead of one seems to do nothing.
however, that said, the former isn't a very attractive solution. any
other ideas as to a solution to this problem?
On Tue, 20 Apr 2004 03:39:44 GMT, yawnmoth <te*******@yahoo.com> wrote: apparently replacing even one of the !'s with an 'a' brings about word wrapping, but adding two spaces instead of one seems to do nothing. however, that said, the former isn't a very attractive solution. any other ideas as to a solution to this problem?
Try replacing one with ! and see what happens. te*******@yahoo.com (yawnmoth) wrote: word wrapping normally treats some spaces as line feeds, if there hasn't been a line feed for quite a while. so while a string with eighty consecutive a's might not word wrap, a space placed squarely in the middle of that string will sorta word wrap. so why doesn't it seem to work with !'s? here's a page that demonstrates how !'s don't seem to word wrap:
http://www.geocities.com/terra1024/wordwrap.htm
Several browsers (IE and Opera included, but not Mozila) these days
base their line breaking on the Unicode specification. Whether this is
a smart thing to do is debatable. http://www.unicode.org/reports/tr14/
! belongs to the EX class of characters (Exclamation/Interrogation)
which "prohibit line break before".
Spaces "generally provide a line break opportunity after the
character, enable indirect breaks"
The "prohibit line break before" trumps the "generally provide a line
break opportunity after" so no line breaks are allowed.
Steve
--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor
Steve Pugh <st***@pugh.net> <http://steve.pugh.net/>
Steve Pugh <st***@pugh.net> wrote: Several browsers (IE and Opera included, but not Mozila) these days base their line breaking on the Unicode specification.
Well, in part. They usually implement the foolish parts and add some
additional wrong line breaks.
Whether this is a smart thing to do is debatable.
Yes, it is debatable to the extent that some people are willing to find
excuses for the absurd rules.
For details see also http://www.cs.tut.fi/~jkorpela/html/nobr.html
If you wish to _prevent_ a line break in an expression like !foo, then
the only reasonably safe way is to write <nobr>!foo</nobr>. (The only
real risk is that in distant future, browsers might drop support to this
element.)
--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html
How can i correct this Bug (WRAP) in <TABLE> TAG ??
asdfsafsdfasdfasdfsafsdfasdfasdfsafsdfasdfasdfsafs dfasdfasdfsafsdfasdfasdfsafsdfasdfasdfsafsdfasdfas dfsafsdfasdfasdfsafsdfasdfasdfsafsdfasdfasdfsafsdf asdfasdfsafsdfasdfasdfsafsdfasdfasdfsafsdfasdfasdf safsdfasdfasdfsafsdfasdfasdfsafsdfasdfasdfsafsdfas dfasdfsafsdfasdfasdfsafsd
/Jukka K. Korpela/: Steve Pugh <st***@pugh.net> wrote:
Several browsers (IE and Opera included, but not Mozila) these days base their line breaking on the Unicode specification.
Well, in part. They usually implement the foolish parts and add some additional wrong line breaks.
Whether this is a smart thing to do is debatable.
Yes, it is debatable to the extent that some people are willing to find excuses for the absurd rules.
Well, I've been thinking there's real need of a more precise
line/word break hinting capabilities which could be either specified
through a style properties or with Unicode control characters. And
here goes my question: Does Unicode provide means to specify such
line/word break intention:
<div class="line-or-lines">
<span class="break-here-first">couple of words</span>
<span class="break-here-first">more words</span>
<span class="break-here-first">yet another sentence</span>
</div>
so as normal line breaks would occur between words but to break on a
whole SPAN sentence first, if it doesn't fit on the current line?
--
Stanimir
Stanimir Stamenkov <s7****@netscape.net> wrote: Does Unicode provide means to specify such line/word break intention:
<div class="line-or-lines"> <span class="break-here-first">couple of words</span> <span class="break-here-first">more words</span> <span class="break-here-first">yet another sentence</span> </div>
so as normal line breaks would occur between words but to break on a whole SPAN sentence first, if it doesn't fit on the current line?
Unicode knows nothing about HTML tags. And it does not let you specify
any levels in line break preferences. You can just prohibit, permit, or
require a line break
--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html
Goodwater wrote: How can i correct this Bug (WRAP) in <TABLE> TAG ??
There isn't really a "bug" in the TABLE tag... rather, there's a
"misfeature" in line wrapping in certain browsers (whether in or out of
a TABLE element), encouraged by some (possibly misguided) parts of the
Unicode standard.
--
== Dan ==
Dan's Mail Format Site: http://mailformat.dan.info/
Dan's Web Tips: http://webtips.dan.info/
Dan's Domain Site: http://domains.dan.info/
/Jukka K. Korpela/: Stanimir Stamenkov <s7****@netscape.net> wrote:
<div class="line-or-lines"> <span class="break-here-first">couple of words</span> <span class="break-here-first">more words</span> <span class="break-here-first">yet another sentence</span> </div>
so as normal line breaks would occur between words but to break on a whole SPAN sentence first, if it doesn't fit on the current line?
Unicode knows nothing about HTML tags. And it does not let you specify any levels in line break preferences. You can just prohibit, permit, or require a line break
O.k. I didn't meant for Unicode to understand HTML tags but if it
had some tagging characters to specify such levels in the line
breaking - thank you, for your answer.
--
Stanimir This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: nimdez |
last post by:
Hi,
I am working on an existing code base in which a lot of data displayed
to the user is formatted in tables. Most tables are printed row-by-row
using printf() with "%s" print conversion...
|
by: name |
last post by:
Here is a first attempt at a line/word wrapping utility. Seems to work
okay, but lacks some checking stuff, etc.
---------------------------------------------------------
#include <stdio.h>...
|
by: Douglas G |
last post by:
I've tried various ideas on this problem, but I don't see word wrapping.
Can you point out what is wrong? It's a K&R exercise, and I'm still new to
programming. Other pointers would be helpful...
|
by: Jeff B. |
last post by:
Has anyone come across a decent algorithm for implementing word wrap
features in .net printing? I have a small component that uses basic
printing techniques (i.e. e.Graphics.DrawString in a...
|
by: Brian Conway |
last post by:
Anyone know how to turn off word wrapping on the datagrid. I have gone into
Property Builder and shut it off there, however, it is still wrapping. Any
help would be appreciated.
|
by: Lorenzo Thurman |
last post by:
I have a table cell that I want to wrap text inside of. I've tried both
hard and soft wrap, but Firefox refuses to obey. IE 6&7 handle the wrap
just fine. Does anyone know how I can fix this?
|
by: MikeY |
last post by:
Hi Everyone,
How do I stop my word wrapping with in my .Net Evironment.. While coding
away, I pressed "something" and I lost my horizontal scroll bar, and now all
my code has been word wrapped...
|
by: =?Utf-8?B?c3VydHVyeg==?= |
last post by:
Hi,
I'm using VB2005 + Office XP Enterprise.
If you create a Word.Application object, you risk a memory leak if your
application crashes because Word.Application is an unmanaged COM Interop...
|
by: AnilM823 |
last post by:
Hi all,
I'm working on designing a forum. I'm using PHP, with a mysql database, displaying the user-input results in a formatted table. Pretty standard. My questions concerns word wrapping. ...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: ryjfgjl |
last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
| |