|
Navigation
MAIN
Home
Articles
Ebooks
Report Your Scams
Dictionary
My Affiliate Place Blog
Sitemap
Contact
Subscribe in a reader
TECH SECTION
BUSINESS SOFTWARE
Accounting Software
Video Web Conferencing
Virtual
Phone Service
COMPUTER SOFTWARE
Avast
Security Utilities
Farstone
Backup/Recovery
Kaspersky
Internet Security
COMPUTERS &
ELECTRONICS
Dell Weekly
Deals
Dell Server-Electronic Deals
TECH ACCESSORIES
Tech Accessories
Deals
LEARN AFFILIATE
MARKETING
Affiliate Marketing Info
Landing Page Basics
Net Etiquette
AFFILIATE PROGRAMS & PROMOTE
Find Affiliate Programs
Promote Your Business
ADSENSE
Adsense TidBits
Adsense Basics
ADWORDS
Adwords Basics
SEO
SEO Basics
Meta Tag Tips
Keyword Research
Search Methods
WEBSITE BASICS
Website Overview
Building Your
Website
Domain and Subdomain
Website Protection-htaccess
Website
Protection-Robots.txt
EQUIPMENT FOR
ONLINE BUSINESS
Buying A Laptop
Buying A Desktop
Protect Your Data
MARKETING
Article Marketing
Email Marketing
BLOG/PODCAST
Blogging Basics
Mechanics of Podcasting
| |
CSS-What's It All About
By Vickie J. Scanlon
CSS-search engines and your browsers-so what! Right? Maybe, unless you want to know a little about CSS. So, let me begin by saying that CSS can reduce your time at the computer. But you will need knowledge
of HTML, XHTML, and the style properties of CSS.
Let's say you are wanting to use CSS-but don't know whether CSS is compatible
with the search engines or the browsers that your clients may be using. These
are some of the questions I'll try to answer, as well as, explain a little about what CSS is all about.
What is CSS?
CSS stands for Cascading Style Sheets. CSS is a set of formatting instructions that controls the looks of a web page or pages. Some of the browsers that support CSS is: (Firefox,IE3 or later, NN4 or later). You may be saying, great this will definitely save me some time. Not so fast, you also need to know that though, the majority of the browsers understand CSS, they do not fully support all of it's capabilities.
XHTML - XHTML is EXtensible HyperText Markup Language. XHTML Is HTML with stricter rules-that adds conformity and, is 100% XML compliant.
What can you do with CSS
1) You can build your layout - adjust size and color of your headings or body text.
2) If you have like pages or styles within your pages that are used over and over again, this saves you time in duplicate
formatting.
How to get the Search Engines to See Your Copy
Granted Search Engines still have some problems with understanding CSS.
But if you want to use CSS, how can you get the search engines to see what you want.
1. Keep your text clean, if you have to much garbage in your web page, than the spiders will
have a difficult time in determining what is relevant and what is not. Thus, CSS keeps your web page clean, without the redundant coding needed for each individual element of code.
Here is an example of how to code a headline; with the CSS code below.
Example: <h1>Title</h1>
CSS code: H1 {font family: Arial size: 18 px; bold;}
Syntax of CSS
First, CSS can be written within any text editor. But the text file must be saved with a
CSS extension.
The syntax of CSS consists of the selector and the declaration. The selector is the identifier
within the body of your web page; the declaration is the code that identifies the style that you want to put into place as to property and rule. Lets say you want all your H1 headlines to be green, with the font Arial. the code for CSS would be
as follows:
selector {property: rule;}
H1 {color: green; font-family: Arial;}
Note: Notice that the property and rule must be enclosed in {}.
Placement of CSS
There are three places to put your CSS code:
In the Head (Internal), in an external file, or within an individual tag (Inline style).
Internal -is used within a single web page that may have a unique style.
Inline - mixes code with content. Sometimes you may need to use it, but this style does seem to eliminate the need of even using a
CSS style sheet.
External - The CSS is separate from the body of the web page and is
linked with the web page. Thus, to link an external file into a web page you will need to use the link tag.
Example: <link rel="stylesheet" type="text/css" href="NameofCSS.css" /> (Goes in the head section after the title tag)
Which way do you go? If you have a large site or a site that will be expanding, an external file would be a better way to quickly and easily manipulate all your web pages at once.
CSS Spam
But with anything on the Internet, CSS can be used for the good and the bad. And obviously,
if you want to keep your site up and running for a long time, Some CSS techniques should be avoided. Why?
Because some CSS techniques can be considered spam by the search engines and thus, ban your site if you use the techniques. The blackhat tactics include
such things as: 1) using CSS to hide text-from headlines to body from the human
eye; 2) hiding and bolding or italicizing copy for search engine spiders benefit only.
To conclude, CSS can and is a viable way to making your web pages easier to maintain-if the majority of your pages follow the same format. If you are not all that familiar with CSS, then take the time to look at
w3schools.com
tutorial. It's very informative and can get you started with CSS..
About the Author:
Vickie J Scanlon -- Visit her site at: http://www.myaffiliateplace.biz
for articles, ebooks,
how to protect your website, affiliate opportunities, tech accessories, security software,
computers and learn about the different phases of affiliate/internet
marketing.
|