Thread: edit showfull
View Single Post
Old September 12th, 2006, 12:37 PM   #5 (permalink)
wfcmod
Member
Verified Customer
 
Join Date: Aug 2006
Posts: 44
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
Quote:
echo <<<PPPRINT
<table cellpadding="10" cellspacing="0" border="0" width="100%" style="background-color: silver;">
<tr>
<td valign="middle" align="center">$imgdisp</td>
</tr>
</table>
<!-- 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??
wfcmod is offline   Reply With Quote