sdp-anatomy
sdp-anatomy copied to clipboard
width: 100% doesn't play well with margins
https://webrtchacks.com/sdp-anatomy/
There's a horizontal scrollbar because width is mixed with margin in two places:
-
<div id="container" class="contain" style="width:100%; margin:10px;">
-
#description
has margins, but inherits width.
Both of these should be paddings, which gets rid of the annoying horizontal scrollbar.