<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>CSS Globe | Web Standards Magazine</title><link>http://www.cssglobe.com/</link><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/cssglobearticles" /><description>Css Globe Articles</description><language>en-us</language><sy:updatePeriod xmlns:sy="http://purl.org/rss/1.0/modules/syndication/">hourly</sy:updatePeriod><sy:updateFrequency xmlns:sy="http://purl.org/rss/1.0/modules/syndication/">1</sy:updateFrequency><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/cssglobearticles" /><feedburner:info uri="cssglobearticles" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>cssglobearticles</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item><title>Easy Percentage Grid System with HTML5</title><link>http://feedproxy.google.com/~r/cssglobearticles/~3/JzYLimVcgis/easy-percentage-grid-system-with-html5</link><pubDate>Tue, 22 Mar 2011 02:04:00 PDT</pubDate><guid isPermaLink="false">http://www.cssglobe.com/post/9849/easy-percentage-grid-system-with-html5</guid><description>&lt;p&gt;Web grid systems help front end coders to layout a document faster. In this article I am presenting a &lt;strong&gt;percentage based grid system&lt;/strong&gt; that is included in the &lt;a href="http://easyframework.com/"&gt;Easy framework's&lt;/a&gt; CSS. &lt;/p&gt;
&lt;p&gt;The main characteristics of this grid system is that all the columns have &lt;strong&gt;percentage based width&lt;/strong&gt; so they adapt to the container element. It means that with using this system you will not have to define a width of each column by hand, you can simply throw it inside any container and the column widths and column gutters will be automatically set. &lt;/p&gt;
&lt;p&gt;&lt;a href="http://cssglobe.com/lab/percentage_grid/index.html"&gt;&lt;img src="http://cssglobe.com/lab/percentage_grid/img.jpg" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This system supports up to 6 equal width columns, so you can choose anywhere from 2 to 6 columns in the set. In each column set you can have double, triple, quadruple or even quintuple columns. The column gutters are set to 2 percent for each column set, so in case you have different column sets in one container you will have equal column gutters. &lt;/p&gt;
&lt;h3&gt;Naming the columns and column containers&lt;/h3&gt;
&lt;p&gt;Grid system often compromise the semantics. Unfortunately that is something we have to live with if we want to use this kind of approach. &lt;br&gt;
Important thing about Easy Percentage Grid System is that column containers must have the base class name &lt;strong&gt;&lt;em&gt;cols&lt;/em&gt;&lt;/strong&gt; (as in columns - &lt;strong&gt;plural&lt;/strong&gt;) while each column must have a class name &lt;em&gt;&lt;strong&gt;col&lt;/strong&gt;&lt;/em&gt; (column - &lt;strong&gt;singular&lt;/strong&gt;). By using this base classes alone the grid system can properly display two equal columns. So this code&lt;/p&gt;
&lt;pre&gt;&amp;lt;div class=&amp;quot;cols&amp;quot;&amp;gt;
    &amp;lt;div class=&amp;quot;col first&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;
    &amp;lt;div class=&amp;quot;col&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;
&amp;lt;/div&amp;gt;&lt;/pre&gt;
&lt;p&gt;can be used for creating 2 equal columns. Note the class name &lt;strong&gt;&lt;em&gt;first&lt;/em&gt;&lt;/strong&gt;. I am using it (along with :first-child pseudo selector) to erase the left margin for the first column. &lt;/p&gt;
&lt;p&gt;If you want to create more than 2 column set you need to add a class name &lt;em&gt;&lt;strong&gt;colsX&lt;/strong&gt;&lt;/em&gt; to the container where &lt;em&gt;&lt;strong&gt;X&lt;/strong&gt;&lt;/em&gt; represents the number of columns in the set. Here's a sample:&lt;/p&gt;
&lt;pre&gt;&amp;lt;div class=&amp;quot;cols cols4&amp;quot;&amp;gt;
    &amp;lt;div class=&amp;quot;col first&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;
    &amp;lt;div class=&amp;quot;col&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;
    &amp;lt;div class=&amp;quot;col&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;
    &amp;lt;div class=&amp;quot;col&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;
&amp;lt;/div&amp;gt;&lt;/pre&gt;
&lt;p&gt;If you need to include a column with multiple width (double or triple width column) you can add a class name &lt;em&gt;&lt;strong&gt;colX&lt;/strong&gt;&lt;/em&gt; where &lt;em&gt;&lt;strong&gt;X&lt;/strong&gt;&lt;/em&gt; is the number that defines how wide the column is. Again note the &lt;strong&gt;singular&lt;/strong&gt; here! Here's an example of 5 columns set where second column is double the width of the default ones.&lt;/p&gt;
&lt;pre&gt;&amp;lt;div class=&amp;quot;cols cols5&amp;quot;&amp;gt;
    &amp;lt;div class=&amp;quot;col first&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;
    &amp;lt;div class=&amp;quot;col col2&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;
    &amp;lt;div class=&amp;quot;col&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;
    &amp;lt;div class=&amp;quot;col&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;
