html width set window size code example Example: css set div width to screen .container{ width:100%; }