Topic: Alignment issues


I've just upgraded to pro and trying to put a gallery within a page using an iFrame Tag.

Now the gallery does go into the page however it does not sit flush within the window... there is a 2px gap left and top of the frame.

I never had this problem with the free one... any ideas??


Re: Alignment issues

Try defining your iframe's dimensions using the 'width' and 'height' attributes but leave your gallery's dimensions (within the embedding code) to 100% x 100% so that it completely fills the iframe no matter what its size.

<iframe src="gallery/index.html" width="800" height="600" frameborder="0" scrolling="no"></iframe>
simpleviewer.load("sv-container", "100%", "100%", "222222", true);
Steven Speirs
SimpleViewer Support Team.