Stephan Spencer's Scatterings

The Scattered Wisdom of a scientist turned web marketing virtuoso

July 2008
S M T W T F S
 << <   > >>
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    

Ecommerce Best Practice Tip #5 - Streamline your site

Is your ecommerce site a breeze to use? Is it fast to download? Does it render (paint) quickly on the screen? If not, is the HTML at least built to display the most important parts of the page first?

You can trim precious seconds off the download time by removing superfluous HTML code, optimizing your images, and converting any tables-based layouts to CSS-based (Cascading Style Sheets) instead. Especially ditch any nested tables. Superfluous code includes such things as programmer comments, commented-out copy/code, redundant font tags, inline JavaScripts and inline CSS. The latter two can, in most cases, be moved to a .JS file and .CSS file, respectively. MS FrontPage is notorious for adding 'code bloat' to your pages. Optimizing your images for fast download includes not just choosing the best compression format and compressing them to the largest extent possible (using Photoshop, Fireworks, or whatever your tool of choice is) without noticeable degradation in the image quality, but also defining height and width attributes on all your images. And if you're still using 1-pixel GIFs as placeholders to align things on your pages, it's time to leave that technique where it belongs... in the '90s! A tool like Dr. Watson or NetMechanic's HTML Toolbox can also help you in your HTML streamlining efforts.

1 comment, 1 pingback

  1. [...] 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. [...]

    Pingback by Taking full advantage of CSS @ Stephan Spencer’s Scatterings [Visitor] — 05/30/06 @ 20:37


  2. popular free ringtones

    www.thehotstop.info

    signature...

    Comment by freeeeringtones [Visitor] Email · http://www.thehotstop.info — 08/18/07 @ 11:58


Leave a comment


Your email address will not be revealed on this site.

Your URL will be displayed.
(Line breaks become <br />)
(Name, email & website)
(Allow users to contact you through a message form (your email will not be revealed.)