Justifier un texte
Rustaveli
Messages postés
11
Statut
Membre
-
p4t4t4rt3 Messages postés 17 Statut Membre -
p4t4t4rt3 Messages postés 17 Statut Membre -
Bonjour,
Je veux faire ce texte en justifié:
<p align="justify">
O thou, my lovely boy, who in thy power
<br>
Dost hold Time's fickle glass, his sickle, hour;
<br>
Who hast by waning grown, and therein show'st
<br>
Thy lovers withering as thy sweet self grow'st;
<br>
If Nature, sovereign mistress over wrack,
<br>
As thou goest onwards, still will pluck thee back,
<br>
She keeps thee to this purpose, that her skill
<br>
May time disgrace and wretched minutes kill.
<br>
Yet fear her, O thou minion of her pleasure!
<br>
She may detain, but not still keep, her treasure:
<br>
Her audit, though delay'd, answer'd must be,
<br>
And her quietus is to render thee.
</p>
mais ça ne marche pas
alors que le meme texte sans "<br>" - ça marche:
<p align="justify">
O thou, my lovely boy, who in thy power
Dost hold Time's fickle glass, his sickle, hour;
Who hast by waning grown, and therein show'st
Thy lovers withering as thy sweet self grow'st;
If Nature, sovereign mistress over wrack,
As thou goest onwards, still will pluck thee back,
She keeps thee to this purpose, that her skill
May time disgrace and wretched minutes kill.
Yet fear her, O thou minion of her pleasure!
She may detain, but not still keep, her treasure:
Her audit, though delay'd, answer'd must be,
And her quietus is to render thee.
My mistress' eyes are nothing like the sun;
Coral is far more red than her lips' red;
If snow be white, why then her breasts are dun;
If hairs be wires, black wires grow on her head.
I have seen roses damask'd, red and white,
But no such roses see I in her cheeks;
And in some perfumes is there more delight
Than in the breath that from my mistress reeks.
I love to hear her speak, yet well I know
That music hath a far more pleasing sound;
I grant I never saw a goddess go;
My mistress, when she walks, treads on the ground:
And yet, by heaven, I think my love as rare
As any she belied with false compare.
</p>
Est-ce que quelqu'un peut m'aider à faire le premier exemple en justifié?
Où est le problème, pourquoi il ne me met pas un texte avec des "<br>" en justifié?
Aidez moi à trouver une solution, je suis entrain d'écrire un livre sur mon site et je veux que tout
soit comme dans les livre, en justifié.
Merci d'avance.
Je veux faire ce texte en justifié:
<p align="justify">
O thou, my lovely boy, who in thy power
<br>
Dost hold Time's fickle glass, his sickle, hour;
<br>
Who hast by waning grown, and therein show'st
<br>
Thy lovers withering as thy sweet self grow'st;
<br>
If Nature, sovereign mistress over wrack,
<br>
As thou goest onwards, still will pluck thee back,
<br>
She keeps thee to this purpose, that her skill
<br>
May time disgrace and wretched minutes kill.
<br>
Yet fear her, O thou minion of her pleasure!
<br>
She may detain, but not still keep, her treasure:
<br>
Her audit, though delay'd, answer'd must be,
<br>
And her quietus is to render thee.
</p>
mais ça ne marche pas
alors que le meme texte sans "<br>" - ça marche:
<p align="justify">
O thou, my lovely boy, who in thy power
Dost hold Time's fickle glass, his sickle, hour;
Who hast by waning grown, and therein show'st
Thy lovers withering as thy sweet self grow'st;
If Nature, sovereign mistress over wrack,
As thou goest onwards, still will pluck thee back,
She keeps thee to this purpose, that her skill
May time disgrace and wretched minutes kill.
Yet fear her, O thou minion of her pleasure!
She may detain, but not still keep, her treasure:
Her audit, though delay'd, answer'd must be,
And her quietus is to render thee.
My mistress' eyes are nothing like the sun;
Coral is far more red than her lips' red;
If snow be white, why then her breasts are dun;
If hairs be wires, black wires grow on her head.
I have seen roses damask'd, red and white,
But no such roses see I in her cheeks;
And in some perfumes is there more delight
Than in the breath that from my mistress reeks.
I love to hear her speak, yet well I know
That music hath a far more pleasing sound;
I grant I never saw a goddess go;
My mistress, when she walks, treads on the ground:
And yet, by heaven, I think my love as rare
As any she belied with false compare.
</p>
Est-ce que quelqu'un peut m'aider à faire le premier exemple en justifié?
Où est le problème, pourquoi il ne me met pas un texte avec des "<br>" en justifié?
Aidez moi à trouver une solution, je suis entrain d'écrire un livre sur mon site et je veux que tout
soit comme dans les livre, en justifié.
Merci d'avance.
A voir également:
- Justifier un texte
- Texte de chanson gratuit pdf - Télécharger - Vie quotidienne
- Comment justifier un texte sur word - Guide
- Mettre du texte en colonnes dans Word - Guide
- Mettre un texte en majuscule - Guide
- Transcription audio en texte word gratuit - Guide
3 réponses
Théoriquement si un texte ne prend pas plus d'une ligne il n'est pas justifié. (imaginons par exemple un ligne de 3 mots qui serait justifié... horreur)
https://forum.alsacreations.com/topic-1-22001-1-CSS-Justifier-une-ligne.html
Je te conseil également d'utiliser un style css pour indiquer au navigateur que ton texte est justifié.
Ainsi que de fermer tes balises <br /> (et pas <br>)
ex : <p style="text-align: justify;">ligne 1<br />ligne 2</p>
https://forum.alsacreations.com/topic-1-22001-1-CSS-Justifier-une-ligne.html
Je te conseil également d'utiliser un style css pour indiquer au navigateur que ton texte est justifié.
Ainsi que de fermer tes balises <br /> (et pas <br>)
ex : <p style="text-align: justify;">ligne 1<br />ligne 2</p>
non le seul moyen de justifier un texte est bien celui que t'as indiqué jules007 : utiliser la propriété text-align
ligne 1
ligne 2
ou
je suis allé à Paris
je suis allé à Lyon
ça marche, mais quand une ligne est plus longue que l'autre ligne, dans ce cas ça ne marche pas.
donc, il n'y a pas d'autre moyen de faire?