# im2smoov

**URL:** <https://forum.kirupa.com/t/im2smoov/5931>\
**Category:** design\
**Created:** [September 26, 2002, 4:30am UTC](https://forum.kirupa.com/t/im2smoov/5931 "2002-09-26T04:30:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![im2smoov](https://avatars.discourse-cdn.com/v4/letter/i/958977/32.png) [@im2smoov](https://forum.kirupa.com/u/im2smoov)\
**Post date:** [September 26, 2002, 4:30am UTC](https://forum.kirupa.com/t/im2smoov/5931/1 "2002-09-26T04:30:45Z")

</div>

when an image is not centered in a pop up what cause that, how to make it center:)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 26, 2002, 4:40am UTC](https://forum.kirupa.com/t/im2smoov/5931/2 "2002-09-26T04:40:55Z")

</div>

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…

```php

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

IMAGE HERE

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

```

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 26, 2002, 6:26am UTC](https://forum.kirupa.com/t/im2smoov/5931/3 "2002-09-26T06:26:30Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 26, 2002, 1:49pm UTC](https://forum.kirupa.com/t/im2smoov/5931/4 "2002-09-26T13:49:02Z")

</div>

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!