&amp;lt;/div&amp;gt;&lt;/pre&gt;
&lt;h3&gt;Demos&lt;/h3&gt;
&lt;p&gt;Take a look at the demos to see how it all looks like.&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;a href="http://cssglobe.com/lab/percentage_grid/index.html"&gt;2, 3 and 4 columns demo - fixed width&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="http://cssglobe.com/lab/percentage_grid/cols5.html"&gt;5 columns demo - fixed width&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="http://cssglobe.com/lab/percentage_grid/cols6.html"&gt;6 columns demo - fixed width&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="http://cssglobe.com/lab/percentage_grid/index_fluid.html"&gt;2, 3 and 4 columns demo - fluid width&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="http://cssglobe.com/lab/percentage_grid/cols5_fluid.html"&gt;5 columns demo - fluid width&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="http://cssglobe.com/lab/percentage_grid/cols6_fluid.html"&gt;6 columns demo - fluid width&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;So, to recap, Easy Percentage Grid System features:&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;place inside any fluid or fixed width container&lt;/strong&gt;, without having to worry about each column width&lt;/li&gt;
  &lt;li&gt;supports up to 6 equal columns &lt;/li&gt;
  &lt;li&gt; supports multiple width columns (double width, triple width etc.)&lt;/li&gt;
  &lt;li&gt; column gutters have the same width for each column set&lt;/li&gt;
  &lt;li&gt; basic, solid CSS styling for HTML elements included&lt;/li&gt;
&lt;/ul&gt;
&lt;p class="imp"&gt;
	&lt;a href="http://cssglobe.com/lab/percentage_grid/easy_grid.zip" title="Download"&gt;Download the Easy Percentage Grid System&lt;/a&gt;
&lt;/p&gt;


