# Web gallery XML question

**URL:** <https://forum.kirupa.com/t/web-gallery-xml-question/197794>\
**Category:** Uncategorized\
**Created:** [August 19, 2006, 4:16am UTC](https://forum.kirupa.com/t/web-gallery-xml-question/197794 "2006-08-19T04:16:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![heavysound](https://avatars.discourse-cdn.com/v4/letter/h/e95f7d/32.png) [@heavysound](https://forum.kirupa.com/u/heavysound)\
**Post date:** [August 19, 2006, 4:16am UTC](https://forum.kirupa.com/t/web-gallery-xml-question/197794/1 "2006-08-19T04:16:44Z")

</div>

Sorry guys I’m a little new so bear with me if possible. To my credit I did do an extensive search first.

OKAY I really like the ease and outcome of Photoshops “flash web gallery” feature except…

How can I make the gallery stay centered on the page regardless of window resizing etc…??

I opened the XML file and it seems the pertinent code is near the top and looks like this:

```
&lt;!-- value (in pixels) for distance between gallery and left edge--&gt;
&lt;var symboltype="number" name="pinX" value="150" /&gt;

```

Changing the “150” to “auto” is the closest i’ve come so far but I know that’s wrong both programatically and visually. Can anyone please help?

Please?
