html - Image Alignment with Galleria.js in Opera Browser -


i trust can issue. have problem users visiting site (www.amigaos.net) using popular opera browser; if test in ie great, mac user avoid inferior browsers.

i using galleria v 1.1.95 , have opera beta 11 installed, understand layout problem (from user feedback) happens in previous versions well.

so if visit www.amigaos.net using opera , click games top menu, galleria.js loads gallery , straightaway should notice main gallery image left-aligned in stage incorrect behaviour. both safari , firefox centre image.

i don't know should looking in galleria.classic.css, html or .js - how opera correctly position image in centre of stage? advice please.

thanks in advance.

the problem see (image not appearing @ all) caused galleria.js setting height:0. fails read height of stage (<div class="galleria-stage">) in opera - offsetheight of element returns 0 after giving parent explicit height. (this turns out known bug in opera positioned child top , bottom set still reports offsetheight 0 if parent given explicit height.)

i guess script detect this. i'm not entirely sure why need read height of div since know height of parent - guess it's done way make theming , styling more flexible.

i don't have workaround - perhaps specifying .galleria-stage{min-height:100%} or setting height explicitly js do? follow bug should fixed @ point..


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -