December 9, 201213 yr I am using box sizing on an image in my css but not seem to work with IE8, could anyone advise? This is my img css .blog-container img { max-width: 100%; background-color: #FCF6F0; padding: 10px; border: 1px solid #F8EDE2; -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */ -moz-box-sizing: border-box; /* Firefox, other Gecko */ box-sizing: border-box; }
December 9, 201213 yr Author This one <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
December 9, 201213 yr I think it's a bug with max-width and box-sizing that effects IE8 and Firefox. See link & link.
Create an account or sign in to comment