<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ZENVERSE &#187; css</title>
	<atom:link href="http://zenverse.net/tag/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://zenverse.net</link>
	<description>Design and Web Development</description>
	<lastBuildDate>Tue, 31 Jan 2012 02:46:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>CSS &amp; JavaScript: Increase Page Load Speed by Compressing Files</title>
		<link>http://zenverse.net/css-javascript-increase-page-load-speed-by-compressing-files/</link>
		<comments>http://zenverse.net/css-javascript-increase-page-load-speed-by-compressing-files/#comments</comments>
		<pubDate>Wed, 23 Mar 2011 02:18:34 +0000</pubDate>
		<dc:creator>Brian Flores</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://zenverse.net/?p=1950</guid>
		<description><![CDATA[As a website owner, you must pay attention to how quickly your website loads.  In order to obtain high speed page loads across your website, compressing your CSS and JavaScript can do just the trick.  You may have tried the conventional Gzip compression tools after you uploaded your files to your server, but you should also consider these tools that offer you better compression rates before you actually upload your files.]]></description>
			<content:encoded><![CDATA[<p>As a website owner, you must pay attention to how quickly your website loads.  In order to obtain high speed page loads across your website, compressing your CSS and JavaScript can do just the trick.  You may have tried the conventional Gzip compression tools after you uploaded your files to your server, but you should also consider these tools that offer you better compression rates before you actually upload your files.  This provides you with the convenience of uploading your heavy CSS and JavaScript files in a refined and compressed rate.</p>
<p><strong>Do you really need to compress your files?</strong></p>
<p>If you want to check out if your website needs loading improvement, the <a target="_blank" href="http://siteloadtest.com/">Site Load Tool</a> offers you such convenience by monitoring the response rate of your website.  Just paste your URL in the online tool interface provided so you can really check out if you need to compress your website’s files.  Once you’re done with that, below are some of the top tools you should check out to compress your files.</p>
<p><strong>Tools for Compressing Your Files</strong></p>
<p>1. <a target="_blank" href="http://www.jscompressor.com/">JS Compressor</a> &#8211; Source code can contain characters that are not needed.  These characters, primarily new line, comments, white space and so much more, add up to the file size.  This tool removes these characters, giving you that boost in loading speed.</p>
<p><img class="alignnone size-full wp-image-339" style="border: 1px solid black" src="http://www.brianalexflores.com/wp-content/uploads/2011/03/JavaScript-Compressor.jpg" alt="" width="540" height="349" /></p>
<p>2. <a target="_blank" href="http://dean.edwards.name/packer/">Packer</a> &#8211; A very simple compression tool, paste your code in and the tool automatically compresses your source code for optimal performance.</p>
<p><img class="alignnone size-full wp-image-341" style="border: 1px solid black" src="http://www.brianalexflores.com/wp-content/uploads/2011/03/Packer-Screencap.jpg" alt="" width="540" height="457" /></p>
<p>3. <a target="_blank" href="http://code.google.com/closure/">Google Closure Compiler</a> &#8211; This compiler efficiently condenses your code as well as checks for syntax errors and others that may hinder streamlined performance.</p>
<p><img class="alignnone size-full wp-image-338" style="border: 1px solid black" src="http://www.brianalexflores.com/wp-content/uploads/2011/03/Google-Closure-Compiler-Screencap.jpg" alt="" width="540" height="226" /></p>
<p>4. <a target="_blank" href="http://developer.yahoo.com/yui/compressor/">YUI Compressor</a> &#8211; This compressor by Yahoo! integrates effective source code compression to provide you the needed improvement for your JavaScript files.</p>
<p><img class="size-full wp-image-344 alignnone" style="border: 1px solid black" src="http://www.brianalexflores.com/wp-content/uploads/2011/03/YUI-Compressor-Screencap.jpg" alt="" width="540" height="344" /></p>
<p>5. <a target="_blank" href="http://www.crockford.com/javascript/jsmin.html">JSMin</a> &#8211; Notable for reducing file size in half, this tool removes characters that are not necessary, increasing the loading speed for your files.</p>
<p><img class="alignnone size-full wp-image-340" style="border: 1px solid black" src="http://www.brianalexflores.com/wp-content/uploads/2011/03/JSMin-Screencap.jpg" alt="" width="540" height="419" /></p>
<p>6. <a target="_blank" href="http://code.google.com/p/minify/">Minify</a> &#8211; This three-in-one compressor that combines a “minifying” and caching tool, is useful for compressing your JavaScript and CSS files in order to increase page load speed.</p>
<p><img class="alignnone size-full wp-image-348" style="border: 1px solid black" src="http://www.brianalexflores.com/wp-content/uploads/2011/03/Minify.jpg" alt="" width="540" height="233" /></p>
<p>7. <a target="_blank" href="https://github.com/jetheredge/SquishIt">SquishIt</a> &#8211;  This streamlined compression tool conveniently combines and compresses your JavaScript and CSS files.</p>
<p><img class="alignnone size-full wp-image-343" style="border: 1px solid black" src="http://www.brianalexflores.com/wp-content/uploads/2011/03/Squishit.jpg" alt="" width="540" height="246" /></p>
<p>With these important tools at hand, you can surely increase your page load speed, providing you with the convenience of easy access to your website.  With this in mind, you&#8217;ll have a much better opportunity to  increase your visitor traffic since visitors will not have to wait as long for the great content you have for them!  So, always try to improve your page speed if you want your website to go a long way in the hustle and bustle of the internet.</p>
]]></content:encoded>
			<wfw:commentRss>http://zenverse.net/css-javascript-increase-page-load-speed-by-compressing-files/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Preload Images using CSS &#8211; For Smooth &amp; Instant Rollover Effect</title>
		<link>http://zenverse.net/preload-multiple-images-using-css-for-rollover-hover/</link>
		<comments>http://zenverse.net/preload-multiple-images-using-css-for-rollover-hover/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 11:33:30 +0000</pubDate>
		<dc:creator>Zen</dc:creator>
				<category><![CDATA[Design Tips]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[hover]]></category>
		<category><![CDATA[preload]]></category>
		<category><![CDATA[rollover]]></category>

		<guid isPermaLink="false">http://zenverse.net/?p=304</guid>
		<description><![CDATA[To improve your website's design or user experience, you might need to preload some images for smooth hover or rollover. Instead of using javascript to preload the images, we can do that using CSS.]]></description>
			<content:encoded><![CDATA[<p>To improve your website&#8217;s design or user experience, you might need to preload some images for smooth hover or rollover. Instead of using javascript to preload the images, we can do that using CSS.</p>
<h4>1. A container that hold the images to be preloaded</h4>
<p>The HTML :</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p304code1'); return false;">View Code</a> HTML</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p3041"><td class="code" id="p304code1"><pre class="html" style="font-family:monospace;">....
&lt;body&gt;
&lt;div class=&quot;preload&quot;&gt;
&lt;img src=&quot;IMAGE_TO_PRELOAD_1&quot; /&gt;
&lt;img src=&quot;IMAGE_TO_PRELOAD_2&quot; /&gt;
&lt;img src=&quot;IMAGE_TO_PRELOAD_3&quot; /&gt;
&lt;/div&gt;
...
...</pre></td></tr></table></div>

<p>The CSS:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p304code2'); return false;">View Code</a> CSS</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p3042"><td class="code" id="p304code2"><pre class="css" style="font-family:monospace;"><span style="color: #6666ff;">.preload</span> <span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span><span style="color: #993333;">absolute</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">:</span><span style="color: #933;">0px</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">:</span><span style="color: #933;">0px</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">1px</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #933;">1px</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">visibility</span><span style="color: #00AA00;">:</span><span style="color: #993333;">hidden</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">overflow</span><span style="color: #00AA00;">:</span><span style="color: #993333;">hidden</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p><strong>EXPLAINATION</strong></p>
<ul>
<li>We place the container after &lt;body&gt; and assign an absolute position to it because usually there will not be anything at that position.</li>
<li>We make the container 1 pixel width and height so that visitors cannot see it. </li>
<li>Besides, we need to set its overflow to hidden so that the overflow wouldn&#8217;t be visible.</li>
<li>Lastly, change its visibility to hidden so that the container is invisible (but it is still there and most importantly it loads)</li>
</ul>
<p>&nbsp;</p>
<h4>2. Demo &#038; Rollover Code</h4>
<div style="position:absolute;top:0px;left:0px;width:1px;height:1px;visibility:hidden;overflow:hidden;">
<img src="http://zenverse.net/wp-content/uploads/2009/06/csshover_2.jpg" /></div>
<p>Demo:<br />
<img src="http://zenverse.net/wp-content/uploads/2009/06/csshover_1.jpg" onmouseout="this.src='http://zenverse.net/wp-content/uploads/2009/06/csshover_1.jpg'" onmouseover="this.src='http://zenverse.net/wp-content/uploads/2009/06/csshover_2.jpg'" /></p>
<p>The Code:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p304code3'); return false;">View Code</a> HTML</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p3043"><td class="code" id="p304code3"><pre class="html" style="font-family:monospace;">&lt;div style=&quot;position:absolute;top:0px;left:0px;width:1px;height:1px;visibility:hidden;overflow:hidden;&quot;&gt;
&lt;img src=&quot;http://zenverse.net/wp-content/uploads/2009/06/csshover_2.jpg&quot; /&gt;&lt;/div&gt;
&nbsp;
&lt;img src=&quot;http://zenverse.net/wp-content/uploads/2009/06/csshover_1.jpg&quot; onmouseout=&quot;this.src='http://zenverse.net/wp-content/uploads/2009/06/csshover_1.jpg'&quot; onmouseover=&quot;this.src='http://zenverse.net/wp-content/uploads/2009/06/csshover_2.jpg'&quot; /&gt;</pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://zenverse.net/preload-multiple-images-using-css-for-rollover-hover/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Create a Fancy Search Box using CSS</title>
		<link>http://zenverse.net/create-a-fancy-search-box-using-css/</link>
		<comments>http://zenverse.net/create-a-fancy-search-box-using-css/#comments</comments>
		<pubDate>Mon, 08 Jun 2009 09:14:39 +0000</pubDate>
		<dc:creator>Zen</dc:creator>
				<category><![CDATA[Design Tips]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[fancy]]></category>
		<category><![CDATA[photoshop tutorial]]></category>
		<category><![CDATA[searchbox]]></category>

		<guid isPermaLink="false">http://zenverse.net/?p=100</guid>
		<description><![CDATA[Nowadays, most websites come with a search box to improve surfing experience. To make your website looks good, beside having a nice looking theme, you would need a fancy search box to replace the classic ones.]]></description>
			<content:encoded><![CDATA[<p>Nowadays, most websites come with a search box to improve surfing experience. To make your website looks good, beside having a nice looking theme, you would need a fancy search box to replace the classic ones.</p>
<h3>Let&#8217;s start</h3>
<h4>1. Design your own search box</h4>
<p><img src="http://img196.imageshack.us/img196/5701/searchbox.jpg" alt="" /><br />
In this example, I will use this as my search box.</p>
<h4>2. Crop it out</h4>
<p>Make sure the background color outside the search box is the same as your design. Now crop the <strong>whole</strong> search box out.</p>
<p>result: <img src="http://img196.imageshack.us/img196/5701/searchbox.jpg" alt="" /></p>
<h4>3. Create a blank image as submit button</h4>
<p><img src="http://img196.imageshack.us/img196/690/10017207.jpg" alt="" /><br />
The picture above explained all.</p>
<h4>4. HTML codes for the search box</h4>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p100code4'); return false;">View Code</a> HTML</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p1004"><td class="code" id="p100code4"><pre class="html" style="font-family:monospace;">&lt;div id=&quot;searchwrapper&quot;&gt;&lt;form action=&quot;&quot;&gt;
&lt;input type=&quot;text&quot; class=&quot;searchbox&quot; name=&quot;s&quot; value=&quot;&quot; /&gt;
&lt;input type=&quot;image&quot; src=&quot;THE_BLANK_SUBMIT_BUTTON_IMAGE&quot; class=&quot;searchbox_submit&quot; value=&quot;&quot; /&gt;
&lt;/form&gt;
&lt;/div&gt;</pre></td></tr></table></div>

<p>Replace the &#8220;THE_BLANK_SUBMIT_BUTTON_IMAGE&#8221; with the image at step 3.</p>
<h4>5. CSS codes for my search box</h4>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p100code5'); return false;">View Code</a> CSS</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p1005"><td class="code" id="p100code5"><pre class="css" style="font-family:monospace;"><span style="color: #cc00cc;">#searchwrapper</span> <span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">310px</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/*follow your image's size*/</span>
<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #933;">40px</span><span style="color: #00AA00;">;</span><span style="color: #808080; font-style: italic;">/*follow your image's size*/</span>
<span style="color: #000000; font-weight: bold;">background-image</span><span style="color: #00AA00;">:</span><span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span>THE_SEARCH_BOX_IMAGE<span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">background-repeat</span><span style="color: #00AA00;">:</span><span style="color: #993333;">no-repeat</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/*important*/</span>
<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #933;">0px</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #933;">0px</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span><span style="color: #993333;">relative</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/*important*/</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#searchwrapper</span> form <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span><span style="color: #993333;">inline</span> <span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #6666ff;">.searchbox</span> <span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span><span style="color: #933;">0px</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/*important*/</span>
<span style="color: #000000; font-weight: bold;">background-color</span><span style="color: #00AA00;">:</span><span style="color: #993333;">transparent</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/*important*/</span>
<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span><span style="color: #993333;">absolute</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/*important*/</span>
<span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">:</span><span style="color: #933;">4px</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">:</span><span style="color: #933;">9px</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">256px</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #933;">28px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #6666ff;">.searchbox_submit</span> <span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span><span style="color: #933;">0px</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/*important*/</span>
<span style="color: #000000; font-weight: bold;">background-color</span><span style="color: #00AA00;">:</span><span style="color: #993333;">transparent</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/*important*/</span>
<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span><span style="color: #993333;">absolute</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/*important*/</span>
<span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">:</span><span style="color: #933;">4px</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">:</span><span style="color: #933;">265px</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">32px</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #933;">28px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p>Basically what&#8217;s going on :<br />
<strong>#searchwrapper</strong> wrap the whole search box, carrying the whole search box image as its background image.<br />
<strong>.searchbox</strong> is the text area to enter search keyword, given a transparent background and no border.<br />
<strong>.searchbox_submit</strong> is the submit button, also given a transparent background and no border. </p>
<p><strong><em><u>NOTE:</u></em></strong><br />
Both <strong>.searchbox</strong> and <strong>.searchbox_submit</strong> have been given an absolute position, you should modify their position, width and height according to your own search box.</p>
<p><img src="http://img5.imageshack.us/img5/2875/unfftitled1.jpg" alt="" /></p>
<h3>That&#8217;s it.</h3>
<p>Hope this helps!</p>
]]></content:encoded>
			<wfw:commentRss>http://zenverse.net/create-a-fancy-search-box-using-css/feed/</wfw:commentRss>
		<slash:comments>75</slash:comments>
		</item>
	</channel>
</rss>