&lt;h3&gt;&lt;strong&gt;Edit:&lt;/strong&gt; Column Padding&lt;/h3&gt;
&lt;p&gt;It is possible to add side paddings to columns &lt;strong&gt;expressed in percentages&lt;/strong&gt; too. The principle would be, add padding you desire to the "global" column definition (let's say we want 1% side padding):&lt;/p&gt;

&lt;pre&gt;.col, .col2, .col3, .col4, .col5{
    float:left;
    display:inline;	
    margin-left:2%;
    padding:0 1%;
    background:#f1f1f1; /* only for demo purposes - remove this line */
    }&lt;/pre&gt;
    
&lt;p&gt;What we need to do is &lt;strong&gt;decrease&lt;/strong&gt; the width of each column by &lt;strong&gt;double that percentage&lt;/strong&gt;. Left padding 1% and right padding 1% makes 2% decrease in column width. So instead of 49% width for default column, &lt;strong&gt;it will now be 47%&lt;/strong&gt;. You need to manually adjust the width for each column, but it's not that big edit. I prepared a 1% side padding demo for you.&lt;/p&gt; 

&lt;p&gt;&lt;a href="http://cssglobe.com/lab/percentage_grid/index_padding.html"&gt;Take a look at the fixed width container demo with 1% side padding&lt;/a&gt;&lt;/p&gt;
		&lt;hr /&gt;&lt;p&gt;Copyright: &lt;a href="http://cssglobe.com"&gt;Css Globe&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/cssglobearticles?a=JzYLimVcgis:F8FyD63H630:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/cssglobearticles?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/cssglobearticles?a=JzYLimVcgis:F8FyD63H630:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/cssglobearticles?i=JzYLimVcgis:F8FyD63H630:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/cssglobearticles?a=JzYLimVcgis:F8FyD63H630:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/cssglobearticles?i=JzYLimVcgis:F8FyD63H630:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/cssglobearticles?a=JzYLimVcgis:F8FyD63H630:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/cssglobearticles?i=JzYLimVcgis:F8FyD63H630:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/cssglobearticles/~4/JzYLimVcgis" height="1" width="1"/&gt;</description><feedburner:origLink>http://www.cssglobe.com/post/9849/easy-percentage-grid-system-with-html5</feedburner:origLink></item><item><title>Easy Paginate - jQuery plugin for pagination</title><link>http://feedproxy.google.com/~r/cssglobearticles/~3/TttIAiyPSqA/easy-paginate-jquery-plugin-for-pagination</link><pubDate>Wed, 09 Mar 2011 02:16:00 PST</pubDate><guid isPermaLink="false">http://www.cssglobe.com/post/9801/easy-paginate-jquery-plugin-for-pagination</guid><description>&lt;p&gt;Today I am presenting a simple jQuery plugin I made. This plugin allows you to browse easily through the list of items with pagination controls. It is very easy to implement and very lightweight so it might come in handy to use in your own projects. It's main purpose is to view certain number of list items at once, but it can also be set up to view one item by one. &lt;/p&gt;
&lt;p&gt;&lt;a href="http://cssglobe.com/lab/easypaginate/02.html" title="View Easy Paginate Demo"&gt;&lt;img src="http://cssglobe.com/lab/easypaginate/img.jpg" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p class="imp"&gt;
	&lt;a href="http://cssglobe.com/lab/easypaginate/01.html" title="View Easy Paginate Demo"&gt;Simple demo&lt;/a&gt;
    &lt;a href="http://cssglobe.com/lab/easypaginate/02.html" title="View Easy Paginate Demo"&gt;Styled demo&lt;/a&gt; 
    &lt;a href="http://cssglobe.com/lab/easypaginate/03.html" title="View Easy Paginate Demo"&gt;Auto pagination&lt;/a&gt;
    &lt;a href="http://cssglobe.com/lab/easypaginate/easypaginate.zip" title="Download Easy Paginate"&gt;Download the plugin&lt;/a&gt;
&lt;/p&gt;
&lt;h3&gt;How does it work?&lt;/h3&gt;
&lt;p&gt;The plugin takes a list of items, calculates a number of child elements of a certain object, divides it by step parameter (which can be easily adjusted) and generates &amp;quot;control buttons&amp;quot;. Controls are inserted immediately after the selected object in a form of ordered list. &lt;/p&gt;
&lt;p&gt;For target object I recommend using unordered list, although plugin will work with any other type of element that contains any type of child elements. If you want to have it set up that way, child elements can be of a different type!&lt;/p&gt;
&lt;p&gt;To apply this plugin you will of course need to link to jQuery library and the plugin js file:&lt;/p&gt;
&lt;pre&gt;&amp;lt;script type=&amp;quot;text/javascript&amp;quot; src=&amp;quot;https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;
  &amp;lt;script type=&amp;quot;text/javascript&amp;quot; src=&amp;quot;js/easypaginate.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;/pre&gt;
&lt;p&gt;You will need to initiate the plugin:&lt;/p&gt;
&lt;pre&gt;&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;
  
  jQuery(function($){ 
  $('ul#items').easyPaginate();
  }); 
  
&amp;lt;/script&amp;gt;&lt;/pre&gt;
&lt;p&gt;This is the source code for the target object I am using in my example:&lt;/p&gt;
&lt;pre&gt;&amp;lt;ul id=&amp;quot;items&amp;quot;&amp;gt;
  &amp;lt;li&amp;gt;Page 1&amp;lt;/li&amp;gt;
  &amp;lt;li&amp;gt;Page 2&amp;lt;/li&amp;gt;
  &amp;lt;li&amp;gt;Page 3&amp;lt;/li&amp;gt;
  &amp;lt;li&amp;gt;Page 4&amp;lt;/li&amp;gt;
  &amp;lt;li&amp;gt;Page 5&amp;lt;/li&amp;gt;
  &amp;lt;li&amp;gt;Page 6&amp;lt;/li&amp;gt;
  &amp;lt;li&amp;gt;Page 7&amp;lt;/li&amp;gt;
  &amp;lt;li&amp;gt;Page 8&amp;lt;/li&amp;gt;
  &amp;lt;li&amp;gt;Page 9&amp;lt;/li&amp;gt;
  &amp;lt;li&amp;gt;Page 10&amp;lt;/li&amp;gt;
  &amp;lt;li&amp;gt;Page 11&amp;lt;/li&amp;gt;
  &amp;lt;li&amp;gt;Page 12&amp;lt;/li&amp;gt;
  &amp;lt;li&amp;gt;Page 13&amp;lt;/li&amp;gt;
  &amp;lt;li&amp;gt;Page 14&amp;lt;/li&amp;gt;
&amp;lt;/ul&amp;gt;&lt;/pre&gt;
&lt;p&gt;This is the generated source code for control buttons (inserted immediately after the target element):&lt;/p&gt;
&lt;pre&gt;&amp;lt;ol id=&amp;quot;pagination&amp;quot;&amp;gt;
  &amp;lt;li class=&amp;quot;prev&amp;quot;&amp;gt;Previous&amp;lt;/li&amp;gt;
  &amp;lt;li class=&amp;quot;current&amp;quot; data-index=&amp;quot;1&amp;quot;&amp;gt;1&amp;lt;/li&amp;gt;
  &amp;lt;li data-index=&amp;quot;2&amp;quot;&amp;gt;2&amp;lt;/li&amp;gt;
  &amp;lt;li data-index=&amp;quot;3&amp;quot;&amp;gt;3&amp;lt;/li&amp;gt;
  &amp;lt;li data-index=&amp;quot;4&amp;quot;&amp;gt;4&amp;lt;/li&amp;gt;
  &amp;lt;li class=&amp;quot;next&amp;quot;&amp;gt;Next&amp;lt;/li&amp;gt;
&amp;lt;/ol&amp;gt;&lt;/pre&gt;
&lt;h3&gt;Options&lt;/h3&gt;
&lt;p&gt;There are several options you can modify. First and most important is the step parameter. Step parameter defines how many child items will be visible at a time. It is also used in calculating of number of pages. By default this parameter is set to 4. To use your own step value, change the step parameter:&lt;/p&gt;
&lt;pre&gt;jQuery(function($){
  
  $('ul#items').easyPaginate({
  step:3
  });
  
}); &lt;/pre&gt;
&lt;p&gt;Here's the full list of available options:&lt;/p&gt;
&lt;h4&gt;step&lt;/h4&gt;
&lt;p&gt;&lt;strong&gt;Default value:&lt;/strong&gt; 4&lt;br&gt;
Defines a number of items visible on each &amp;quot;page&amp;quot;. &lt;/p&gt;
&lt;h4&gt;delay&lt;/h4&gt;
&lt;p&gt;&lt;strong&gt;Default value:&lt;/strong&gt; 100&lt;br&gt;
Items on each &amp;quot;page&amp;quot; fade in one by one. This parameter controls the pause between each item's appearance so we can create &amp;quot;wave&amp;quot; effect. It is defined in milliseconds. &lt;/p&gt;
&lt;h4&gt;numeric&lt;/h4&gt;
&lt;p&gt;&lt;strong&gt;Default value:&lt;/strong&gt; true&lt;br&gt;
Boolean. If set to true then the numeric pagination buttons will show. &lt;/p&gt;
&lt;h4&gt;nextprev&lt;/h4&gt;
&lt;p&gt;&lt;strong&gt;Default value:&lt;/strong&gt; true&lt;br&gt;
Boolean. If set to true then the next and previous pagination buttons will show. &lt;/p&gt;
&lt;h4&gt;auto&lt;/h4&gt;
&lt;p&gt;&lt;strong&gt;Default value:&lt;/strong&gt; false&lt;br /&gt;
  Boolean. If set to true then the plugin will automatically rotate the &amp;quot;pages&amp;quot;
&lt;/p&gt;
&lt;h4&gt;pause&lt;/h4&gt;
&lt;p&gt;&lt;strong&gt;Default value:&lt;/strong&gt; 4000&lt;br /&gt;
  If set to auto pagination, this parameter controls the length of the pause in milliseconds between each &amp;quot;page turn&amp;quot;.
&lt;/p&gt;
&lt;h4&gt;clickstop&lt;/h4&gt;
&lt;p&gt;&lt;strong&gt;Default value:&lt;/strong&gt; true&lt;br /&gt;
If set to auto pagination, this parameter controls whether the pages will continue to automatically rotate. If you want to continue the rotation set this parameter to false. &lt;/p&gt;
&lt;h4&gt;controls&lt;/h4&gt;
&lt;p&gt;&lt;strong&gt;Default value:&lt;/strong&gt; 'pagination'&lt;br&gt;
As mentioned, the plugin generates an ordered list for the purpose of navigating through &amp;quot;pages&amp;quot;. This parameter defines the list's ID.&lt;/p&gt;
&lt;h4&gt;current&lt;/h4&gt;
&lt;p&gt;&lt;strong&gt;Default value:&lt;/strong&gt; 'current'&lt;br&gt;
This parameter defines a class name of a current &amp;quot;page&amp;quot; in the numeric navigation. It is used for styling purposes. &lt;/p&gt;
&lt;p&gt;If you want to create multiple paginations on the same page, have in mind that this plugin uses IDs to target control buttons so you need to define control id parameter for each pagination.&lt;/p&gt;
&lt;p&gt;Enjoy! ;)&lt;/p&gt;

		&lt;hr /&gt;&lt;p&gt;Copyright: &lt;a href="http://cssglobe.com"&gt;Css Globe&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/cssglobearticles?a=TttIAiyPSqA:frIEb-tGWqw:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/cssglobearticles?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/cssglobearticles?a=TttIAiyPSqA:frIEb-tGWqw:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/cssglobearticles?i=TttIAiyPSqA:frIEb-tGWqw:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/cssglobearticles?a=TttIAiyPSqA:frIEb-tGWqw:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/cssglobearticles?i=TttIAiyPSqA:frIEb-tGWqw:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/cssglobearticles?a=TttIAiyPSqA:frIEb-tGWqw:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/cssglobearticles?i=TttIAiyPSqA:frIEb-tGWqw:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/cssglobearticles/~4/TttIAiyPSqA" height="1" width="1"/&gt;</description><feedburner:origLink>http://www.cssglobe.com/post/9801/easy-paginate-jquery-plugin-for-pagination</feedburner:origLink></item><item><title>jQuery plugin: Easy Image Zoom</title><link>http://feedproxy.google.com/~r/cssglobearticles/~3/QsmiYbjVLl0/jquery-plugin-easy-image-zoom</link><pubDate>Mon, 21 Feb 2011 02:29:00 PST</pubDate><guid isPermaLink="false">http://www.cssglobe.com/post/9711/jquery-plugin-easy-image-zoom</guid><description>&lt;p&gt;I have been working on a little script for a client of mine, that required product image magnification. The task was to create a script that will allow users to see large details of the product while moving cursor over medium sized image. During the process I decided to create a jQuery plugin and share it with you guys!&lt;/p&gt;
