0
Sonic

Post widths

Recommended Posts

Isn't there somewhere under/in the preferences you set for page width in 'my dz'? I thought I remembered seeing something like that there.

J


--------------------------------------
Sometimes we're just being Humans.....But we're always Human Beings.

Share this post


Link to post
Share on other sites
What Erno is saying is this is a limitation of the language HTML itself. There is no command or function that can be used to tell HTML, "break long words."

What can be done is to break the words programmatically. However, that involves deciding how far to take the project. At its simplest it's a big deal to write into all sorts of functions the intelligence to look up some ideal character count from everyone's records, then count and adjust every word's characters before shoving them to the screen.

Even at its very, very best however, it's still going to make some stupid choices and break words in silly places. That's because the program can know how many characters a word has, but not how many pixels the word will span on your screen. That's because you and your browser control the size and typeface. Also, letters are not predictable widths: "i" is not the same width as "m" in most typefaces.

In other words, this is one of those systemic problems with HTML and the way the web works. Sorry.


First Class Citizen Twice Over

Share this post


Link to post
Share on other sites
There should be a way of limiting the width of the box that all the text goes in though. If it exceeds the width of the others, break the text at that point
-----------------------------------
It's like something out of that twilighty show about that zone

Share this post


Link to post
Share on other sites
Quote

There should be a way of limiting the width of the box that all the text goes in though. If it exceeds the width of the others, break the text at that point



That would be nice, but I tried to explain why it's not possible. If you have any questions, I'll try to explain further why the nature of the world wide web doesn't provide what's necessary before you can do this.

Perhaps if the entire site were converted to java...


First Class Citizen Twice Over

Share this post


Link to post
Share on other sites

>Perhaps if the entire site were converted to java...

:o

Using CSS instead of tables for the layout would have quite a few advantages. The attached file demonstrates this. I don't know if newer Explorers render it correctly, IE5.0 doesn't. The overlong word should "bleed" outside the containing boxes without disturbing anything else in the layout.

testi.html

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

0