Archive for February, 2009

Email Marketing

Tuesday, February 24th, 2009

Email marketing has been much maligned in years past due to the proliferation of spam by unscrupulous marketeers. There are few things more frustrating than sitting down to check your email only  to wade through countless profane and inane messages sent to you without a single thought. So does email marketing have a legitimate purpose? Sure it does! In 2006, United States firms spent $400 million on email marketing and President Barack Obama would likely be heading back to the United States Senate  if it weren’t for the shrewd use of  email marketing in his 2008 campaign.

One of the  primary roadblocks to effectively using email marketing is compliance with a federal law which can mean an $11,000 fine for each non-compliant email. Luckily this obstacle only takes a bit of common sense and an appropriate dash of technology to overcome. Compliance means conforming to the prescriptive methods of permission based email marketing set forth in the CAN-SPAM Act of 2003. A summary of the federal law can be found in the CAN-SPAM article on Wikipedia. The statute places restrictions on how email is sent, the content it contains, and prescribes methods for opting-out or unsubscribing from the email.  One of the quickest and most cost effective methods of sending out massive amounts of email without getting blacklisted is to use a reputable email marketing service like iContact or Constant Contact.  Prices for these services vary on the size of your email list and the features that you would like to use, but basically all these different services let you create custom forms for your website where your users signup to receive your emails. The user is then sent an automatic email to make sure they want to sign up, this is known as “double opt-in.” The client is then placed in your email database on the service which can be centrally administered. You then have a single place to track the performance of your email marketing campaign and see if you need to make any changes to your strategy. The dashboard shows how many people opened your email and also how many took action and clicked through to your website.

Getting back to the original premise, using an email marketing service like iContact can keep your customers, vendors, and friends aware of new products, services, or specials that your company may be offering. Studies have shown that customers that are consistently “touched” or contacted on a regular basis are more likely to make a purchase. So take advantage of their trial period and take your email marketing to the next level.

Good luck!

—Alan

The img Element Vs the CSS background-image Property

Friday, February 13th, 2009

Don’t know when to use the img element or when to use the CSS background-image property? Don’t fret; there is hope. Read further and all shall be revealed.

The img element is best used for pictures that are completely unrelated to the stylesheet. That is, pictures that would need to display no matter how much the look of the site changes. These would be pictures related to a news article or photos in a gallery.

The CSS background-image property is for images that make up the appearance of the stylesheet. These pictures on one stylesheet would be different or just completely absent on another stylesheet. They don’t add to the content of the page in any way and are only there to give the page its “look”. These image files would be stored in the stylesheet’s images folder. (See my last post for more on this.)

Just another tip from your uncle Kyle!

—Kyle Blizzard

Organizing Your CSS Files

Friday, February 13th, 2009

When I create a web site, I like to organize my stylesheets and images into a specific folder structure. It keeps things tidy and separates presentation files (stylesheets and images) from content files (pages and images related to the content). It also leaves room for additional stylesheet “themes” for your site.

Here is an example of this folder structure:

/styles/
/styles/default/
/styles/default/images/

Default in this example would be the name of the “theme”. The sites I develop typically do not have multiple themes for the user to pick, so I don’t usually take the time to give them fancy names. However, if your site utilizes multiple stylesheets that the user could choose from (such as at the CSS Zen Garden), creative names would be helpful.

All stylesheets for the Default theme would be placed in the /styles/default/ folder. Likewise, images used by those stylesheets would go in the /styles/default/images/ folder.

This method keeps your styles consolidated and makes it easy to use them across multiple sites. All you need to do is copy the folder to the other site; you don’t need to pick through the images folder and figure out which ones are used by the stylesheet and which ones aren’t.

Technically, you wouldn’t even need to copy anything to another site. You could just specify the full URL in the link element or @import rule on the page, but I urge you not to do this. Your visitors may be using security software that sees cross-site references as malicious, thus blocking the stylesheet from downloading or, worse, blocking the entire page.

—Kyle Blizzard