&lt;p&gt;Just as with all my script I try to keep things as lightweight as possible, and most important, as customizable as possible. I hope you'll find this very easy to apply to your own websites. &lt;/p&gt;
&lt;p&gt;&lt;img src="http://cssglobe.com/lab/easyzoom/img.jpg" /&gt;&lt;/p&gt;
&lt;p class="imp"&gt;
	&lt;a href="http://cssglobe.com/lab/easyzoom/easyzoom.html" title="View Easy Zoom Demo"&gt;Take a look at the demo&lt;/a&gt; or
    &lt;a href="http://cssglobe.com/lab/easyzoom/easyzoom.zip" title="Download Easy Zoom"&gt;Download the plugin&lt;/a&gt;
&lt;/p&gt;
&lt;h3&gt;Introduction&lt;/h3&gt;
&lt;p&gt;First I suggest you &lt;a href="http://cssglobe.com/lab/easyzoom/easyzoom.html"&gt;check out the demo&lt;/a&gt; to see what the plugin is all about. Then come back here and continue reading this article :) &lt;/p&gt;
&lt;h3&gt;Markup&lt;/h3&gt;
&lt;p&gt;I usually start this section of my articles with the same sentence: &amp;quot;the markup couldn't be simpler&amp;quot; :) The main idea behind this and other plugins I write is - keeping the markup as simple as possible. No unnecessary elements and bloated HTML. Also markup (for all of my plugins) makes content accessible even with JavaScript turned off, which is important. &lt;/p&gt;
&lt;p&gt;All you need for this plugin to work is anchor element containing the small image linking to the large image, but this structure is required:&lt;/p&gt;
&lt;pre&gt;&amp;lt;a href=&amp;quot;large.jpg&amp;quot;&amp;gt;&amp;lt;img src=&amp;quot;small.jpg&amp;quot; alt=&amp;quot;Small image&amp;quot; /&amp;gt;&amp;lt;/a&amp;gt;&lt;/pre&gt;
&lt;p&gt;The script (and CSS) takes care fo the rest. &lt;/p&gt;
&lt;h3&gt;Options&lt;/h3&gt;
&lt;p&gt;This plugin is customizable with several options and simple CSS definitions. In terms of CSS all you need to do is define the newly created image zoom element's size, position and appearance. In my demo I am using this definition:&lt;/p&gt;
&lt;pre&gt;#easy_zoom{
	width:600px;
	height:400px;	
	border:5px solid #eee;
	background:#fff;
	color:#333;
	position:absolute;
	top:15px;
	left:400px;
	overflow:hidden;
	-moz-box-shadow:0 0 10px #555;
	-webkit-box-shadow:0 0 10px #555;
	box-shadow:0 0 10px #555;
	/* vertical and horizontal alignment used for preloader text */
	line-height:400px;
	text-align:center;
	}&lt;/pre&gt;
