Help - Search - Members - Calendar
Full Version: Simliar style to word-wrap?
HTMLHelp Forums > Web Authoring > Cascading Style Sheets
nmduc073
Hi,
In HTML code, they support word-wrap, such as:
<span style="word-wrap:break-word">

However, in CSS they don't have it. And I see this style works only to IE while it has no effect in FF.

Is there any style simliar to word-wrap?

Thank in advance,
Duc
Frederiek
You might be looking for the white-space property.

Also interesting to read on typography:
Clagnut > Sandbox > softhyphen.
Webtypography.net: Etiquette of Hypenation & Pagination.
Christian J
QUOTE(nmduc073 @ Jun 26 2007, 06:28 AM) *

Hi,
In HTML code, they support word-wrap, such as:
<span style="word-wrap:break-word">

However, in CSS they don't have it.

Actually the above is a (proprietary MSIE) CSS property, but in an HTML STYLE attribute. In other words, you could use it in an embedded or external style sheet as well.


This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.