Hello,
I have encoutered an odd problem and have no idea as to what is causing it. But I managed to find two different ways of reproducing the "bug".
Let's start with the basic code:
Code:
<html>
<head>
<style type="text/css">
.graphStats { height: 350px; width: 350px; }
</style>
</head>
<body>
<img class="graphStats" src="http://mescoupsdecoeur.m.e.pic.centerblog.net/whi17iuw.jpg" alt="Titre" />
<img class="graphStats" src="http://mescoupsdecoeur.m.e.pic.centerblog.net/whi17iuw.jpg" alt="Titre" />
<img class="graphStats" src="http://mescoupsdecoeur.m.e.pic.centerblog.net/whi17iuw.jpg" alt="Titre" />
<img class="graphStats" src="http://mescoupsdecoeur.m.e.pic.centerblog.net/whi17iuw.jpg" alt="Titre" />
</body>
</html>
I stripped this page down to its minimum for simplicity. When I hit the print preview button, I get a beautiful display of the images one above the other. Having no place at the bottom of page one, the third image is pushed down to page two. Perfect.
Now lets try the same code, with a slight difference (in red)
Code:
<html>
<head>
<style type="text/css">
.graphStats { display: block; height: 350px; width: 350px; }
</style>
</head>
<body>
<img class="graphStats" src="http://mescoupsdecoeur.m.e.pic.centerblog.net/whi17iuw.jpg" alt="Titre" />
<img class="graphStats" src="http://mescoupsdecoeur.m.e.pic.centerblog.net/whi17iuw.jpg" alt="Titre" />
<img class="graphStats" src="http://mescoupsdecoeur.m.e.pic.centerblog.net/whi17iuw.jpg" alt="Titre" />
<img class="graphStats" src="http://mescoupsdecoeur.m.e.pic.centerblog.net/whi17iuw.jpg" alt="Titre" />
</body>
</html>
I hit the preview button again (Please try it yourself to see the problem). This time, the third image is cut in two and each half is displayed on a seperate page. This is what I can't get my head around. What is causing the image to break?
Here is another version of the code with another slight difference (in red)
Code:
<html>
<head>
<style type="text/css">
.graphStats { float: right; height: 350px; width: 350px; }
</style>
</head>
<body>
<img class="graphStats" src="http://mescoupsdecoeur.m.e.pic.centerblog.net/whi17iuw.jpg" alt="Titre" />
a
<img class="graphStats" src="http://mescoupsdecoeur.m.e.pic.centerblog.net/whi17iuw.jpg" alt="Titre" />
<img class="graphStats" src="http://mescoupsdecoeur.m.e.pic.centerblog.net/whi17iuw.jpg" alt="Titre" />
<img class="graphStats" src="http://mescoupsdecoeur.m.e.pic.centerblog.net/whi17iuw.jpg" alt="Titre" />
</body>
</html>
you see the red "a"? If I take that out, the third image is pushed down to the second page. If I leave it in, the third image is cut in two. If I take the "a" out and put it after the third or fourth image, no problem, but if I put it after the first or second image, image breaks.
Does anyone have a clue what's happening here?
Thanks in advance
Shawn