&lt;p&gt;You will notice the &lt;em&gt;line-height&lt;/em&gt; property... I am using if for vertical alignment of the message text that is displayed while the detailed image is loading. Of course you can use your own positioning methods, your own text, insert extra markup if you want to and add your own CSS to style the preloader. Perhaps some preloader gif as a preloader image? I'll leave that to you, what I am showing here is a bare-bone example that you can easily customize. &lt;/p&gt;
&lt;p&gt;Let's take a look at the plugin options. Here is a list of them with default values and descriptions:&lt;/p&gt;
&lt;h4&gt;id &lt;/h4&gt;
&lt;p&gt;&lt;strong&gt;Default value:&lt;/strong&gt; &amp;quot;easy_zoom&amp;quot;&lt;br&gt;
The ID of the newly created image zoom element. Of course you can use your own, but make sure you update the CSS accordingly.&lt;/p&gt;
&lt;h4&gt;parent&lt;/h4&gt;
&lt;p&gt;&lt;strong&gt;Default value:&lt;/strong&gt; &amp;quot;body&amp;quot;&lt;br&gt;
  This defines the DOM element where newly created image zoom element will be inserted. You can insert it anywhere you like in the DOM by editing this option.&lt;/p&gt;
&lt;h4&gt;append&lt;/h4&gt;
&lt;p&gt;&lt;strong&gt;Default value:&lt;/strong&gt; &amp;quot;true&amp;quot;&lt;br&gt;
If set to true (by default) the newly created element will be inserted as a last child of the parent element. If this option is set to false then the newly created element will be inserted as a first child of the parent element. &lt;/p&gt;
&lt;h4&gt;preload&lt;/h4&gt;
&lt;p&gt;&lt;strong&gt;Default value:&lt;/strong&gt; &amp;quot;Loading...&amp;quot;&lt;br&gt;
A message that appears before the large image is loaded. You can use this option to write your own preload messages and insert any HTML you want. If you want to use the preloader gifs, I suggest you go with background images.&lt;/p&gt;
&lt;h4&gt;error&lt;/h4&gt;
&lt;p&gt;&lt;strong&gt;Default value:&lt;/strong&gt; &amp;quot;There has been a problem with loading the image.&amp;quot;&lt;br&gt;
In case the large image is not found or can't be loaded, this error message will appear. You can use this option for custom error messages. &lt;/p&gt;
&lt;p&gt;Here's a sample code for using some custom options:&lt;/p&gt;
&lt;pre&gt;jQuery(function($){
	
	$('a.zoom').easyZoom({
		id: 'imagezoom',
		preload: '&amp;lt;p class="preloader"&amp;gt;Loading the image&amp;lt;/p&amp;gt;'
		parent: '#container'
	});

});&lt;/pre&gt;
&lt;p&gt;In one of the next articles here on CSS Globe I will offer a one page portfolio template that uses this image preview, so stay tuned! &lt;/p&gt;

		&lt;hr /&gt;&lt;p&gt;Copyright: &lt;a href="http://cssglobe.com"&gt;Css Globe&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/cssglobearticles?a=QsmiYbjVLl0:aXPP5Q3-sm8:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/cssglobearticles?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/cssglobearticles?a=QsmiYbjVLl0:aXPP5Q3-sm8:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/cssglobearticles?i=QsmiYbjVLl0:aXPP5Q3-sm8:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/cssglobearticles?a=QsmiYbjVLl0:aXPP5Q3-sm8:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/cssglobearticles?i=QsmiYbjVLl0:aXPP5Q3-sm8:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/cssglobearticles?a=QsmiYbjVLl0:aXPP5Q3-sm8:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/cssglobearticles?i=QsmiYbjVLl0:aXPP5Q3-sm8:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/cssglobearticles/~4/QsmiYbjVLl0" height="1" width="1"/&gt;</description><feedburner:origLink>http://www.cssglobe.com/post/9711/jquery-plugin-easy-image-zoom</feedburner:origLink></item><item><title>The Anatomy of a Perfect Login Page</title><link>http://feedproxy.google.com/~r/cssglobearticles/~3/ho2HmvKzMUo/the-anatomy-of-a-perfect-login-page</link><pubDate>Wed, 16 Feb 2011 01:07:00 PST</pubDate><guid isPermaLink="false">http://www.cssglobe.com/post/9688/the-anatomy-of-a-perfect-login-page</guid><description>&lt;p&gt;In this article I am going to analyze what a perfect login page or login form should have. Also you are able to &lt;a href="http://cssglobe.com/lab/login/login.zip"&gt;download&lt;/a&gt; the &lt;strong&gt;pure CSS3 login form&lt;/strong&gt; for free. &lt;/p&gt;
