I\'m having a hard time with what I thought would be a dead simple issue.
I\'m trying to create a div that spans 100% of the width of a browser window. The div is f
I had the same problem, this is what I discovered: somewhere in your CSS you have another div that has a width of 100% and ALSO has padding. Since the padding value is added to the width, the value of that div becomes greater than 100%. The solution is to make sure not to use padding on any div that is set to 100% width. If you need padding, try adding the padding to the element inside the div instead.