ZimbabweDemocratic Republic of CongoZambiaSouth AfricaSwazilandSudanTanzaniaTogoTunisiaUgandaNamibiaNigerReunionSeychellesSomaliaMozambiqueNigeriaRwanda  Sierra LeoneLesothoMaliMauritiusMauritaniaKenya
Home | Article Directory | Top Authors | SEO & Web Tools

February 2007

You are currently browsing the articles from Afro-Articles Internet Marketing Blog written in the month of February 2007.

Developing for IE 7

By: Andrea Butterworth of BraveNet.com

Hey guys! Last month I talked a bit about IE conditional comments and now I’m going to expand on that a bit further as they can be very useful. Conditional comments only work in Internet Explorer on Windows and can therefore be used to give special instructions to IE browsers.

The scenario that I described to you last month involved detecting IE6 to serve it a different stylesheet than IE7 or Firefox or what-have-you. As you begin developing for IE7 you may see things working the same as they do in Firefox. Don’t be fooled. You still need to be checking both browsers as IE7 is an improvement but is not fully ‘fixed’. In addition, most browsers - aside from IE - support more advanced css selectors. One thing IE7 has remedied is their problem implementing ‘* html’ and ‘!important’ in a stylesheet. ( more on these and other IE6 hacks here).

Firstly let’s look at things as though we have two categories: IE browsers and everything else. I’ve just moved my IE6 hacks into a separate stylesheet and am calling it when IE6 is my users’ browser. It is important to set up my hacks as overrides. Because stylesheets ‘cascade’ in the order they are called, the rules from the last stylesheet loaded will override the same ones called previously.

So I call my base stylesheet no matter what the browser is. This stylesheet is the one that is valid and takes advantage of the CSS2 selectors. Next, using IE’s ‘conditional comments‘ I assign a stylesheet to IE6 and lower which overrides or sets new styles for IE only. Then, of course, I assign a different stylsheet when it is IE7 browsing my page. Luckily, Microsoft has made a lot of improvements to their browser and this stylesheet should be very short.

First, let’s look at the comment structure:

< !–[if lt IE 7]>the stuff< ![endif]–>

The part between the first set of []s is called the conditional block. In this example it says if ‘lt’ which means ‘less than’. So if the IE browser version is less than version 7. Do ‘the stuff’.

< !DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01//EN” “http://www.w3.org/TR/html4/strict.dtd”>
< html lang=“en”>
< head>
< title>Conditional Comments< /title>
< link xhref=“base_for_all.css” mce_href=“base_for_all.css”   rel=“stylesheet” type=“text/css”>
< !–[if lt IE 7]> < link xhref=“ie_6_and_below.css” mce_href=“ie_6_and_below.css”   rel=“stylesheet” type=“text/css”> < ![endif]–>
< !–[if IE 7]>< link xhref=“ie_7.css” mce_href=“ie_7.css”   rel=“stylesheet” type=“text/css”> < !–< ![endif]–>
< !–[if !IE]>–> < link xhref=“not_ie.css” mce_href=“not_ie.css”   rel=“stylesheet” type=“text/css”> < !–< ![endif]–>
< /head>
< body>
< p>Test< /p>
< /body>
< /html>

In the above example, base_for_all.css applies to all browsers, ie_6_and_below.css applies to all versions of Internet Explorer below IE 7, and ie_7.css applies to IE 7 only.

Well you are all setup now guys. It is unfortunate that we have to add extra markup to our code in the form of these conditional statements, but at least it will degrade gracefully.

Now how about Firefox?

The Firefox Browser is now the flagship product of the Mozilla open source project, and is the darling of web developers. If it is not yours, you should consider trying it out. Why? Well that’s what this article is about.

What do you say we skip past the history of the organization, and how it is developed by an open source community of developers and testers, and get to some of the cool stuff - the add-ons.

I’m going to show you all of my favorite Firefox add-ons. I can’t show you all of the add-ons out there because there are thousands, but these ones make my life a lot easier:

#1 - Web Developer by Chris Pederick
This thing rocks! It adds a toolbar to the browser that is loaded with features to help you develop for the web! Things like outlining various html elements on the fly, enabling and disabling styles, resizing the browser window to various standards, validating your pages, it has a built in ruler tool, options for images, forms, cookies - you name it!
#2 - ColorZilla by Alex Sirota
Super little tool that sits tucked in a little corner and when you click on it you can sample any color on the web page and copy it to your clipboard. Did I use the right blue on those links?
#3 - MeasureIt by Kevin Freitas
Love it! This thing makes my life so much easier. It allows you to draw a box on the page and measure it’s dimensions. I also find this tool invaluable for making sure things are aligned properly.
#4 - Firebug by Joe Hewitt
This one? Sooo good. You can edit, debug, and monitor CSS, HTML and Javascript live on any webpage!
#5 - IE View by Paul Roub
This inconspicuous little add-on lets you load pages in IE! Perfect for cross browser testing!
#6 - HTML Validator by Marc Gueury
This little guy puts a green checkmark at the bottom of your browser if the document validates. If it doesn’t, it shows warnings and errors with a click so that you can hurry off and fix them.
Lucky #7 - SeoQuake by The SeoQuake Team
This extension gives you a ton of information on your page including Google page ranking, Alexa ranking, showing keyword density and META tags, it allows you to see backlinks and so much more! Quite a handy little thing.

