HTML CSS examples for CSS Layout:Text
Include text in two different positions
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> .header {<!-- w w w.j a v a2s . c o m--> height: auto; line-height: 50px; width: 100%; margin: 0 auto; padding: 0; top: 0; font-size: 12px; text-align: center; } .header .title { font-size: 18px; } .header a{ float: left; z-index: 1; } </style> </head> <body> <div class="header"> <a href="#"> <i class="fa fa-angle-left icon-white arrow"></i> Left Side Text </a> <p class="header title">Title Text</p> </div> </body> </html>