html - CSS div not moving to the middle -


i making own website, reason can't move black box middle of screen please guys me out. have make on jsfiddle because don't have enough rp show screenshots on here.

please see link view code:

http://jsfiddle.net/xiijamiie/lfwbn/4/

#white_box { position:absolute; margin:auto 0; min-width:80%; max-width:100%; height:85%; top:0%; background:black; z-index:1; width:80%; } 

thanks in advance!

if width 80% offset left half of restant width:

left:10%; 

check demo http://jsfiddle.net/lfwbn/7/


Comments

Popular posts from this blog

c# - OpenXML hanging while writing elements -

php - regexp cyrillic filename not matches -

java - IntelliJ - No such instance method -