| In cascading style sheets you can specify how your | | | | tag (at the wrong place). Big advantage (no. 2).When |
| web pages will be presented on the screen by simply | | | | I discovered this, I immediately began adding |
| predefining page elements such as fonts, headers | | | | definitions for other tags like H1, H2, linktext (not |
| and links.You can add these predefined elements in | | | | visited, visited and hover) and special colors in text.If |
| the head-section of your pages, but more interesting | | | | I want to change the look of my H1-header, all I |
| is to use them in a single .css file and include that file | | | | have to do is change the specs in my style sheet |
| in every page on your site.All you have to do is | | | | and presto .... |
| include in your HTML header. | | | | the H1 is changed across my whole site. How's that |
| (the path in the href must point to the place where | | | | for flexibility? Big advantage (no. 1).When I once |
| your .css file is stored)There are two main benefits | | | | redesigned my site I used HTML validators to see |
| to using css sheets in a separate file:1. more flexibility; | | | | how I was doing. To my surprise I found that some |
| only one (1) file to update2. less HTML coding and | | | | HTML commands, the most important one being |
| easy replacement of deprecated HTML. | | | | FONT, were deprecated in HTML 4.0. That means |
| I'll explain more of this below.First, let me tell you I | | | | eventually these commands will not be used |
| am NOT a cascading style sheet professional. I just | | | | anymore.So I had to do something. Again, style |
| use it.If you want to become one, there are great | | | | sheets came to the rescue. |
| css resources and tutorials out there.Just go to | | | | All I had to do was define how my fonts would look |
| mention a few, but there are many more. | | | | like in my style sheet and I had the problem solved. |
| Type 'cascading style sheets' in your favorite search | | | | Big advantage (no. 2).Now I use css to define |
| engine and you get plenty of information.But just | | | | headers, footers, special text colors, special fonts |
| being a layperson in css emphasizes the importance | | | | and font sizes, special links etcetera. If I ever |
| of this web design tool. | | | | discover I need some extra lay-out or style, I just |
| I started using cascading style sheets in its most | | | | add one line to my .css file. |
| elementary form. All you have to do is name the | | | | It's so easy!Try it. |
| page element that you are going to specify and add | | | | Start using style sheets. |
| its specifications in curly brackets. | | | | You're more flexible and it will save you lots of |
| Here's my first css file:body { font-family: Arial, | | | | time.Wish you success. |
| Helvetica, sans-serif; font-size: 10pt; font-style: | | | | Case StevensCase Stevens, owner of AnOwnSite |
| normal; line-height: normal; font-weight: normal; | | | | Internet Marketing, is experimenting with different |
| text-decoration: none; color: #000000 }By simply | | | | marketing techniques, websites, traffic and lead |
| saving this code in a style sheet file and including it in | | | | generation. He publishes his experiences in a |
| my webpages I suddenly didn't have to define FONT | | | | newsletter featuring understandable, successful low |
| statements in the body of my pages any more. | | | | cost Internet marketing techniques, ideas and |
| Wow, that saved me a lot of coding! Big advantage | | | | strategies, articles, news, tips & tricks and interesting |
| (no. 2).AND .....I had fewer errors in my HTML, | | | | (free) downloads. |
| because I didn't have to close that awkward FONT | | | | |