THIS CONTENT IS COPYWRITED, REDISTRIBUTION OF IT (including copy/pasting it to a message board, forum or bbs) IS PROHIBITED AND COULD RESULT IN LEGAL ACTIONS - feel free to quote up to 1 paragraph providing a source link to http://www.49ersparadise.com is included
THIS CONTENT IS COPYWRITED, REDISTRIBUTION OF IT (including copy/pasting it to a message board, forum or bbs) IS PROHIBITED AND COULD RESULT IN LEGAL ACTIONS - feel free to quote up to 1 paragraph providing a source link to http://www.49ersparadise.com is included
About one year ago I really began implementing CSS into my website. I have been using CSS to various degrees for quite some time, but it was the recent switch over, that prompted me to write this tutorial. I have long been a proponent of minimizing graphics on my website. I want the site to be fast loading, even in this day in age of broadband connections. More than anything CSS has given me the power to do that.
When I started publishing RSS feeds on my website, I realized that I was going to encounter a problem. Successful RSS feeds require advertisement that they exist, and typically these small ads include code that allows readers to open the feed in their respective RSS reader, or add the feed to My Yahoo, or My Google or the likes. Users already were comfortable with the little image buttons that have made their way around the web, and I did not want to deviate from that general look. And so I turned to my new friend, CSS.
I do not claim to be the first person to do this, but I did think putting the information out there as to how I did this might make everyone's browsing experience better. Why? Because fewer images means faster load times, even if only by a millisecond or two.
To see a working example of this, please scroll to the bottom of: http://www.49ersparadise.com
Step 1: Create and Save a simple HTML file in a text editor.
Enter the following:
Step 2: Create and Save a simple CSS file in a text editor in the same folder titled buttons.css.
Enter the following:
Tutorial: Creating CSS Buttons For RSS Feeds And The Likes
- By Bryan Hersh July 29 2006THIS CONTENT IS COPYWRITED, REDISTRIBUTION OF IT (including copy/pasting it to a message board, forum or bbs) IS PROHIBITED AND COULD RESULT IN LEGAL ACTIONS - feel free to quote up to 1 paragraph providing a source link to http://www.49ersparadise.com is included
About one year ago I really began implementing CSS into my website. I have been using CSS to various degrees for quite some time, but it was the recent switch over, that prompted me to write this tutorial. I have long been a proponent of minimizing graphics on my website. I want the site to be fast loading, even in this day in age of broadband connections. More than anything CSS has given me the power to do that.
When I started publishing RSS feeds on my website, I realized that I was going to encounter a problem. Successful RSS feeds require advertisement that they exist, and typically these small ads include code that allows readers to open the feed in their respective RSS reader, or add the feed to My Yahoo, or My Google or the likes. Users already were comfortable with the little image buttons that have made their way around the web, and I did not want to deviate from that general look. And so I turned to my new friend, CSS.
I do not claim to be the first person to do this, but I did think putting the information out there as to how I did this might make everyone's browsing experience better. Why? Because fewer images means faster load times, even if only by a millisecond or two.
To see a working example of this, please scroll to the bottom of: http://www.49ersparadise.com
Step 1: Create and Save a simple HTML file in a text editor.
Enter the following:
Step 2: Create and Save a simple CSS file in a text editor in the same folder titled buttons.css.
Enter the following:
Step 3:
Call the CSS file from the HTML file.
Find:
add before: