The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Gallery Thumbs off placement… Re: Gallery Thumbs off placement…


Reconsider the way you’re approaching this problem. You should not depend on JavaScript to create DOM elements and apply correct styles. You need to separate each into its own layer. HTML = Mark up & Content, CSS = Presentation, and JS = Interaction (Altering CSS and Adding HTML is OK, but after correct design has been rendered).

This way you would know exactly how each element in your layout would behave.

The java script is adding inline styles. It looks like the plug-in [is calculating surrounding elements]( and applying styles.