Insécabilité dans texte (HTML)

Insécabilité dans texte (HTML) - HTML/CSS - Programmation

Marsh Posté le 24-11-2004 à 12:23:25    

Bonjour à toutes/tous,
 
j'aurais voulu savoir s'il existait un caractère ou code permettant d'insérer un espace insécable dans le texte d'une page HTML.
 
Pour que, par exemple, ">>> view" ne puisse donner ">>>" en fin de ligne et "view" en début de suivante.
 
Merci.

Reply

Marsh Posté le 24-11-2004 à 12:23:25   

Reply

Marsh Posté le 24-11-2004 à 12:27:01    

 

Reply

Marsh Posté le 24-11-2004 à 12:49:04    

propriété CSS

Code :
  1. whitespace: nowrap


---------------
I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box, and replicate and expand beyond their wildest dreams by throwing away the limits imposed by overbearing genetic r
Reply

Marsh Posté le 24-11-2004 à 13:34:50    

+1 pour le css

Reply

Marsh Posté le 24-11-2004 à 14:10:37    

Merci Masklinn (et bob007).
@gizmo : suis pas sûr que t'es compris l'affaire ;)
 
J'essaye ça de suite, vous tiens au courant.
 
Sinks.

Reply

Marsh Posté le 24-11-2004 à 14:36:43    

Beral2 a écrit :

Merci Masklinn (et bob007).
@gizmo : suis pas sûr que t'es compris l'affaire ;)
 
J'essaye ça de suite, vous tiens au courant.
 
Sinks.


ben si, si tu remplaces tous tes espaces par  , ca coupera pas (  est un espace insécable) [:spamafote]


---------------
I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box, and replicate and expand beyond their wildest dreams by throwing away the limits imposed by overbearing genetic r
Reply

Marsh Posté le 24-11-2004 à 14:44:22    

Recoucou,
 
bon sorry gizmo, c'est moi qui n'avait rien pigé...
 
Pour la CSS, comme je ne suis pas fûtfût, je n'y arrive pas (hum) :
.espaceinsecable{
whitespace: nowrap;
}
Je sélectionne mon espace et lui donne le style espaceinsecable... marche pas.
 
Plize...

Reply

Marsh Posté le 24-11-2004 à 14:47:06    

Beral2 a écrit :

Recoucou,
 
bon sorry gizmo, c'est moi qui n'avait rien pigé...
 
Pour la CSS, comme je ne suis pas fûtfût, je n'y arrive pas (hum) :
.espaceinsecable{
whitespace: nowrap;
}
Je sélectionne mon espace et lui donne le style espaceinsecable... marche pas.
 
Plize...


faut prendre tout le texte dans lequel tu veux que les espaces soient insécables, pas juste l'espace


---------------
I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box, and replicate and expand beyond their wildest dreams by throwing away the limits imposed by overbearing genetic r
Reply

Marsh Posté le 29-11-2004 à 10:30:20    

Bon, ça marche, merci tout le monde, désolé pour le retard de ma réponse.

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed