SEO Web Development

Taking full advantage of CSS

May 30th, 2006

by Stephan Spencer

CSS (Cascading Style Sheets) offers many more benefits beyond that of streamlined web pages with table-less layouts and precise positioning (no more transparent 1-pixel spacer GIFs!), mentioned in my previous post. Indeed, that’s just scratching the surface of CSS.

Here are some more clever things you can do with CSS to get your website really humming:

  • Reorder your content to sit above your top and left navigation in the HTML. That will boost the keyword prominence on your pages, which is good for SEO. Then use CSS to get the page to still display as you want. CSS Zen Garden is a great example of this in action… for example, notice how the HTML doesn’t change between this layout with left-side nav and this one with right-side nav; it’s only the CSS that’s changing.
  • If you must use graphical navigation or headings instead of text-based, then use the CSS “image replacement” technique to substitute in a text link or heading tag, respectively, when the CSS is not loaded (as is the case when the search engine spiders come to visit). For example, northland.edu uses this technique well. Currently, this is much more effective for SEO than Alt attributes.

    Many of the image replacement techniques physically move the text off the screen (text-indent: -9999em; left:-9999em;display:none, etc). This isn’t desirable as search engines are starting to examine external CSS files more closely to look for spam. There are a few image replacement techniques that don’t do this type of hiding and are still accessible, namely The Leahy/Langridge Method, The Gilder/Levin Method and The “Shea Enhancement”. Each of these methods have their pluses and minuses, which the Mezzoblue article outlines quite well. (Thanks to our CSS guru Darren for this last bit of advice.)

  • Learn to code in “CSS shorthand.” With shorthand, hex codes for colors, margins, box dimensions and borders can all be abbreviated, for instance. More about this here. The efficiency of CSS shorthand translates into not only a speedier download for your customers, but also compact and tidy code that’s easier to maintain.
  • Make code that “degrades gracefully” (or, as they prefer to say now in geek circles, “enhances progressively”). Creating a separate “low-bandwidth version” or “printer friendly version” or “mobile version” of your site will sound ludicrous in years to come (heck, I think it sounds ludicrous NOW!), because CSS makes such a thing unnecessary. Check out how gracefully gotomedia.com degrades on a cell phone or PDA, for instance.
  • Correct for browser incompatibility snafus with browser-specific CSS. Does something look awry in your page layout when loading your site with the Safari browser, for instance? Internet Explorer doesn’t always play nice with the other browsers. Until the days where all the browsers follow all the same standards to the letter, browser-specific stylesheets are a useful crutch.
  • Separate the presentation layer from the content layer as much as possible and move it into an external stylesheet (in other words, a separate .CSS file). That way it gets cached by the web browser and doesn’t have to reload with each new page.
  • Plan for site-wide changes. Things change — colors, sidebars, ads, copyright dates, etc. Utilize CSS files and/or server-side includes to make future site-wide updates as painless as possible.
  • Make use of the cascading nature of CSS. Most of the styles you define will be used site-wide. Some will only be for one particular page. Then there will be occasions where you’ll want to “cascade” styles, and have certain sections of your site adopt a particular look/layout/theme that overrides or branches off from the site-wide styles. Clever use of cascading styles can lead to very efficient and elegant code.

    Warning! Geek speek ahead:

  • Be careful of overriding previously declared statements. And also be aware that specificity is important in the cascade. Declare all your tag styles first then declare your id and class selectors down the doc. That way the cascade works and can be overwritten with new selectors. (Thanks again to our CSS guru Darren for this last bit of advice.)

CSS coders: the Web Developer Firefox extension is an awesome tool for coding, debugging, and tweaking style sheets. You can display the stylesheet and the rendered page simultaneously side-by-side and then interactively edit the CSS, immediately viewing the effect of the change on the rendered page. And it makes identifying errors (be they validation, CSS, or JavaScript) a piece-of-cake. Did I mention the plugin is free? :-)

Spread the word: delicious this:Taking full advantage of CSS digg this:Taking full advantage of CSS spurl this:Taking full advantage of CSS furl this:Taking full advantage of CSS reddit this:Taking full advantage of CSS Add to Y!:Taking full advantage of CSS

Blogs and banners power travel agency website: House of Travel’s new site proves a hit

May 22nd, 2006

Originally published in Computerworld

Twelve months after its website redesign, House of Travel saw its onsite sales grow six-fold - results that can be measured in increased traffic to the site and in keyword ranking.

Continue reading »

Spread the word: delicious this:Blogs and banners power travel agency website: House of Travel's new site proves a hit digg this:Blogs and banners power travel agency website: House of Travel's new site proves a hit spurl this:Blogs and banners power travel agency website: House of Travel's new site proves a hit furl this:Blogs and banners power travel agency website: House of Travel's new site proves a hit reddit this:Blogs and banners power travel agency website: House of Travel's new site proves a hit Add to Y!:Blogs and banners power travel agency website: House of Travel's new site proves a hit

School Kids Healthcare

May 20th, 2006

School Kids Health Care screenshotSchool Kids Healthcare offers a complete line of school nurse supplies and school nurse equipment to help school nurses fulfill their mission.