Now here’s the skinny folks. I have ALL of these installed on my browser. They are so well done and inconspicuous that you probably wouldn’t even notice I had them there! They don’t slow anything down… they speed it up!

And that’s why developers love Firefox, oh and because they have excellent CSS support, security measures, are standards compliant and and …read more and download it too!

Click here to view: Web Design Articles | Web Hosting Articles | Search Engine Articles | SEO Articles |

The Principles of Beautiful Web Design The Zen of CSS Design: Visual Enlightenment for the Web (Voices That Matter) Head First HTML with CSS & XHTML (Head First)

Sphere: Related Content

Written by James Opiko on February 27th, 2007 with no comments.
Read more articles on Webmaster, Design and Development.

3 Title Tag Tips That Can Increase Your Ranking

Writes: Matthew Elshaw

Title tags are one of the oldest and most effective aspects of on-page search engine optimization. Your title tag is displayed as the main clickable link in search engine results and as such, has a considerable impact on how many people visit your website, as well as its ranking within search results.

The good news is, writing an effective title tag is easy and can have a dramatic impact on your search engine success. Here are 3 tips to get you started: Title Tag Tips

Sphere: Related Content

Written by James Opiko on February 22nd, 2007 with no comments.
Read more articles on Search Engines and Directories.

15 Google spam filters and how to avoid them - Part II

Google tries to keep its search results as clean as possible. For that reason, they have a variety of spam filters in their ranking algorithm that try to remove low quality web sites.

If your web site gets caught by one of these filters, it will be very difficult to get high Google rankings. In the next articles, we’ll take a look a the 15 most common Google spam filters and we’ll tell you how you can get around them.

Google’s link farm filter, the broken link filter and the too many links filter

Google heavily relies on inbound links to determine the position of a web page in the search results. To make spamming as difficult as possible, Google also have a variety of link filters to make sure that only the right links are considered.

Participating in a link farm system won’t increase your search engine rankings. Actually, you can hurt your rankings if you link to a link farming scheme.

The broken link filter is not actually a filter but the effects are the same. If you have broken links on your web pages and if not all pages on your web site can be found through links on your web site then Google cannot index all of your pages.

Many broken links also indicate that your web site is not very professional and that it should not be listed in the top results.

The too many links at once filter is applied when your web site gets very many links in a short time period. Too many links at once can lead to problems with all big search engines, not just Google.

How to get around these filters

Don’t use link farms to get links to your web site. Better use a serious tool to get high quality links to your web site. Do not use black-hat techniques or link spamming to avoid getting caught by Google’s too many links at once filter.

To make sure that the broken links filter is not applied to your web site, make sure that all links on your web site are intact and use a sitemap so that search engines can find all pages on your web site quickly and easily.

Further information on how to get the right inbound links can be found in this free link popularity eBook.

Next week, we’re going to take a look at three more Google filters that might prevent your web site from getting high rankings on Google.

Search engine newslets

Article Courtesy: Axandra Weekly Newsletter

Sphere: Related Content

Written by James Opiko on February 22nd, 2007 with no comments.
Read more articles on Search Engines and Directories.

Google Webmaster Central — Improvements

Google has improved its Webmaster Tool Offerings significantly, and every webmaster should visit http://www.google.com/webmasters/ — which a comprehensive one-stop shop for a lot of information about your site and how Google crawls it. In case of access problems, Google provides you with tools and vital statistics with which to diagnose crawling issues.

Pay special attention to information on backlinks(external) and internal links which are critical aspects of SEO(Search Engine Optimization).  This is a new feature similar to the one found in Yahoo Site Explorer. Also note any HTTP and miscellaneous errors, that will help you fix problems on your site.

| Go there now! | SEO Articles | Web Design Articles | Articles on Search Engines |

Sphere: Related Content

Written by James Opiko on February 22nd, 2007 with no comments.
Read more articles on Search Engines and Directories and Webmaster, Design and Development.

MadagascarLibyaMalawiMoroccoEquatorial GuineaGhanaGuineaGuinea BissauEgyptEritreaEthiopiaGabonGambiaIvory CoastBeninBurkina FasoCape VerdeCentral African RepublicChadBotswanaBurundiCameroonCongoDjiboutiAngola