javascript - Video not centered, JS causing it? -


if @ page: http://www.groenesmoothiehandboek.nl/sp/ see video offcenter.

you see there counter (flipclock.js) above. call counter use code:

<div style="width:100%; background:url(img/bg-countdown.png) center top no-repeat; height:140px; margin:0 auto; z-index:9999;"> 

if delete part, video centers perfectly.

i trying fix little bug on hour without success.

does know how can maybe fix this?

thanks in advance!

if wrap div:

<!-- notice no height attribute here --> <div style="width:100%; background:url(img/bg-countdown.png) center top no-repeat; margin:0 auto; z-index:9999;">   <!-- stuff inside div --> </div> 

inside of div:

<div style="height: 140px;">   <!-- place entire div above here --> </div> 

your problem fixed.

picture: http://i.imgur.com/hbiluoz.png


Comments

Popular posts from this blog

java - Unable to make sub reports with Jasper -

sql - The object name contains more than the maximum number of prefixes. The maximum is 2 -

scala - play framework: Modules were resolved with conflicting cross-version suffixes -