html - background div color and the color of content div, making them different -


you confused way put,, let me display this. when enter http://www.golfledger.com/ or http://snapzu.com/ background color grey section has contents white. how make html way? setting background grey , contents div white?

here's fiddle

css

body{ background-color:#ccc;  }  #main{  width:70%;  height:600px;  top:20px;  margin-left:15%;  background-color:#fff;  } 

html

<body> <div id="main"></div> </body> 

Comments

Popular posts from this blog

how to insert data php javascript mysql with multiple array session 2 -

multithreading - Exception in Application constructor -

windows - CertCreateCertificateContext returns CRYPT_E_ASN1_BADTAG / 8009310b -