css adjust div height width content to screen size code example Example: css set div width to screen .container{ width:100%; }