What's new
HTML Forums | An HTML and CSS Coding Community

Welcome to HTMLForums; home of web development discussion! Please sign in or register your free account to get involved. Once registered you will be able to connect with other members, send and receive private messages, reply to topics and create your very own. Our registration process is hassle-free and takes no time at all!

Local image only appears after zooming or switching tab

AndrewInCyprus

New member
Hi all,

My photo club program generates an HTML file containing the sequence of images. This has worked for years but I've had a user report - and I've confirmed it - that on Windows 11 running Chrome or Edge, the image doesn't appear unless you zoom in/out or switch to another tab and back again. The code is pretty simple (below) - I'm a bit stumped; any suggestions?
-Andrew

<!DOCTYPE html>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" >
<style type="text/css">
<!--
body {
background-color: #000000;
}
body,td,th {
color: #FFFFFF;
}
a:link {
color: #FFFF00;
}
a:visited {
color: #00FF00;
}
-->
</style></head>
<body>
<p align="center"><img src="../Images/1983697.jpg" width="1024" height="576"></p>
</body>
</html>
 
I've cut out the CSS and now the code looks like this; it shows the same problem.

<!DOCTYPE html>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" >
<style type="text/css">
</style></head>
<body>
<p align="center"><img src="../Images/1983697.jpg" width="1024" height="576"></p>
</body>
</html>
 
Back
Top