When I have a with width: 100%, it is not really 100%: testtesttesttesttest ... #di
with width: 100%, it is not really 100%: testtesttesttesttest ... #di
width: 100%
testtesttesttesttest ... #di
In my case, the div tag did not take up 100% of its parent tag because the div had a display of "inline." Changing it to "inline-block" fixed that problem.