HTML CSS examples for CSS Widget:Nav bar image
Center text in navbar with image
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> .circle-pic-header {<!--from ww w . j ava 2 s.c om--> vertical-align:middle } </style> </head> <body> <div style="background-color: #4989ff; color: whitesmoke;"> <img width="100px" class="circle-pic-header" style="margin-top: 5px; margin-left: 5px;" src="https://www.java2s.com/style/demo/Opera.png">Lorem ips </div> <div> Lorem ipsum dolor sit amet, consectetur adip </div> </body> </html>