unteren Rand in Tabellenzelle vermeiden
marias
- css
Hier ein Dokument als minimales vollständiges Beispiel:
http://dl.dropbox.com/u/5251219/foo.html
und der Code zum Überfliegen:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>roter rand</title>
<style type="text/css">
body {
background: black;
}
table {
background: red;
border-collapse: collapse;
}
td {
width: 100px;
height: 100px;
padding: 0;
}
img {
background: blue;
width: 100px;
height: 100px;
}
</style>
</head>
<body>
<table summary="test">
<tr>
<td>
<img src="http://upload.wikimedia.org/wikipedia/commons/7/72/Chess_rlt45.svg" alt="rook" />
</td>
</tr>
</table>
</body>
</html>
Weiß jemand, wie sich der rote Rand verhindern lässt?
Vielen Dank im Voraus
marias
PS: Ich sehe gerade, dass der Firefox 3 das svg-Bild nicht darstellt. Chrome zeigt es an wie ich es meine.
Hi,
Weiß jemand, wie sich der rote Rand verhindern lässt?
http://carsten-protsch.de/zwischennetz/doctype/luecken.html
MfG ChrisB
Grandios! Vielen Dank.