Website Design Edmonton       Website Design Feedback       Website Design Sitemap     Contact Website Design Company
Website Designers R Us - Home
Your CSS Code

In CSS you have the ability to create a background image on a particular style. Create your table with an individual cell for each link. In your CSS styles, you need to update the a:link and a:hover styles. For the a:link, make the graphic you have created to act as your button and/or the background image for that style. Then update the font attributes so the text will be visible on top of the background image. On the a:hover style, put the over state of the button as the background of that style and update the font attributes so you can see the text on the page. This is what your actual CSS code should look like for the a:link and a:hover styles:


a:link{
 font
-familyVerdanaArialHelveticasans-serif;
 font
-stylenormal;
 font
-variantnormal;
 text
-decorationunderline;
 color
#000000;
 font-weight: bold;
width: 175px;
 height: 100px;
 background-image: url(images/home-button.gif);
 background-repeat: no-repeat;
 }
 
a:hover{

 font
-familyVerdanaArialHelveticasans-serif;
 font
-stylenormal;
 font
-variantnormal;
 text
-decorationunderline;
 color
#006699;
 font-weight: bold;
width: 175px;
 height: 100px;
 background-image: url(images/home-button-over.gif);
 background-repeat: no-repeat;
 }

This effect creates the perception of a rollover image. To site visitors, it will appear to be a regular rollover button created out of two graphics. The only difference is your cascading style sheet contains the images for both states of the link. This way when search engine spiders visit your website, they will only see clean html code -- without any images used for navigation -- and your keyword-rich text. As well, your web page should load much faster and be compatible with anyone still using an old dial-up connection.

Return to Listing

Website Designers R us is based in Canada with branch office in Los Angeles, California. We are website developer & designer and have already created many ecommerce website design for USA, UK, and European countries. Our website development & creation is based on proper tools and techniques considering search engine optimization of the website.
 Home          ::             About Us          ::             Support            ::             Services            ::             Link Partners          ::             Contact

Copyright © 2006-2011 Website Designers R Us, a DOT Specialist Company. All rights reserved.