Tag: web design

  • How To Create A Successful Social Design

    How To Create A Successful Social Design

    After spending some time looking through the list of Facebook’s heaviest hitters I couldn’t help but notice a trend of characteristics that worked in favor of nurturing a positive, active social interaction between the brand and the fans.  However nothing is perfect and the same can even be said for the top three Branded Facebook Fan Pages as there are a handful of things that could be improved to make their social efforts even more successful.

     

    Top 3 Branded Facebook Pages

     

    One Chance to Make a First Impression

    First impressions make lasting statements both in reality and the virtual world. Much like a firm handshake and an inviting smile help break the ice during an introduction, a Facebook welcome page is a great way to say hello to new visitors while inviting them to explore the page’s content and become a fan. Interestingly enough, only one of the top three branded pages welcomes non-fans in this fashion. Both YouTube and Facebook’s Fan Page goes straight to the wall while Starbucks’ page directs non-fans to a tab inviting visitors to “Join the Starbucks Pumpkin Spice Latte Celebration.” This is a great example of providing non-fan visitors with compelling content promoting a seasonal product without blatant advertising. The result is an approachable social interaction that gives the users’ visit a purpose and directs them to further investigate the page, and ultimately click the Like button.

     

    Starbucks Pumpkin Spice Latte Celebration

     

    Socializing Requires a Two-Way Street

    Once users eventually arrive on the wall of a Fan Page, whether directly or after visiting a landing page, it’s important that the wall appears organized and uncluttered. Unfortunately many companies believe keeping a tidy wall requires restricting or eliminating user posts.  This could give off the wrong impression that a company is too worried about what others might say about them to allow user posting and it denies users the freedom of interacting with each other without the direction of the brand. The use of a display filter can offer greater flexibility that doesn’t remove the users’ ability to post comments to a page’s wall yet still maintains a neat, organized wall by default.

    Facebook’s own Fan Page only allows for site managed comments to show up with no option for users to post or view comments of their own while both Starbucks and YouTube defaults to their own comments but enables a filter that allows users to choose from viewing just YouTube’s comments, just others’ comments or all comments.  This gives users a clean glance at the official posts on the wall with the additional functionality of being able to post their own thoughts, feelings and experiences with others, resulting in a more open, inviting social experience than that of Facebook’s Fan Page.

    However, this doesn’t mean that your fans should be given free rein to post anything and everything under the sun. Careful monitoring and moderation are crucial for insuring that discussions remain on track and are void of vulgar or offensive material. Maintaining a balance between healthy discussion and a sense of structure lets visitors know their thoughts are being heard and that someone is watching over things to keep comments from getting out of hand while encouraging an inviting atmosphere.

  • Essential Website Usability Tools

    Essential Website Usability Tools

    So you have a website, and you’re getting traffic – but the sales aren’t rolling in. Or maybe they are, but they’re not setting the world on fire.

    All too often websites are built with little or no consideration given to their usability. And this is often the critical difference between good and great websites.

    For those of you unfamiliar with the term:
    “Usability is the extent to which a website can be used by specified users to achieve specified goals with effectiveness, efficiency, and satisfaction in a specified context of use. In other words, good usability implies that users can easily use a website and by doing so, reach their goals quickly and without getting lost or confused.”

    For an existing website, the first steps to improving usability are of course assessing the current levels of effectiveness, efficiency and satisfaction of users.
    To help you with this process, here are essential website usability tools to start the process.

    Clicktale

    Clicktale allows you to visualize your visitors activity and get an overview of complete browsing sessions. It also watches behaviour analytics, which include click heatmaps, mouse move heat maps, and web analytics. These can help improve usability and conversion rates.

    CrazyEgg

    CrazyEgg enhances your sites usability by keeping a track of pages i.e. it can watch over your website and have an overview of heat maps to track the clicks. It can also track the advanced activities such as top fifteen referrals, browser and search terms.

    Feng GUI

    Feng GUI simulates human vision during the first 5 seconds of exposure to visuals, and creates heatmaps based on an algorithm that predicts what a real human would be most likely to look at. Feng-GUI Dashboard offers designers and advertisers, a pre-testing service that measures the performance of your design, before it airs, by analyzing levels of attention, brand effectiveness and placement, as well as breaking down the flow of attention.

    Five Second Test

    Fivesecondtest helps you fine tune your landing pages and calls to action by analyzing the most prominent elements of your design. By finding out what a person recalls about your design in just 5 seconds you can ensure that your message is being communicated as effectively as possible.

    Google Website Optimizer

    Google Website Optimizer allows you to set up different versions of your web content and then it random displays the versions to different visitors. This form of multivariate testing help you establish which versions are most user friendly and lead to higher conversions.

    Loop 11

    Loop 11 is a solution for consultants, designers and web managers to get the metrics and optimize a website’s potential. It has an easy process to create a professional usability test, accumulate responses and source them via a social media and finally analyze the data through the usability metrics.

    Usabilla

    Usabilla integrates usability tests in your daily work-flow and helps you continuously improve your web site’s user-experience and conversions with high quality design feedback.

    User Testing

    User Testing is a way of getting data on your visitors’ browsing patterns — data that isn’t biased or subjective; data which shows the real activity from people using your website.

    UserTesting provides on demand user testing. Post your website usability test requirements on their website and get direct feedback from real users via participant videos of activities completed. With a large database of users, you can target exactly who completes your tests.

    Of course there’s plenty of other tools out there which can help you improve your website’s usability. The key is to get started with the process. Whether you invest in one of the tools above or just start looking at some of the basics through Google analytics – once you’ve started testing, you can start improving.

  • How To Use The Pen Tool In Photoshop (Complete Guide)

    How To Use The Pen Tool In Photoshop (Complete Guide)

    This tutorial will show you anything and everything about the Adobe Photoshop Pen Tool. It is a complete guide to the tool.

    The Pen Tool can be a hard and frustrating thing to learn. In this tutorial I will teach you about the pen tool and how to use it. Hopefully once you are done you will be able to use the Pen Tool.

    (more…)

  • Developing Your Site Within W3C and CSS Guide Lines

    Developing Your Site Within W3C and CSS Guide Lines

    Having been in the web development life cycle for many years, I have learned the reality of trying to stick to HTML/XHTML best coding practices, which include being as much W3C compliant as possible, but in the real world, not all web browsers are created equal, that we can only wish!

    It is still most beneficial as a programmer to follow a standard flow of key decision choices, that is to keep future modifications and improvements easier and leads to  quicker maintenance of your current website’s needs. It can also be easier for people new to your project or site to get acquainted with how its setup in both the front-end and back-end aspects of it.

    While being able to have a nice shiny W3C compliant badge, may be cool, it surely does not mean that your site is going to just simply look the exact same in the currently most used web browsers by your visitors, let alone any really older or non-common web browsers.

    In fact, having such a badge, and forgetting to check the compliance results from W3C’s online tools, may lead to a negative effect, where the visitor clicks on it, and because you didn’t confirm every page is complaint, one single html, xhtml or css level error will display a nasty non-compliance screen.

    That is something you want to avoid, as it makes your site seem as if it was poorly put together, which is most likely not the case at all. As you can see above, even big name sites, do not follow compliance, and may even have hundreds of erroneous reports from online compliance validation tools, while their website looks and functions without any issue.

    The best recommendations I have for people is to keep your code as clean and human readable as possible, along with attempting to follow standards as much as you can, and if you need to utilize some non standard, or non compliance code, its fine, go ahead.

    Truly, as long as your website fully functions properly for your audiences needs, you are actually ahead of the curve. A lot of sites still to this day have things that do not work in Firefox or Chrome, and only work properly in Internet Explorer, sometimes even specific older version of it.

    Another thing to consider is switching your document type, as typically I utilize XHTML with Transitional, meaning some “older” style HTML is allowed, such a table-specific items, this may allow what you were trying to accomplish and might put you that much closer to compliance validation.

    Also keep in mind to always cross browser test not just in each web browser, but also in many different (most commonly used/recent) versions, and on different computers, as things like font sizes and generic style sheet rules may surprise you on a certain combination of browser, version and operating system.

    Bonus Tip: Different sites will attract different user types, meaning even further potential browser support that you must maintain, you should utilize tools like Google Analytic’s to identify which browsers your visitors are using.

    If you have any questions or comments, feel free to reply. Thanks!

    Comments

  • How to Keep Your Search Engine Ranking During a Redesign

    How to Keep Your Search Engine Ranking During a Redesign

    301 redirects are essential when you’re redesigning your website and don’t want to lose the search engine traffic that you currently enjoy.

    The unfortunate thing about a 301 redirect is that it sounds so extremely geeky and off-putting to the average business owner that they’re scared away. That’s too bad, because it is a critical tool in search engine optimization. So, to that end, I’m going to attempt explain the benefits of 301s in the least geeky way possible.

    Search Engines and Trust

    There are a lot of variables in why one site ranks higher than another site at Google and other search engines. One is how long the site (and a given page) has been in existence, and another is how many incoming links a page has. All things being equal (which they never are), older pages rank higher than newer pages and pages with more inbound links rank higher than ones with fewer inbound links.

    Breaking that Trust

    Often, when rebuilding a site, you end up changing the URLs–or addresses–of your web pages.  Maybe it’s because you’re reorganizing your site, or maybe it’s because you’re redeveloping your site on a content management system like WordPress, Drupal or Joomla. In either case, the new URLs don’t have the trust that the old URLs do, even if a lot of the content is the same.

    It’s like moving to a new town. You may have been the greatest manager/plumber/accountant in your old town, but that doesn’t mean anything in the new town. You haven’t changed; you still have an excellent bedside manner or mad sales skills, but you’re starting from scratch in this new town.

    When you take your established content, uproot it and replant it somewhere else on your site, you are resetting the clock on when that content was created and breaking all of the inbound links that pointed to it.

    Reestablishing that Trust

    There are many ways to tell the search engines that you’ve moved your content, but the most search engine friendly way is the 301 redirect. By setting up 301 redirects for your content, you show search engines where your content has moved from, and your inbound links will now direct to your new pages.

    How you setup your 301s may depend on the type of host you have. If you have no idea what I’m talking about, it’s time to talk to your web developer and get them involved.

    If you want your web developer to create redirects for you, I recommend writing up a guide for him or her to show where the old pages should be redirected. Here’s a guide for you to use, where the first item is the old page and the second item is where you want the traffic to flow:

    • old/old.html -> new/new.php
    • van-halen/david-lee-roth.html -> van-halen/sammy-hagar.html
    • wonka/gene-wilder.php ->wonka/johnny-depp.php

    The easiest approach is to use a plugin like the WordPress Redirection plugin to setup 301 redirects.

    If you do feel comfortable playing around with 301 redirects, .htaccess and other files on your server, there are plenty of resources online:

    How to Redirect a Web Page Using a 301 Redirect

    301 Redirect – How to Create Redirects

    How to Set Up Redirects Using .htaccess

    These are just a few of the top results.

    Final Thoughts

    301 redirects are also great when you are changing from one domain to another (never a great idea, but sometimes a necessary evil.) Even with a 301 redirect, you should expect a dip during a major overhaul of your website. However, my own experience has been that the numbers get back to normal in about a month or three and then you see increases after that.

  • Improve SEO By Removing Your Duplicate Content

    Improve SEO By Removing Your Duplicate Content

    Duplicate content is like a virus. When a virus enters your system, it begins to replicate itself until it is ready to be released and cause all kinds of nasty havoc within your body. On the web, a little duplicate content isn’t a huge problem, but the more it replicates itself, the bigger the problem you’re going to have. Too much duplicate content and your website will come down with some serious health issues.

    I’m going to break this into three parts. In this post, I’ll discuss the problems that are caused with duplicate content. In Part II, I’ll address the causes of duplicate content, and in Part III, I’ll discuss some duplicate content elimination solutions.

    Duplicate Content Causes Problems. Duh!

    Google and other search engines like to tell us that they have the duplicate content issue all figured out. And, in the cases where they don’t, they provide a couple of band-aid solutions for you to use (we’ll get to these later). While there may be no such thing as a “duplicate content penalty”, there are certainly filters in place in the search engine algorithms that devalue content that is considered duplicate, and make your site as a whole less valuable in the eyes of the search engines.

    If you trust the search engines to handle your site properly, and don’t mind having important pages filtered out of the search results, then go ahead and move on to another story… you got nothing to worry about.

    Too many pages to index

    Theoretically, there is no limit to the number of pages on your site that the search engines can add to their index. In practice, though, if they find too much “junk”, they’ll stop spidering pages and move on to the next site. They may come back and keep grabbing content they missed, but likely at a much slower pace than they otherwise would.

    Duplicate content, in practice, creates “junk” pages. Not that they may not have value, but compared to the one or two or dozen other pages on your site or throughout the web that also contain the same content, there really isn’t anything unique there for the search engines to care about. It’s up to the engines to decide which pages are the unnecessary pages and which is the original source or most valuable page to include in the search results.

    The rest is just clutter that the search engines would rather not have.

    Slows search engine spidering

    With so many duplicate pages to sort through, the search engines tire easily. Instead of indexing hundreds of pages of unique content, they are left sifting through thousands of pages of some original content and a whole lot of duplicate crap. Yeah, you’d tire too!

    Once the engines get a whiff that a site is overrun with dupes, the spidering process will often be reduced to a slow crawl. Why rush? There are plenty of original sites out there they can be gathering information on. Maybe they’ll find a few good nuggets or two on your site, but it can wait, as long as they are finding gold mines elsewhere.

    Splits valuable link juice

    When there is more than one page (URL) on your site that carries the same content as another there becomes an issue of which page gets the links. In practice, whichever URL the visitor lands on and bookmarks, or passes on via social media, is the page that gets the link value. But, each visitor may land on a different URL with that same content.

    If 10 people visit your site, 5 land on and choose to link to one URL, while the other 5 land on and choose to link to the other (both being the same content), instead of having one page that has 10 great links, you have 2 pages each with half the linking value. Now imagine you have 5 duplicate pages and the same scenario happens. Instead of 10 links going to a single page, you may end up with 2 links going to each of the 5 duplicate versions.

    So, for each duplicate page on your site, you are cutting the link value that any one of the pages could achieve. When it comes to rankings, this matters. In our second scenario, all it takes, essentially, is a similarly optimized page with 3 links to outrank your page with only 2. Not really fair, because the same content really has 10 links, but it’s your own damn fault for splitting up your link juice like that.

    Inaccessible pages

    We talked above about how duplicate content slows spidering leaving, some content out of the search engine’s index. Leaving duplicate content aside for a moment, let’s consider the page URLs themselves. We’ve all seen those URLs that are so long and complicated that you couldn’t type one out if it was dictated to you. While not all of these URLs are problematic, some of them certainly can be. Not to mention URLs that are simply undecipherable as being unique pages.

    We’ll talk more about these URLs in part 3, but for now, let’s just consider what it means when a URL cannot be spidered by the search engines. Well, simply put, if the search engines can’t spider it, then it won’t get indexed. The browser may pull open a page the visitors can see, but the search engines get nothin’. And when you multiply that nothin’ the search engines get with the nothin’ they’ll show in the results (don’t forget to carry the nothin’), you get a whole lot of nothin’ going on.

    Pages inaccessible to the search engines means those pages can’t act as landing pages in the search results. That’s OK, if it’s a useless page, but not if it’s something of value that you want to be driving traffic to.

    There are a lot of problems caused by duplicate content and bad URL development. These problems may be minor or cataclysmic, depending on the site. Either way, small problem or large, it’s probably a good idea to figure out the cause of your duplicate content problems so you can begin to implement solutions that will pave the way for better search engine rankings.

  • Where to Submit Your XML Sitemap

    Where to Submit Your XML Sitemap

    Sitemaps are an ingredient that completes a website’s SEO package. They are certainly still relevant, since they ensure content is not overlooked by web crawlers and reduce the resource burden on search engines. Sitemaps are a way to “spoon feed” search engines your content to ensure better crawling. Let’s look at how this is done.

    XML Format

    The sitemap file is what search engines look for. The elements available to an XML sitemap are defined by the sitemap protocol and include urlset, url, loc, lastmod, changefreq, and priority. An example DOM looks like:

        http://example.com/
        2006-11-18
        daily
        0.8

    Sitemaps have a 10 MB size limit and cannot have more than 50,000 links, but you can use more than one file for the sitemap. A sitemap that consists of multiple files is called a sitemap index. Sitemap index files have a similar, but different format:

      http://www.example.com/sitemap1.xml.gz
      2004-10-01T18:23:17+00:00
    
    
      http://www.example.com/sitemap2.xml.gz
      2005-01-01

    There are all kinds of sitemaps, ones for web pages, ones tailored to sites with videos and other media, mobile, geo data, and more. As long as it is within the cost-benefit for achieving better SEO, take the time to become familiar with the different types of sitemaps and make one that best fits your website’s architecture.

    Location

    Sitemaps can be named anything, but convention is that a sitemap will be named ‘sitemap.xml’ and is placed in the root of the site, so http://example.com/sitemap.xml. If multiple files are needed they can be named ‘sitemap1.xml’ and ‘sitemap2.xml’. Sitemap files can also be compressed, such as ‘sitemap.gz’. One can also have sitemaps in sub directories or submit them for multiple domains, but the cases for needing such are very limited.

    Submission

    Sitemaps are recognized by search engines in three ways:

    • Robots.txt
    • Ping request
    • Submission interface

    First, sitemaps can be specified in the robots.txt as follows:
    Sitemap: http://example.com/sitemap.xml

    The robots.txt file is then placed in the root of the domain, http://example.com/robots.txt, and when crawlers read the file they will find the sitemap and use it to improve their understanding of the website’s layout.

    Second, search engines can be notified through “ping” requests, such as:
    http://searchengine.com/ping?sitemap=http%3A%2F%2Fwww.yoursite.com%2Fsitemap.xml

    These “ping” requests are a standard way search engines allow websites to notify them of updated content. Obviously, the domain (i.e. “searchengine.com”) will be replaced with say “google.com”.

    Lastly, every major search engine has a submission tool for notifying the engine that a website’s sitemap has changed. Here are four major search engines and their submission URLs:

    Google – http://www.google.com/webmasters/tools/ping?sitemap=

    Yahoo! – http://search.yahooapis.com/SiteExplorerService/V1/updateNotification?appid=SitemapWriter&url=

    Ask.com – http://submissions.ask.com/ping?sitemap=

    Bing – http://www.bing.com/webmaster/ping.aspx?siteMap=

    The ping requests do not respond with any information besides whether or not the request was received. The submission URLs will respond with information about the sitemap, such as any errors it found.

    If your website uses WordPress or the like, there are great plugins such as Google XML Sitemaps which will do all this heavy work for you: creating sitemaps and notifying search engines including Google, Bing, Yahoo, and Ask. There are also tools for creating sitemaps such as the XML-Sitemaps.com tool or Google’s Webmaster Tools.

    As we’ve said before, making sitemaps “shouldn’t take precedence over good internal linking, inbound link acquisition, a proper title structure, or content that makes your site a resource and not just a list of pages.” However, taking just a little bit of time with a good tool will help you complete your SEO package with a sitemap. Take this tutorial and make your site known!

  • Create A Rollover Button with CSS

    Create A Rollover Button with CSS

    In this tutorial I will run you through some very simple steps on creating a rollover button by using Photoshop, CSS, and HTML.

    In a previous tutorial I showed you how to create a social networking sticker icon, so I am going to use that in this tutorial.

    For this tutorial you will need photoshop or equivalent and also an html software such as Dreamweaver, which is what I will be using.

    The first step is to open up your image and save two images. The first image will be the sticker and the second image will be a sticker that has been peeled back.

    To make this easier here is the .psd file for this tutorial.

    Open up the .psd file and you will see layers in your palette.

    And this on your canvas:

    You can see the fold layer is showing on top of the sticker so you can hide that layer by clicking the little eye icon beside the layer in your palette window.

    As you can see there is still a layer showing that does not need to be for our first image so hide the layer underneath the group “twitter”

    After that you should have the first sticker image ready for saving. I am going to save my images as .png files so they can be transparent on any background color. To save an image as a .png file hide your background layer so there is no white background behind the sticker.

    Once you hide your background layer you should see little blocks behind the sticker:

    Now go to file>>save for web… or use the keyboard shortcut Alt+Shift+Ctrl+S

    When you use that featured it will open a window where you can choose what file type you want to save the image as.

    Go to the right side and in the drop down choose png-24 …

    Save all of these files in the same folder because this will make the tutorial easier later.

    So I will save mine as rollover1.png

    For the 2nd image unhide the two layers we previously hid and hide the other layers except for the “twitter” group.

    Now I will save this file as rollover2.png

    That is all we need to do in photoshop, now I will move on to my HTML editing software dreamweaver mx.

    I will hit ctrl+n in dreamweaver to start a new document and pick a basic page as html.

    Then I will go ahead and save my html file in the same folder as my images called rolloverbutton-tutorial.html

    One thing I really like about dreamweaver is how the screen is split into a design view and a code view. At the top is the code view and here is what it contains as default.

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    
    <head>
        <title>Untitled Document</title>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head>
    
    <body> </body>

    Next between the “body” tags in my code view I am going to write “Twitter”…

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    
    <head>
        <title>Untitled Document</title>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head>
    
    <body> Twitter </body>

    I want the Twitter text to have a clickable link over it so in my html program I will highlight the text in design view

    Now in the properties of at the bottom of my window I will type in http://www.twitter.com

    Now you can see the link is clickable in the design view and also an “a href” tag was added around the text in the code view.

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    
    <head>
        <title>Untitled Document</title>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head>
    
    <body> <a href="http://www.twitter.com">Twitter</a> </body>

    Next I will start creating the stylesheet needed for the rollover button. You can do an external stylesheet or one directly in the html. I will show you the one directly in the html since this is a beginner css tutorial.

    Under your </head> tag write <style type=”text/css”> and when you do that in dreamweaver a closing tag will automatically generate </style>

    After doing that I currently have this in my code now

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    
    <head>
        <title>Untitled Document</title>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head>
    <style type="text/css">
    </style>
    
    <body> <a href="http://www.twitter.com">Twitter</a> </body>

    The coding for the rollover will be very simple. I want to add a div tag around the text so I can control it with CSS styles. So you need to decide what you want to call the div that will surround the “Twitter” text. I will call mine “rollovericons”.

    So above your twitter text write <div class=”rollovericons”> .. The class is telling the html which css style to use.

    Yet again dreamweaver will create a closing tag automatically and put it after the the div just made. So put the closing div under the twitter text a href tag.

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    
    <head>
        <title>Untitled Document</title>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head>
    <style type="text/css">
    </style>
    
    <body>
        <div class="rollovericons"> <a href="http://www.twitter.com">Twitter</a> </div>
    </body>

    Now its time to define some styles to use in the html. In the next code view I will show you all the css I created for this document and explain it from there. I will put little comments in the actual code view.

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    
    <head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head>
    <style type="text/css">
    .rollovericons a#twitter{ /* This will be the main css that defines what the link on the Twitter text will do since it has an a href tag around it. the #twitter is an ID that will be placed in the a href tag */ display: block; /* this tells the a href link to display as an area so the image will show up correctly. */ width:193px; /* defniing the width of the icon image */ height:192px; /* defniing the height of the icon image */ background: url(rollover1.png) no-repeat; /* this tells the path to display for the image */ } .rollovericons a:hover#twitter{ /* this will define what happens to the a href link when when you roll over it with the mouse */ background: url(rollover2.png) no-repeat; /* this tells the path to display for the image */ } .rollovericons a span{ /* this will be another tag placed around the twitter text a href tag to make the font disapear */ display: none; }
    </style>
    
    <body>
    <div class="rollovericons"> <a href="http://www.twitter.com">Twitter</a> </div>
    </body>

    Here is what I will add to the twitter text, <a href=”http://www.twitter.com” id=”twitter” title=”Join Us On Twitter!”><span>Twitter</span></a>Now that you defined your CSS you just need to add a few things in the twitter text a href to get it to display the icon correctly.

    The id=”twitter” is the part of the css that has #twitter and the span added will make the font disapear. Also the title that says “Join Us On Twitter!” will pop up when highlighting over the button.

    Here is the final working code:

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    
    <head>
    <title>Rollover Icon Tutorial</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head>
    <style type="text/css">
    .rollovericons a#twitter{ display: block; width:193px; height:192px; background: url(rollover1.png) no-repeat; } .rollovericons a:hover#twitter{ background: url(rollover2.png) no-repeat; } .rollovericons a span{ display: none; }
    </style>
    
    <body>
    <div class="rollovericons"> <a href="http://www.twitter.com" id="twitter" title="Join Us On Twitter!"><span>Twitter</span></a> </div>
    </body>

    Now if I preview my html I will see thisAs long as you save your html document and images in the same folder the images should show up fine.

    And if I roll my mouse over it this will happen

    Test the button out for yourself here

    I went an extra step to show you how you can make 3 types of social icons do the same thing and you can view the code to see the CSS involved.

    Check out the more complex version!

    Thanks for reading, I hope you learned something from this!