make div element as wide as the screen code example Example: css set div width to screen .container{ width:100%; }