OVH Cloud OVH Cloud

tiret insecable

5 réponses
Avatar
Ampac
Bonjour

Y-a-t-il un moyen d'obtenir le tiret insecable sur IE ?

Merci

--
Ampac

5 réponses

Avatar
Ampac
In news:3f4b3a2e$0$1143$,
Ampac raconte :

Y-a-t-il un moyen d'obtenir le tiret insecable sur IE ?



Si quelqu'un sait faire un vrai tiret insécable sous IE je suis preneur car
j'ai beau chercher et rechercher et je ne trouve pas de réponse.

--
Ampac
Avatar
Jerotito
Ampac se répondait :

Y-a-t-il un moyen d'obtenir le tiret insecable sur IE ?



Si quelqu'un sait faire un vrai tiret insécable sous IE je suis preneur car
j'ai beau chercher et rechercher et je ne trouve pas de réponse.



Serait-ce cela ?

- tiret simple, insécable
­ tiret conditionnel

d'après la spécification :
http://www.la-grange.net/w3c/html4.01/struct/text.html#h-9.3.3

--
Vivement un plug-in grille-pain et cafetière pour Mozilla...
Avatar
Vincent Lefevre
Dans l'article <260820031947499236%,
Andreas Prilop écrit:

Anyway, see http://www.cs.tut.fi/~jkorpela/dashes.html for a complete
discussion of all kinds of dashes and hyphens.



Mais HTML 4 n'a que deux sortes d'hyphens.

9.3.3 Hyphenation

In HTML, there are two types of hyphens: the plain hyphen and the soft
hyphen. The plain hyphen should be interpreted by a user agent as just
another character. The soft hyphen tells the user agent where a line
break can occur.

[...]

In HTML, the plain hyphen is represented by the "-" character (&#45;
or &#x2D;). The soft hyphen is represented by the character entity
reference &shy; (&#173; or &#xAD;)

Enfin, j'ai demandé une clarification:

http://hades.mn.aptest.com/cgi-bin/voyager-issues/HTML-4.01?user=guest;selectidf52

--
Vincent Lefèvre - Web: <http://www.vinc17.org/> - 100%
validated (X)HTML - Acorn Risc PC, Yellow Pig 17, Championnat International
des Jeux Mathématiques et Logiques, TETRHEX, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA
Avatar
Andreas Prilop
Vincent Lefevre <vincent+ wrote:

Anyway, see http://www.cs.tut.fi/~jkorpela/dashes.html for a complete
discussion of all kinds of dashes and hyphens.



Mais HTML 4 n'a que deux sortes d'hyphens.


^^^^^^
Yes, two _sorts_: line breaking after hyphen allowed or not allowed.

With http://www.w3.org/TR/html4/charset.html#h-5.3.1 we can include
the following individual hyphens in our documents:
&#45; hyphen-minus
&#173; soft hyphen
&#8208; hyphen
&#8209; non-breaking hyphen
Avatar
Vincent Lefevre
Dans l'article <260820032210314141%,
Andreas Prilop écrit:

Vincent Lefevre <vincent+ wrote:

>> Anyway, see http://www.cs.tut.fi/~jkorpela/dashes.html for a complete
>> discussion of all kinds of dashes and hyphens.
>
> Mais HTML 4 n'a que deux sortes d'hyphens.
^^^^^^
Yes, two _sorts_: line breaking after hyphen allowed or not allowed.



Mais surtout, il est dit plus loin:

In HTML, the plain hyphen is represented by the "-" character (&#45;
or &#x2D;). The soft hyphen is represented by the character entity
reference &shy; (&#173; or &#xAD;)

Cela donne l'impression qu'il y a une correspondance exacte
(bi-univoque) entre
_ plain hyphen et &#45;
_ soft hyphen et &#173;

With http://www.w3.org/TR/html4/charset.html#h-5.3.1 we can include
the following individual hyphens in our documents:
&#45; hyphen-minus
&#173; soft hyphen
&#8208; hyphen
&#8209; non-breaking hyphen



Il n'est pas dit que tous les caractères d'Unicode sont autorisés.

--
Vincent Lefèvre - Web: <http://www.vinc17.org/> - 100%
validated (X)HTML - Acorn Risc PC, Yellow Pig 17, Championnat International
des Jeux Mathématiques et Logiques, TETRHEX, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA