Style Sheets
  Home arrow Style Sheets arrow Using Fahrner`s Improved Image Replacement...
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
STYLE SHEETS

Using Fahrner`s Improved Image Replacement Method with Hyperlinks
By: Alejandro Gervasio
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 1
    2009-12-09

    Table of Contents:
  • Using Fahrner`s Improved Image Replacement Method with Hyperlinks
  • Review: Fahrner's image replacement with H2 elements
  • Improving the visual presentation of some web page links
  • Completing the example with a web page

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Using Fahrner`s Improved Image Replacement Method with Hyperlinks


    (Page 1 of 4 )

    In this ninth part of the series, I show how to implement the improved version of Fahrner’s image replacement method for polishing the visual presentation of some <a> elements. The whole styling process is very straightforward, so you should easily be able to apply it when creating your own web pages.

    As its name suggests, image replacement is a group of methodologies that exploits the functionality of CSS (and sometimes JavaScript and Flash) to decorate a selected text-based web page element with an eye-catching background image, without modifying its inner section of text.

    As in many other areas of professional web design, where a specific problem can be solved by using distinct approaches, in the last few years different image replacement methods have been developed by talented people. In consequence, nowadays it’s possible to achieve identical decorative effects with certain selectors of a web document by implementing a variety of image replacement techniques.

    I left off the last installment of the series discussing how to apply an enhanced version of the method originally created by Todd Fahrner to style all of the H2 elements contained in a sample web page. This method in particular used a couple of empty <span> tags to hide the elements’ text, while keeping the assigned background images visible.

    However, it’s valid to stress here that the method’s major strength rests on its ability to keep the targeted web page elements accessible to users, even when the background graphics aren’t properly downloaded by the browser.

    Due to the intrinsic versatility of Fahrner’s approach, it can be used with  numerous elements, not just H2 headers. Therefore, in this ninth episode of the series I’ll be demonstrating how to use it to spice up the visual appearance of some hyperlinks.

    Are you ready to learn the full details of this styling process? Then begin reading!

    More Style Sheets Articles
    More By Alejandro Gervasio


       · This installment of the series shows how to use Fahrner's enhanced image replacement...
     

    STYLE SHEETS ARTICLES

    - Styling Pseudo Classes with the RGBA CSS3 Pr...
    - Controlling Overall Transparency of an HTML ...
    - Altering the Border Opacity of an HTML Eleme...
    - The RGBA CSS3 Property: an Overview
    - Using Span Tags to Include Logos in Web Pages
    - Using a Single H1 Element to Include Logos i...
    - Combining Divs and H1 Elements to Include Lo...
    - Semantically Including Logos in Web Pages
    - Adding Text Indentation to Style Code Blocks...
    - Decorating Line Numbers in Code Blocks Style...
    - Changing the Color of Code Lines with CSS
    - Using Ordered Lists to Style Code Blocks wit...
    - Using a Zebra Background Effect to Style Cod...
    - Displaying Rounded Corners Built with CSS3 i...
    - Building Rounded Corners with CSS3`s -webkit...







    © 2003-2010 by Developer Shed. All rights reserved. DS Cluster 2 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek