Bonjour,
Je ne sais pas pourquoi ça ne fonctionne pas. J'ai mit le <!doctype html> et <meta http-equiv="X-UA-Compatible" content="IE=9" />. Quel est mon erreur?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40 <!doctype html> <html> <head> <meta http-equiv="X-UA-Compatible" content="IE=9" /> <link rel="stylesheet" type="text/css" href="word-break.css"> <title>Les sauts de ligne</title> <style type="text/css"> .normal { word-break:normal; } .break-all { word-break:break-all; } .hyphenate { word-break:hyphenate; } </style> </head> <body> <table border="1" width="594"> <tr> <td> <span class="normal">Un atome 1 est la plus petite partie d'un corps simple pouvant se combiner transfo-chimique avec une autre.</span> </td> </tr><tr> <td> <span class="break-all">Un atome 1 est la plus petite partie d'un corps simple pouvant se combiner transfo-chimique avec une autre.</span> </td> </tr><tr> <td> <span class="hyphenate">Un atome 1 est la plus petite partie d'un corps simple pouvant se combiner transfo-chimique avec une autre.</span> </td> </tr> </body> </html>
Partager