&lt;p&gt;Login forms are very simple in terms of the required elements. When it comes to forms, it doesn't get simpler than that. But some of the elements that could be valuable to your users (or potential members) are often neglected. &lt;/p&gt;
&lt;p&gt;Let's take a look at what I think are necessary elements.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://cssglobe.com/lab/login/01.html" title="View login page demo"&gt;&lt;img src="http://cssglobe.com/lab/login/login.jpg" alt="login page" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p class="imp"&gt;&lt;a href="http://cssglobe.com/lab/login/01.html" title="View CSS3 login form demo page"&gt;Take a look at the login page&lt;/a&gt; or 
&lt;a href="http://cssglobe.com/lab/login/login.zip" title="Download the login page demo"&gt;Download the demo&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;1. The title &lt;/h3&gt;
&lt;p&gt;I believe that each form should have a prominent title that briefly explains what the form is about. If you use login page, like in my example, it is important to mention the name of your website here, so the accidental visitors know where they are.&lt;/p&gt;
&lt;h3&gt;2. Non members&lt;/h3&gt;
&lt;p&gt;Non-member visitors may stumble upon your login page one way or another. Why not think of them and offer them a direct link to the registration page. It will save them some time and you increase your chance of more new member signing up.&lt;/p&gt;
&lt;h3&gt;3. Input fields and labels&lt;/h3&gt;
&lt;p&gt;Although login forms usually contain two input fields, it is important that they're styled nicely so the labels are readable, and there is no. One thing that I often notice on the various websites is the lack of clickable labels. You should use FOR attribute on labels "connect" them with appropriate input field. It is such a small effort when coding and it can make a huge difference in terms if usability. &lt;/p&gt;
&lt;h3&gt;4. Forgot password link&lt;/h3&gt;
&lt;p&gt;This is also very important link. Many users have numerous accounts and passwords and they often can't remember which one they used on your site. The best placement for this link is near the password field itself. &lt;/p&gt;
&lt;h3&gt;5. Submit button&lt;/h3&gt;
&lt;p&gt;This should, of course, be the most prominent thing in the form. For best results (by results I mean best user experience) it should always look like a button. &lt;/p&gt;
&lt;h3&gt;6. Remember me&lt;/h3&gt;
&lt;p&gt;Very useful feature that your returning users will appreciate. If your application supports it, include this option and your members will be thankful. &lt;br&gt;
One thing that I believe that is very important is wrapping the checkbox and the text inside the same label. Checkboxes are small and therefor hard to click on. If you wrap entire text inside the label, you enlarge the clickable area and that way making the life easier for your users.&lt;/p&gt;
&lt;h3&gt;7. Back link&lt;/h3&gt;
&lt;p&gt;If you have full login pages, then you MUST allow users to change their mind about logging in and provide a link back to your home page. &lt;/p&gt;
&lt;h3&gt;Validation&lt;/h3&gt;
&lt;p&gt;&lt;a href="http://cssglobe.com/lab/login/01.html" title="View login page demo"&gt;&lt;img src="http://cssglobe.com/lab/login/validation.jpg" alt="login page" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Although the form shouldn't rely on JavaScript validation alone, I believe that JavaScript based validation scripts are important. They provide instant filtering of the valid data, allowing users to immediately correct their info and also making sure that the valid data is sent to the server-side.&lt;/p&gt;
&lt;h3&gt;Demo&lt;/h3&gt;
&lt;p&gt;I have prepared a &lt;a href="http://cssglobe.com/lab/login/01.html"&gt;demo page&lt;/a&gt; for you to &lt;a href="http://cssglobe.com/lab/login/login.zip"&gt;download&lt;/a&gt; (for free). The login page is contains a &lt;strong&gt;pure CSS3 styled form&lt;/strong&gt; and a simple validation script, ideal for &lt;strong&gt;learning purposes&lt;/strong&gt;. Hope you'll enjoy it!&lt;/p&gt;

		&lt;hr /&gt;&lt;p&gt;Copyright: &lt;a href="http://cssglobe.com"&gt;Css Globe&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/cssglobearticles?a=ho2HmvKzMUo:fSbl7AjbAW8:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/cssglobearticles?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/cssglobearticles?a=ho2HmvKzMUo:fSbl7AjbAW8:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/cssglobearticles?i=ho2HmvKzMUo:fSbl7AjbAW8:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/cssglobearticles?a=ho2HmvKzMUo:fSbl7AjbAW8:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/cssglobearticles?i=ho2HmvKzMUo:fSbl7AjbAW8:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/cssglobearticles?a=ho2HmvKzMUo:fSbl7AjbAW8:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/cssglobearticles?i=ho2HmvKzMUo:fSbl7AjbAW8:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/cssglobearticles/~4/ho2HmvKzMUo" height="1" width="1"/&gt;</description><feedburner:origLink>http://www.cssglobe.com/post/9688/the-anatomy-of-a-perfect-login-page</feedburner:origLink></item><item><title>Drawing Calendar Icon With CSS3</title><link>http://feedproxy.google.com/~r/cssglobearticles/~3/i8dyTwbOacA/drawing-calendar-icon-with-css3</link><pubDate>Mon, 07 Feb 2011 07:48:00 PST</pubDate><guid isPermaLink="false">http://www.cssglobe.com/post/9641/drawing-calendar-icon-with-css3</guid><description>&lt;p&gt;In this article I am going to use some of the CSS tricks to create a calendar icon you can use for your blog posts or something similar. It is important to notify that there are no images used here and the markup couldn't be simpler than it is.&lt;/p&gt;
