Axel Richter: vertical-align:top; in einem css-style script???

Beitrag lesen

hi,

also ich hab eine formate.css, die sieht so aus:

td.normal { color:white; font-family:'Verdana'; font-size:10pt; text-decoration:none; vertical-align:top;}

wenn ich jetzt diese class benutzte erscheint die schift aber nicht ganz oben sondern so wie normal eingestellt in der mitte.

So geht's jedenfalls bei mir:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
        "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title></title>
<style type="text/css">
<!--
td.normal {color:black; font-family:VERDANA,ARIAL,HELVETICA; font-size:10pt; text-decoration:none; vertical-align:top;}
-->
</style>
</head>
<body>
<table border="1">
<tr>
 <td>
    Test 1a<br>
    Test 1a<br>
    Test 1a
 </td>
 <td class="normal">Test 1b</td>
</tr>
</table>
</body>
</html>

Was geht bei Dir nicht?

Gruß

Axel