Matt Langford

Hello. I'm Matt Langford: husband, dad, pastor, blogger, hobbyist. Read more about me, check the archives, view my photos, or start a search.


@bix That’s the only way to figure out the proper image width across various screen sizes. You know you want it to be 40px wider (margin-left + margin-right) than parent element, but you don’t know how wide the parent element will end up being. So 100% + 40px is the only way to get it right every time.