HTML CSS examples for CSS Widget:Header
Two div element next to each other in page header
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> </head> <!-- www .j a v a 2 s .c om--> <body> <style type="text/css"> #header{border:3px solid gray;padding:10px;} #header-left-container{border:1px solid gray;float:left;width:30%;} #header-right-container{border:1px solid gray;margin-left:30%;width:69%;} </style> <div id="header"> <div id="header-left-container"> pooo </div> <div id="header-right-container"> bla bla bla..... </div> </div> </body> </html>