Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Re: "Soft" hyphens

Thread Tools

Re: "Soft" hyphens

Posts: n/a

<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Is there a way to have "soft" hyphens or "soft" spaces in lines of text,

lines which may
> have to break, depending on the width available? (By "soft" I mean a

space or hyphen
> which disappears when not needed.)

You can't do this. You simply shouldn't put hyphenation in the HTML
anyway. Let the browser handle it. Sadly most can't. And most are too stupid
to split and wrap segments like
informative/encouraging/discouraging/travelling/whatever when it nears the
end of a line. The best you can do is just put a single space after each /
and that will allow it to wrap sensibly on current browsers.

> I suppose what I'm after is better control of the display.

The sad thing about web building is that you can only make "suggestions" as
to how it should look. Anything more just makes a site that is awkward and
unintuitive. If you want full control... there's always Adobe Acrobat and
the like.

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Converting Spaces to Hyphens in a URL Using Code-Behind cmd_17 ASP .Net 0 10-15-2007 08:27 PM
how to transform a list form of hyphens to an html unordered list ibiza ASP .Net 5 02-09-2006 04:10 PM
New coding standards: use underscores, hyphens or mixed case in command (and identifier) names James Harris C Programming 46 07-23-2004 03:25 PM
Re: "Soft" hyphens Augustus HTML 4 06-25-2003 10:58 PM
Re: "Soft" hyphens Jukka K. Korpela HTML 0 06-24-2003 08:05 AM