Everyday I try to keep on learning
Ok I changed it like you suggested. The scrollbar en resizable I put to yes (sorry that was old code that stayed there during my trial en error).
The strange thing is that the image is still aligned to the top
That shouldn't be possible is it?
To free the image from the top I added a value of 10 in the cellpadding
echo <<<PPPRINT |
<table cellpadding="10" cellspacing="0" border="0" width="100%" style="background-color: silver;">
<td valign="middle" align="center">$imgdisp</td>
<!-- END TEMPLATE: showfull.tmpl -->
Now the windows opens in a nice silver background. On top and on the left there is a border of 10 pixels in silver...alomst there!...but now the window is not big enough....on the right and on the bottom this 10 pixels are missing...Can I add in the java widht+10 and height+10...or is that stupid??