зеркало из https://github.com/mozilla/pjs.git
23 строки
463 B
HTML
23 строки
463 B
HTML
|
<!doctype HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html40/loose.dtd">
|
||
|
|
||
|
<html>
|
||
|
|
||
|
<head>
|
||
|
<title>Borders Shown on Empty DIV</title>
|
||
|
</head>
|
||
|
|
||
|
<body>
|
||
|
|
||
|
<p>Div with Content:
|
||
|
|
||
|
<div style="border: 1px solid black; text-align: center;">
|
||
|
<p>Some Content Contained in a DIV with a solid black border of 1 pixel
|
||
|
</div>
|
||
|
|
||
|
<p>Empty Div (with same inline style):
|
||
|
|
||
|
<div style="border: 1px solid black; text-align: center;"></div>
|
||
|
|
||
|
</body>
|
||
|
</html>
|