Sunday 31 July 2011

960 Grid System

A link for web designers and developers.

The 960 Grid system allows you to create a website using as 12 or 16 columns each with a 10px margin on the left and right.

Go to their website to learn more

Friday 29 July 2011

Magento Referencing images in the CMS

Referencing an image in the Skin's images Folder
If you want to reference an image in your skin folder, in a page in magento (created using the CMS), use this bit of code in the "src":

{{skin url='images/image.gif'}}

example:
<img src="{{skin url='images/image.gif'}}" alt="alternate text" />

Referencing an image in the Media Folder
If you want to reference an image in the media folder, in a page in magento (created using the CMS), use this bit of code in the "src":

{{media url='images/image.gif'}}

example:
<img src="{{media url='image.gif'}}" alt="alternate text" />