&lt;p&gt;The final result looks like the image below.&lt;/p&gt;
&lt;p&gt;&lt;img src="http://cssglobe.com/lab/calendar/img.jpg" /&gt;&lt;/p&gt;
&lt;p class="imp"&gt;&lt;a href="http://cssglobe.com/lab/calendar/01.html" title="View Pure CSS Calendar Icon Demo"&gt;Take a look at the demo&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;HTML&lt;/h3&gt;
&lt;p&gt;As mentioned the HTML I am using for making this calendar icon to work is very simple:&lt;/p&gt;
&lt;pre&gt;&amp;lt;p class=&amp;quot;calendar&amp;quot;&amp;gt;7 &amp;lt;em&amp;gt;February&amp;lt;/em&amp;gt;&amp;lt;/p&amp;gt;&lt;/pre&gt;
&lt;p&gt;We have a wrapping paragraph, although you may go with the DIV (or HTML5's new element - TIME). Inside the wrapping element you need one extra element that contains a month's name.&lt;/p&gt;
&lt;h3&gt;The principle&lt;/h3&gt;
&lt;p&gt;Now, I have 2 elements to work with, plus I will create 2 pseudo element for each of the real elements which will give me total of 6 elements I can use to draw shapes and position them properly. Pseudo elements will be used for the calendar's spiral (actually those are some kind of rings, not sure what is the correct English word for it... sorry about that). &lt;/p&gt;
&lt;p&gt;If you take a look at the image below the idea behind this will be more clear. &lt;/p&gt;
&lt;p&gt;&lt;img src="http://cssglobe.com/lab/calendar/scheme.gif" /&gt;&lt;/p&gt;
&lt;p&gt;First we style the container element. You will notice that I used box-shadow, border-radius and CSS gradients. Not all browsers will render all of these properties, but at least it will degrade nicely. &lt;br /&gt;
  Note that the fixed height is not defined, you control the overall height with line-height properties in both container and nested em element.
&lt;/p&gt;
&lt;pre&gt;.calendar{
	margin:.25em 10px 10px 0;
	padding-top:5px;
	float:left;
	width:80px;
	background:#ededef;
	background: -webkit-gradient(linear, left top, left bottom, from(#ededef), to(#ccc)); 
	background: -moz-linear-gradient(top,  #ededef,  #ccc); 
	font:bold 30px/60px Arial Black, Arial, Helvetica, sans-serif;
	text-align:center;
	color:#000;
	text-shadow:#fff 0 1px 0;	
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	border-radius:3px;	
	position:relative;
	-moz-box-shadow:0 2px 2px #888;
	-webkit-box-shadow:0 2px 2px #888;
	box-shadow:0 2px 2px #888;
	}&lt;/pre&gt;
&lt;p&gt;Em element is also styled, it contains the month's name.&lt;/p&gt;
&lt;pre&gt;.calendar em{
	display:block;
	font:normal bold 11px/30px Arial, Helvetica, sans-serif;
	color:#fff;
	text-shadow:#00365a 0 -1px 0;	
	background:#04599a;
	background:-webkit-gradient(linear, left top, left bottom, from(#04599a), to(#00365a)); 
	background:-moz-linear-gradient(top,  #04599a,  #00365a); 
	-moz-border-radius-bottomright:3px;
	-webkit-border-bottom-right-radius:3px;	
	border-bottom-right-radius:3px;
	-moz-border-radius-bottomleft:3px;
	-webkit-border-bottom-left-radius:3px;	
	border-bottom-left-radius:3px;	
	border-top:1px solid #00365a;
	}&lt;/pre&gt;
&lt;p&gt;Now I am styling the pseudo elements. Container's pseudo elements (:before and :after) are used to create thos circles, &amp;quot;holes in te paper&amp;quot;.&lt;/p&gt;
&lt;pre&gt;.calendar:before, .calendar:after{
	content:'';
	float:left;
	position:absolute;
	top:5px;	
	width:8px;
	height:8px;
	background:#111;
	z-index:1;
	-moz-border-radius:10px;
	-webkit-border-radius:10px;
	border-radius:10px;
	-moz-box-shadow:0 1px 1px #fff;
	-webkit-box-shadow:0 1px 1px #fff;
	box-shadow:0 1px 1px #fff;
	}
.calendar:before{left:11px;}	
.calendar:after{right:11px;}&lt;/pre&gt;

&lt;p&gt;...and em's pseudo elements are used to create the rings:&lt;/p&gt;
&lt;pre&gt;.calendar em:before, .calendar em:after{
	content:'';
	float:left;
	position:absolute;
	top:-5px;	
	width:4px;
	height:14px;
	background:#dadada;
	background:-webkit-gradient(linear, left top, left bottom, from(#f1f1f1), to(#aaa)); 
	background:-moz-linear-gradient(top,  #f1f1f1,  #aaa); 
	z-index:2;
	-moz-border-radius:2px;
	-webkit-border-radius:2px;
	border-radius:2px;
	}
.calendar em:before{left:13px;}	
.calendar em:after{right:13px;}	&lt;/pre&gt;

&lt;p&gt;There are 2 demos you can check out:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;&lt;a href="http://cssglobe.com/lab/calendar/01.html" title="View Pure CSS Calendar Icon Demo"&gt;Large CSS Calendar Icon&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="http://cssglobe.com/lab/calendar/02.html" title="View Pure CSS Calendar Icon Demo"&gt;Small CSS Calendar Icon&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It is important to say that if you're going to customize the width there will be some tweaking needed, mainly for the placement of the pseudo elements.&lt;/p&gt;
&lt;p&gt;That is it! Enjoy! :)&lt;/p&gt;

		&lt;hr /&gt;&lt;p&gt;Copyright: &lt;a href="http://cssglobe.com"&gt;Css Globe&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/cssglobearticles?a=i8dyTwbOacA:FBYv_RnIqnE:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/cssglobearticles?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/cssglobearticles?a=i8dyTwbOacA:FBYv_RnIqnE:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/cssglobearticles?i=i8dyTwbOacA:FBYv_RnIqnE:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/cssglobearticles?a=i8dyTwbOacA:FBYv_RnIqnE:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/cssglobearticles?i=i8dyTwbOacA:FBYv_RnIqnE:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/cssglobearticles?a=i8dyTwbOacA:FBYv_RnIqnE:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/cssglobearticles?i=i8dyTwbOacA:FBYv_RnIqnE:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/cssglobearticles/~4/i8dyTwbOacA" height="1" width="1"/&gt;</description><feedburner:origLink>http://www.cssglobe.com/post/9641/drawing-calendar-icon-with-css3</feedburner:origLink></item></channel></rss>

