Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 <style> | |
| 3 #contents { | |
| 4 height: 500px; | |
| 5 background-color: rgb(0,255,0); | |
| 6 } | |
| 7 #container { | |
| 8 overflow-y: scroll; | |
| 9 height: 200px; | |
| 10 width: 50%; | |
| 11 background-color: red; | |
| 12 } | |
| 13 #outercontainer { | |
| 14 position: absolute; | |
| 15 left: 0px; | |
| 16 width: 575.06px; | |
|
flackr
2016/10/13 21:07:43
If we can set fractional widths, then is the outer
Stephen Chennney
2016/10/13 21:27:41
Turns out it is necessary. There is clearly some d
| |
| 17 padding-left: 40px; | |
| 18 padding-right: 0px; | |
| 19 background-color: black; | |
| 20 } | |
| 21 </style> | |
| 22 <div id="outercontainer"> | |
| 23 <div id="container"> | |
| 24 <div id="contents"> | |
| 25 </div> | |
| 26 </div> | |
| 27 </div> | |
| OLD | NEW |