HTML CSS examples for CSS Widget:Header
Make a header full screen width
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> #header{width:100%; background: blue;} #headerContent{margin: 0 auto; width: 200px;} </style> </head> <!--from w w w .ja va 2s . c o m--> <body> <div id="header"> <div id="headerContent"> Header text </div> </div> </body> </html>