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

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -