I have an image that is 810 pixels wide. My HTML is:
But only Internet Explorer and Firefox display it 810 pixels wide. Chrome and Edge display it 920 pixels wide. Inspection in Chrome says is calculated to be 810 pixels wide. WTF?
Code:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>WTF</title>
</head>
<body>
<ul style="list-style-type:none;">
<li>
<img src="Image.png" alt="" style="margin: 0 auto 0 auto;width:810px;display:block;">
</li>
</ul>
</body>
</html>
But only Internet Explorer and Firefox display it 810 pixels wide. Chrome and Edge display it 920 pixels wide. Inspection in Chrome says is calculated to be 810 pixels wide. WTF?