blob: 19c61a2874a59e673612c1f875af6eac6df2be33 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
<!DOCTYPE HTML>
<title>outline goes around overflow, floats</title>
<style>
html, body { margin: 0; padding: 0; border: none }
html { overflow:hidden /* avoid second reflow for scrollbars */ }
body > div { margin: 100px; outline: 2px solid blue }
body > div > div { float: left; width: 100px; height: 100px }
</style>
<body>
<div><div></div></div>
|