J'ai le code suivant avec doctype transitionnel mais quand je le mets à strict alors la position des images change et se déplace vers le haut. Pourriez-vous s'il vous plaît m'aider à comprendre le problème sous-jacent et où je peux trouver la liste de ce type d'autres conflits CSS entre différents doctypes.Doctype et CSS
S'il vous plaît noter que je sais que peu de balises HTML ne sont pas disponibles en mode strict, mais je suis spécifique sur les conflits CSS.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<body>
<style type="text/css">
span.check:before { content: url("http://i41.tinypic.com/2rxea7d.png"); }
</style>
<table>
<tr>
<th>Ruby on Rails</th>
<td><span class="check"></span></td>
<td><span class="check"></span></td>
<td><span class="check"></span></td>
<td><span class="check"></span></td>
</tr>
<tr>
<th>Road on Rails</th>
<td><span class="check"></span></td>
<td><span class="check"></span></td>
<td><span class="check"></span></td>
<td><span class="check"></span></td>
</tr>
</table>
</body>
</html>
Dans quels navigateurs? – vvondra
Dans FX 9.0.1 et le dernier Chrome, mais pas sûr des autres. –
Lire: http://www.quirksmode.org/css/quirksmode.html – zvona