границы не видны в ie7 - PullRequest
1 голос
/ 01 июня 2010

я хочу, чтобы граница на дне td.i была получена с использованием границы: пунктир 1px черный; не нужно так много высоты. Кто-нибудь может мне помочь? Вот мой код

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
<!--
.border {
    border-bottom-width: 1px;
    border-bottom-style: dotted;
    border-bottom-color: #0099FF;
    margin: 0px;
    padding: 0px;
}
body {
    margin-left: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
}
-->
</style>
</head>

<body>
<table width="80%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="10" class="border"  ></td>
    <td height="10" class="border" ></td>
  </tr>
</table>
</body>
</html>

1 Ответ

0 голосов
/ 01 июня 2010
table {
 border-collapse: collapse;
}
Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...