The company came to Netconcepts to establish a complete ebusiness presence. The site we created for them offers more than great nursing supplies and equipment. It offers the latest school kids news and a separate nursing blog, authored by a local school nurse.

[ database | client admin cms | SEO ]

Visit the site: School Kids Healthcare

E-commerce consultancy service vital to their success

TRUSTcite Logo“As a new venture, it was vitally important that clear outcomes and costs were identified and monitored. This is something I found Netconcepts to be excellent at…”

Continue reading »

Spread the word: delicious this:E-commerce consultancy service vital to their success digg this:E-commerce consultancy service vital to their success spurl this:E-commerce consultancy service vital to their success furl this:E-commerce consultancy service vital to their success reddit this:E-commerce consultancy service vital to their success Add to Y!:E-commerce consultancy service vital to their success

DesignTalk

January 23rd, 2006

Design Talk screenshotHomeVisions is a brand of DMSI (Direct Marketing Services Inc.). If you are not familiar with HomeVisions, you might be familiar with some of DMSI’s other brands, including Montgomery Wards.

DesignTalk is a retail blog that strives to educate and add value on the topic of interior design and home decor. The blog is chock full of creative ideas and tips for home decorating organized in many ways, including by room and by application. The blog encourages you to ask a question which could be answered as a blog post, as well as posting a comment. The blog includes a newsletter and, of course, an RSS feed.

[ database | client admin cms | SEO ]

Visit The Site: DesignTalk

Tools For Less

November 21st, 2005

Tools For Less screenshotTools For Less, as the name implies, sells power tools and equipment at discount prices through their online catalog. The ecommerce site developed by Netconcepts is full-featured, with extensive functionality in the back-end administrative interface, and with a clean intuitive user experience for customers.

Among the additional out-of-the-ordinary features offered to customers is a Wish List capability which is integrated throughout the site and is as simple to use as the shopping cart itself.

The site is built search engine friendly, of course, with static looking URLs, unique keyword rich title tags, and more.

[ database | client admin cms | SEO ]

Visit The Site: Tools For Less

Geneva Health

August 2nd, 2005

Geneva Health screenshotGeneva Health is a recruitment company specializing in the health sector, including nursing, medical, clinical support and allied health professionals. Geneva Health has three websites targeting their three primary markets — the UK, Australia and New Zealand. Each is a functionally-rich job site with supporting helpful articles, including such things as CV guidelines, making an overseas move, registration requirements and more. Job applicants can of course apply online. The site is built with search engines in mind, and includes spider friendly URLs along with optimized HTML and content.

[ database | client admin cms | SEO ]

Visit The Site: Geneva Health

Natural Search Optimization and Website Development Clinic

eTail East 2005 — Philadelphia

August 2nd, 2005

Panelist: Stephan Spencer

Another innovation at eTail. Set away from the hurly burly of the conference, we are providing you with the opportunity to get an in-depth diagnostic treatment for your site.

4 dedicated stations will help you optimize every element of your website, from Search, to Analytics to CRM and Visualization, there is a cure for every pain point! Make sure you sign up for your 30-minute session today.

Spread the word: delicious this:Natural Search Optimization and Website Development Clinic digg this:Natural Search Optimization and Website Development Clinic spurl this:Natural Search Optimization and Website Development Clinic furl this:Natural Search Optimization and Website Development Clinic reddit this:Natural Search Optimization and Website Development Clinic Add to Y!:Natural Search Optimization and Website Development Clinic

AntiqueHardware.com

March 2nd, 2005

AntiqueHardware.com screenshotThis ecommerce site offers a range of items from cabinet hardware to telephone booths and from rubber duckies to magnificent clawfoot bathtubs. AntiqueHardware.com offers original restored antiques as well as flawless replica pieces perfect for any home or office. Visitors are greeted with their own account pages and an easily navigated shopping cart experience.

[ database | client admin cms | SEO ]

Visit The Site: Antique Hardware

Marketing Association

February 1st, 2005

The Marketing Association New Zealand screenshotThe Marketing Association, formerly the New Zealand DMA, is an industry body serving New Zealand marketers with professional development, networking, advocacy, government lobbying, and more.

Being on the leading edge of marketing in New Zealand, the organisation needed a website that conveyed that they understood the evolving model of the Web from passive publishing to participatory conversations. So the site was redesigned to have a very bloggy feel to it. Functionality includes a banner ad management system, content management system, and a members-only area.

[ database | client admin cms | SEO ]

Visit The Site: Marketing Association NZ

Pages (4): « 1 [2] 3 4 »


Related tags

and/or
and/or
and/or
and/or
and/or
and/or
and/or
and/or
and/or
and/or

Newsletter

Web marketing virtuoso Stephan Spencer, shares a wealth of emarketing experience and hard-hitting, practical advice in our monthly newsletter. It's full of valuable insights...You should subscribe.








Latest posts
Latest comments


Contact Us

HEADQUARTERS
2820 Walton Commons West, Suite 123
Madison, WI 53718 USA
Phone: (608) 285-6600
Toll-free: 888 207-1109

REGIONAL OFFICE
36 Anzac Rd., Browns Bay
Auckland, New Zealand
Phone: (+64) 9 476-4601
infodesk@netconcepts.com