par
controverse » 16 oct. 2012, 23:01
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?
<!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>
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?
[css]<!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>[/css]