PDA

View Full Version : im2smoov



im2smoov
September 26th, 2002, 12:30 AM
when an image is not centered in a pop up what cause that, how to make it center:)

lostinbeta
September 26th, 2002, 12:40 AM
You have to make an html page with a table that has a width and height of 100% and align the image in the center of the table cell.

Like this...



<table width="100%" height="100%">
<tr><td align="center" valign="middle" width="100%" height="100%">

IMAGE HERE

</td></tr>
</table>

Ryall
September 26th, 2002, 02:26 AM
also if you have a popup that is supposed to be the same size as the image, it may appear to be off center because you havent taken the margins out... ie make sure your popups margins are 0 (top, left, right, etc.).

Peace

no-tec
September 26th, 2002, 09:49 AM
if its a popup and an image. i think it should be resized to fit the image. than put the window in the middle of the screen,
right? right-o!