зеркало из https://github.com/mozilla/gecko-dev.git
20 строки
645 B
HTML
20 строки
645 B
HTML
|
<!DOCTYPE HTML>
|
||
|
<html>
|
||
|
<head>
|
||
|
<title>cellspacing</title>
|
||
|
</head>
|
||
|
<body>
|
||
|
|
||
|
<!-- compare to CSS border-spacing -->
|
||
|
<table border style="padding: 0; border-spacing: 7px"><tr><td>This is some text.</td></tr></table>
|
||
|
<table border style="padding: 0; border-spacing: 10px 7px"><tr><td>This is some text.</td></tr></table>
|
||
|
|
||
|
<!-- drop borders and ensure that we get the right amount of space -->
|
||
|
|
||
|
<div style="border: medium solid; margin: 1em 0; float: left; clear: left;padding: 8px">This is some text.</div>
|
||
|
|
||
|
<div style="border: medium solid; margin: 1em 0; float: left; clear: left; padding: 3px 5px 7px 9px">This is some text.</div>
|
||
|
|
||
|
</body>
|
||
|
</html>
|