Linking a header bar/logo to home with a mailto link icon


/ Published in: CSS
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <a href="<?php echo get_option('home'); ?>/"><img src="http://www.site.com/logo.jpg" class="logo" alt="logo" border="none"/></a>
  2. <a href="mailto:[email protected]"><img src="http://www.site.com/mail.jpg" class="mail" alt="email" border="none"/></a>
  3.  
  4. .logo{
  5. display: block;
  6. width: 960px;
  7. height:225px;
  8. }
  9.  
  10. .mail{
  11. display: block;
  12. width: 38px;
  13. height:28px;
  14. margin: -200px 0 0 890px;
  15. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.