Witam, mam taki prosty kod HTML i CSS:
<!DOCTYPE html>
<html lang="pl-PL">
<head>
<meta charset="utf-8"/>
<style>
table, th, td {
border: 1px black solid;
}
th, td {
min-width: 100px;
height: 100px;
text-align: center;
line-height: 100px;
}
</style>
</head>
<body>
<div style="margin: 50px;"></div>
<table>
<tr>
<td>One</td>
<td>Two</td>
</tr>
<tr>
<td>Three</td>
<td>Four</td>
</tr>
</table>
</body>
</html>
Chodzi mi o ten fragment:
th, td {
min-width: 100px;
height: 100px;
text-align: center;
line-height: 100px;
}
Właściwość height działa popranie, ale kiedy zapisze min-height to już nic się nie zmienia. Nie wiem z czego to wynika...
Może problem prozaiczny, ale jak się mówi... diabeł tkwi w szczegółach :)
Dziękuje za pomoc.