i need to center the root div through percentage based width not pixel based
#container { width:80%; margin:0px auto; }
it will center
add padding-left and padding-right. also give width=100%