Beginning with:
html, body { padding: 0; width: 100%; font: 100%/1.45em "Lucida Grande", Verdana, Arial, Helvetica, sans-serif; }
Chrome decides that the width should be 1600 pixels, which is larger than my current display, not to mention the current Chrome window. I am sure this is an old chestnut, but I can not find the right tree.
I posted a complete example in git: //github.com/bimargulies/css-mystery.git.
One note: my macbook was connected to a very wide monitor, but now not. It seems to me that 1600px is connected with this, but I don’t know how to get it to go, except to reboot.
In chrome devo tools, looking at effective styles, I see:
width: 1600px; html, body - 100%
This 1600 is very mysterious. And this is after a reboot.
EDIT bingo: buried in main.css stylesheet, from someone else I work with with was 'minWidth: 100em;' on the body. oops.
source share