7 Compelling Reasons to Start Using CSS for your Website - I used images...
(Page 2 of 4 )
I used images as my navigation buttons. So, in order to add one more section, I had to create a new image for that section and resize all the other button images so they would all fit nicely in one line. To top it off, I had two sets of images. One for the default button and another that replaces the default button when someone hovers over it. Thus, creating a roll over effect.
After creating the button images, there was also the need to use tables to arrange them nicely in a row. And this whole table had to go into a row in the main table of the page.
After a few solid hours into it, I started thinking, this is crazy. There must be an easier way to do this. All I wanted to do was add ONE more section.
I did a quick search on the net and realized that there was an easier way ... using CSS.
I spent some time reading articles on CSS. Not so much about what it is or how to code it but rather what it could do and was I in for a surprise. Apparently, it could do more than I gave it credit for. Here are just some cools things about CSS:
1. Create roll over effects with ease
CSS makes it really easy to create roll over effects. You've probably seen this all over the web. If you haven't, just hop over to Make-Your-Own-Web-Sites.com. Check out the navigation at the top and the navigation on the right and links throughout the site. These were done using CSS only. No images required. Just view the source code and you'll find that the navigation is a simple unordered list.
More Website Content Articles
More By Jase Dow