make a navigation out of images and add text inside the image - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Nav bar image

Description

make a navigation out of images and add text inside the image

Demo Code

ResultView the demo in separate window

<html lang="en">
 <head> 
  <style>
.button {<!--from   ww  w .  ja v a2  s .  c om-->
   background:url('https://www.java2s.com/style/demo/Google-Chrome.png') no-repeat 0 0;
   color:Chartreuse;
   line-height:62px;
   height:62px;
   display:inline-block;
   width:127px;
   text-align:center;
   white-space:nowrap;
   text-decoration:none;
   text-indent:-.6em;
}
</style> 
 </head> 
 <body translate="no"> 
  <a href="#" class="button">Lorem ips</a>  
 </body>
</html>

Related Tutorials