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 - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved -

Round ImageView Android -

How can I utilize Yahoo Weather API in android -