<?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: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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>CSS Juice</title>
	
	<link>http://www.cssjuice.com</link>
	<description>CSS Juice is a design weblog that aims to inspire creativity by sharing innovative resources and websites to bloggers, freelancers and web designers.</description>
	<pubDate>Thu, 16 Jul 2009 19:44:41 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<image><link>http://cssjuice.com</link><url>http://cssjuice.com/cssjuice-feed.png</url><title>CSS Juice</title></image><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/cssjuice" type="application/rss+xml" /><feedburner:emailServiceId>cssjuice</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
		<title>Best Ways To Write Clean CSS Code</title>
		<link>http://feedproxy.google.com/~r/cssjuice/~3/8lGfLAd3SXk/</link>
		<comments>http://www.cssjuice.com/best-ways-to-write-clean-css-code/#comments</comments>
		<pubDate>Thu, 16 Jul 2009 19:44:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://www.cssjuice.com/?p=1100</guid>
		<description><![CDATA[CSS introduced a set of standards some years ago that has continuously improved over the years of its development. CSS has allowed designers to customize their web pages with the least fuss and no repetitive work through the use of styling tags for positioning and layout.
The transition from CSS 2 to 2.1 brought further useful [...]]]></description>
			<content:encoded><![CDATA[<p>CSS introduced a set of standards some years ago that has continuously improved over the years of its development. CSS has allowed designers to customize their web pages with the least fuss and no repetitive work through the use of styling tags for positioning and layout.</p>
<p>The transition from CSS 2 to 2.1 brought further useful implementations. Though, this doesn’t help much if you write CSS in an untidy fashion. Developers also have to bear in mind the new XHTML compliancy rules. This is not as important as how the developer approaches tags, spacing, and returns in attempts to weave a more readable web page.</p>
<p>Why is clean CSS so important?</p>
<p>Keep aware of these points when writing your CSS code:</p>
<p>1.Use a CSS reset file for cross browser compatibility as this sets any default values to the same value. E.g.<br />
# html, body, div, h1, h2, h3, ul, ol, li, dt, p, table, th, td { margin: 0; padding: 0; }</p>
<p>2.Shorten the CSS code inside braces when applying properties as you may normally do for margins e.g.<br />
p { margin-top: 5px;<br />
margin-right: 5px;<br />
margin-bottom:  10px;<br />
margin-left: 10px; }</p>
<p>This can be written as p {margin: 5px 5px 10px 10px; }</p>
<p>3.The use of too much whitespace in your CSS code can increase the file size of your linking CSS files. Try and use single breaks more often. It does look neater when written double-spaced as it has such a nested format but take care with the amount of whitespace.</p>
<p>4.Help the readability of your code before sending it to your clients or employer. One way is to insert your CSS lines in alphabetical order for each class. This will make properties in styles easier to find. This is a useful implementation if you need to also edit CSS code that has been written by someone else.</p>
<p>5.Do not use too many long descriptive comments as once again these can affect the file size. It is best for reasons pointed out above to use comments to aid your own future edification and for other developers to immediately gain an understanding of the code. It’s useful to write the comments in a descriptive and concise way e.g.<br />
/*****Positions Top Menu and Menu Text*****/</p>
<p>6.Whichever methods you use above, ensure that you are consistent in your CSS writing style. I also recommend these CSS tools to help with cleaning up any CSS issues: HTMLPad, W3C Validation service at http://validator.w3.org/ and its CSS checker at http://jigsaw.w3.org/css-validator/, and finally a free tool called CSS Check at http://htmlhelp.com/tools/csscheck/</p>
<p>CSS will always make the difference when used on web sites as opposed to those sites that omit its usage. Cross browser compatibility, formatting and consistency all play major roles in the design of web pages; CSS if written in a clean fashion will produce sharp looking and loading web sites.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/cssjuice?a=8lGfLAd3SXk:y4KYAp4Me5M:8wAFQBKBrM0"><img src="http://feeds.feedburner.com/~ff/cssjuice?d=8wAFQBKBrM0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=8lGfLAd3SXk:y4KYAp4Me5M:iZ-aAG5SDI8"><img src="http://feeds.feedburner.com/~ff/cssjuice?d=iZ-aAG5SDI8" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=8lGfLAd3SXk:y4KYAp4Me5M:o6nXgad8f78"><img src="http://feeds.feedburner.com/~ff/cssjuice?d=o6nXgad8f78" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=8lGfLAd3SXk:y4KYAp4Me5M:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/cssjuice?i=8lGfLAd3SXk:y4KYAp4Me5M:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=8lGfLAd3SXk:y4KYAp4Me5M:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/cssjuice?i=8lGfLAd3SXk:y4KYAp4Me5M:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/cssjuice/~4/8lGfLAd3SXk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.cssjuice.com/best-ways-to-write-clean-css-code/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.cssjuice.com/best-ways-to-write-clean-css-code/</feedburner:origLink></item>
		<item>
		<title>How to Deploy Web Projects Fast with Deploy</title>
		<link>http://feedproxy.google.com/~r/cssjuice/~3/obnuo1gBsTQ/</link>
		<comments>http://www.cssjuice.com/how-to-deploy-web-projects-fast-with-deploy/#comments</comments>
		<pubDate>Thu, 25 Jun 2009 19:29:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Web Design]]></category>

		<category><![CDATA[CSS]]></category>

		<category><![CDATA[deploy]]></category>

		<category><![CDATA[JavaScript]]></category>

		<category><![CDATA[Jquery]]></category>

		<category><![CDATA[quick development]]></category>

		<category><![CDATA[xhtml]]></category>

		<guid isPermaLink="false">http://www.cssjuice.com/?p=1094</guid>
		<description><![CDATA[Deployment of web applications to a client or internally within a corporate department can be tiresome if your job involves creating and updating applications on a regular basis. Bespoke applications that perform certain database tasks or serve a purpose such as a financial analysis tool are amongst the hundreds of applications deployed every day.
It can [...]]]></description>
			<content:encoded><![CDATA[<p>Deployment of web applications to a client or internally within a corporate department can be tiresome if your job involves creating and updating applications on a regular basis. Bespoke applications that perform certain database tasks or serve a purpose such as a financial analysis tool are amongst the hundreds of applications deployed every day.</p>
<p>It can be a repetitive process having to repeat certain deployment parameters every time you deploy an application. In fact, it can be downright tedious particularly if it’s a big application for the web needing XHTML compliancy and the same folders set up each time.</p>
<p>Enter Deploy – a free open source application for developers. The online tool speeds up the entire deployment process by grouping your project folders into the usual structure without any manual setup.</p>
<p><span id="more-1094"></span></p>
<p>Take a look at the screenshot.</p>
<p style="text-align: center;"><img title="Deploy" src="http://images.ientry.com/cssjuice/deploy.jpg" alt="Deploy" width="398" height="407" /></p>
<p style="text-align: center;">Deploy makes application deployment so easy!</p>
<p style="margin-bottom: 0in;">All you need to do is click the radio buttons of choice for the project folder, hit DEPLOY, and the application creates the project folder in seconds. The important aspects to understand here is how the tedious repetitive tasks are minimized. The application produces valid HTML and XHTML compliancy, valid CSS and folders for images, flash and PHP.</p>
<p style="margin-bottom: 0in;">
<p style="margin-bottom: 0in;">Choosing the XHTML compliancy will generate the necessary code depending on:</p>
<ul>
<li>
<p style="margin-bottom: 0in;">XHTML 1.0 Strict</p>
</li>
<li>
<p style="margin-bottom: 0in;">XHTML 1.0 Transitional</p>
</li>
<li>
<p style="margin-bottom: 0in;">HTML 4.01 Strict</p>
</li>
<li>
<p style="margin-bottom: 0in;">HTML 4.01 Transitional</p>
</li>
</ul>
<p style="margin-bottom: 0in;">This then appends the standard HTML tag to the code:</p>
<p style="margin-bottom: 0in;" lang="de-DE"><span style="font-size: x-small;">&lt;html xmlns=&#8221;http://www.w3.org/1999/xhtml&#8221; xml:lang=&#8221;en&#8221; lang=&#8221;en&#8221;&gt;</span></p>
<p style="margin-bottom: 0in;"><span lang="en-GB">Then the doctype is set </span><span lang="en-GB">depending on your selection, e.g. if you selected XHTML 1.0 Strict, the appended code is:</span></p>
<p style="margin-bottom: 0in;" lang="en-GB"><span style="font-size: x-small;">&lt;!DOCTYPE html PUBLIC &#8220;-//W3C//DTD XHTML 1.0 Strict//EN&#8221; &#8220;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&#8221;&gt;</span></p>
<p style="margin-bottom: 0in;"><span lang="en-GB">If you choose to set up a CSS folder, you can select from 3 choices</span><span lang="en-GB">:</span></p>
<ol>
<li>
<p style="margin-bottom: 0in;" lang="en-GB">None</p>
</li>
<li>
<p style="margin-bottom: 0in;" lang="en-GB">Blank – for a blank 	style.css file</p>
</li>
<li>
<p style="margin-bottom: 0in;"><span lang="en-GB">Reset – for 	cross-browser compatibility (something so easily forgotten)</span></p>
</li>
</ol>
<p style="margin-bottom: 0in;">What’s really great is its bookmarking feature. The application creates a zip file that can be bookmarked so when the developer returns to deploy another application, the zip folder is ready to be created again for the next project folder. So, the framework is structured for you at the click of a button.</p>
<p style="margin-bottom: 0in;">From the application, choose the name of your project, and what needs to be included in the project folder. jQuery is widely used with web applications and this can be selected from the radio buttons. Once you hit the DEPLOY button, your project folder contains the files – index file with tags, title tag, and code linking to the CSS and JavaScript files.</p>
<p style="margin-bottom: 0in;">The software is cross-platform working for PCs (windows, Linux) and MACs. As a developer, you can streamline your monthly deployment tasks and create project folders in no time at the click of a button – and it’s free!</p>
<p style="margin-bottom: 0in;">
<p style="margin-bottom: 0in;">
<p style="margin-bottom: 0in;">
<p style="margin-bottom: 0in;">
<p style="margin-bottom: 0in;" lang="en-GB">
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/cssjuice?a=obnuo1gBsTQ:T6W-Qw7s4Z4:8wAFQBKBrM0"><img src="http://feeds.feedburner.com/~ff/cssjuice?d=8wAFQBKBrM0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=obnuo1gBsTQ:T6W-Qw7s4Z4:iZ-aAG5SDI8"><img src="http://feeds.feedburner.com/~ff/cssjuice?d=iZ-aAG5SDI8" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=obnuo1gBsTQ:T6W-Qw7s4Z4:o6nXgad8f78"><img src="http://feeds.feedburner.com/~ff/cssjuice?d=o6nXgad8f78" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=obnuo1gBsTQ:T6W-Qw7s4Z4:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/cssjuice?i=obnuo1gBsTQ:T6W-Qw7s4Z4:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=obnuo1gBsTQ:T6W-Qw7s4Z4:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/cssjuice?i=obnuo1gBsTQ:T6W-Qw7s4Z4:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/cssjuice/~4/obnuo1gBsTQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.cssjuice.com/how-to-deploy-web-projects-fast-with-deploy/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.cssjuice.com/how-to-deploy-web-projects-fast-with-deploy/</feedburner:origLink></item>
		<item>
		<title>CSS Tools to Make Design Easier</title>
		<link>http://feedproxy.google.com/~r/cssjuice/~3/loQjLAvMLLI/</link>
		<comments>http://www.cssjuice.com/css-tools-to-make-design-easier/#comments</comments>
		<pubDate>Fri, 12 Jun 2009 12:44:01 +0000</pubDate>
		<dc:creator>Derald</dc:creator>
		
		<category><![CDATA[CSS]]></category>

		<category><![CDATA[Web Applications]]></category>

		<category><![CDATA[creators]]></category>

		<category><![CDATA[css tools]]></category>

		<category><![CDATA[easier]]></category>

		<category><![CDATA[frame]]></category>

		<category><![CDATA[generators]]></category>

		<category><![CDATA[menu]]></category>

		<category><![CDATA[PSD]]></category>

		<category><![CDATA[Tools]]></category>

		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.cssjuice.com/?p=1092</guid>
		<description><![CDATA[One of the dreaded things about design and CSS is repeating the same processes all the time.  Things such as creating menus or buttons slow down the process of design, and take away from the designers time that can be spent on other parts of the design.  Here are five generators that can [...]]]></description>
			<content:encoded><![CDATA[<p>One of the dreaded things about design and CSS is repeating the same processes all the time.  Things such as creating menus or buttons slow down the process of design, and take away from the designers time that can be spent on other parts of the design.  Here are five generators that can help any designer speed up the mundane aspects of design.</p>
<p><span id="more-1092"></span><br />
<a href="http://www.webmaster-toolkit.com/css-menu-generator.shtml">CSS Menu Generator</a></p>
<p>This generator gives you the four different menus which you can create.  You have the power over the text, links, and colors used in the menu.  The easy of use with this generator will have you creating menus in no time at all.</p>
<p><a href="http://csscreator.com/?q=tools/layout">CSS Layout Generator</a></p>
<p>The layout generator allows you to create a basic layout using just CSS.  This tool takes the headache out of such things as creating a three column layout.  You are given a preview of the layout as you create it, which makes it easier to see what you are envisioning in your mind.  No matter the amount of expertise you have as a designer, you can get good usage out of this tool.</p>
<p><a href="http://www.devdude.com/tools/css/button_text/">CSS Button Generator</a></p>
<p>Buttons are one of the most boring things to design with in CSS.   Not only are they boring, but most of the time it can take a long time to get them just right.  With CSS Button Generator, you can start creating buttons within a few seconds.  Just choose the background color, border color, and enter some text and your buttons are created.</p>
<p><a href="http://lab.xms.pl/css-generator/">CSS Frame Generator</a></p>
<p>Having frames on your site has been something that has been used since the creation of HTML.  Before CSS, there was the horrible and confusing frame elements in HTML.   Shortly after that, iframe came to the web, and has been dreaded by designers ever since.  CSS Frame Generator makes it easier to create a &#8220;framed&#8221; design using just CSS. </p>
<p><a href="http://psd2cssonline.com/">PSD2CSS Generator</a></p>
<p>Alot of time, designers will create a layout in an image editor such as Photoshop.  After creating the design concept, the designer moves to coding the concept.  Alot of times there has to be changes in the original concept due to either browser issues or limitation with CSS itself.  PSD2CSS will help make the original concept easier to design.  This tool converts the submitted PSD into CSS code.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/cssjuice?a=loQjLAvMLLI:XgIFjJwx1ZY:8wAFQBKBrM0"><img src="http://feeds.feedburner.com/~ff/cssjuice?d=8wAFQBKBrM0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=loQjLAvMLLI:XgIFjJwx1ZY:iZ-aAG5SDI8"><img src="http://feeds.feedburner.com/~ff/cssjuice?d=iZ-aAG5SDI8" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=loQjLAvMLLI:XgIFjJwx1ZY:o6nXgad8f78"><img src="http://feeds.feedburner.com/~ff/cssjuice?d=o6nXgad8f78" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=loQjLAvMLLI:XgIFjJwx1ZY:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/cssjuice?i=loQjLAvMLLI:XgIFjJwx1ZY:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=loQjLAvMLLI:XgIFjJwx1ZY:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/cssjuice?i=loQjLAvMLLI:XgIFjJwx1ZY:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/cssjuice/~4/loQjLAvMLLI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.cssjuice.com/css-tools-to-make-design-easier/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.cssjuice.com/css-tools-to-make-design-easier/</feedburner:origLink></item>
		<item>
		<title>Smooth Your Design and Round Those Corners</title>
		<link>http://feedproxy.google.com/~r/cssjuice/~3/hVtn75LMSIQ/</link>
		<comments>http://www.cssjuice.com/smooth-your-design-and-round-those-corners/#comments</comments>
		<pubDate>Thu, 07 May 2009 20:33:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://www.cssjuice.com/?p=1081</guid>
		<description><![CDATA[Designers are constantly looking for methods to make their design work more slick and smooth. There are various ways of doing this with flash as nothing is smoother than vector graphics. Though, CSS is often overlooked still today as a coding toolset for producing some visually impressive web pages. One popular addition to web pages [...]]]></description>
			<content:encoded><![CDATA[<p>Designers are constantly looking for methods to make their design work more slick and smooth. There are various ways of doing this with flash as nothing is smoother than vector graphics. Though, CSS is often overlooked still today as a coding toolset for producing some visually impressive web pages. One popular addition to web pages is the use of round edges for buttons and boxes.</p>
<p><span id="more-1081"></span>These are great for adding a smooth border to text areas that need to stand out on a page such as testimonials and unique selling points around a product.  Here is an example and is the one we shall create in this tutorial; we shall create a poll form (just the client-side, this tutorial does not cover server side code like ASP):</p>
<p><img class="aligncenter" title="CSS Rounded Example" src="http://images.ientry.com/cssjuice/smooth_your_design_and_round_those_corners/poll_example.png" alt="CSS Rounded Example" width="271" height="355" /></p>
<p>The Submit button is just for display in this example so that you as a designer can see the smooth effects of using rounded edges. The file send_poll_data.asp in the code below would need to be created to collect the form data. Firstly, using your favorite paint program, the images for the round corners need to be created. Though on this occasion, I have included them here for you to download. These are the four corner images which will add the round edges to the box.</p>
<p><a title="Round Corners Images" href="http://images.ientry.com/cssjuice/smooth_your_design_and_round_those_corners/rounded_corners.zip">Download the rounded edges for this tutorial.</a></p>
<p>Ensure you don’t change the filenames. If you wish to use a different color, either create these in your paint program or simply copy these images into your painting tool, and change the color. In Photoshop, this is easy by using the magic wand tool and fill option from the edit menu.</p>
<p>Now for the code: We need to create CSS style tags that define the properties of the box.  The color code for the images is #F58940.  The color of the text in the box is set to blue with the hex code: #1523A6. Feel free to change these attributes as per your web page color styles.</p>
<p>We need 3 styles for this to work, these are: .mainbox, .top, and .bottom. The style .mainbox will set the properties of the rounded box, colors and positioning; adjust as necessary for your web page style:</p>
<p style="border: 1px solid #cccccc; padding: 5px; color: #0000ff;">
<span>.mainbox { background: # F58940;width: 250px;font: 12px Verdana, Arial, Helvetica, sans-serif;color: #1523A6; }</span>
</p>
<p>Also, we shall keep the box away from the edges of the window with:</p>
<p>margin: 0 3px;</p>
<p>We need to ensure that the images for the .top and .bottom styles are not repeated so we add no-repeat.</p>
<p style="border: 1px solid #cccccc; padding: 5px; color: #0000ff;">
<span>.top {</span><br />
<span>background: url(topright.gif) no-repeat right top;</span><br />
<span>}</span>
</p>
<p>The positioning of the image is also needed to be expressed here or you will just have a square box edge as the background color will suppress the images. Append the text right top to the line so the images are displayed on the corners as above.</p>
<p>Ok, so let’s put it all together, here is the full html page code:</p>
<p style="border: 1px solid #cccccc; padding: 5px; color: #0000ff;">
<span>&lt;html></span><br />
<span>&lt;head></span><br />
<span>&lt;title> Smooth Your Design and Round Those Corners&lt;/title></span><br />
<span>&lt;style></span><br />
<span><span>&nbsp;</span><br />
<span>.mainbox {</span><br />
<span>	background: #F58940;</span><br />
<span>	width: 250px;</span><br />
<span>	font: 12px Verdana, Arial, Helvetica, sans-serif;</span><br />
<span>	color: #1523A6;</span><br />
<span>               margin: 0 3px;</span><br />
<span>}</span><br />
<span>.top {</span><br />
<span>	background: url(topright.gif) no-repeat right top;</span><br />
<span>}</span><br />
<span>.bottom {</span><br />
<span>	background: url(bottomright.gif) no-repeat right top;</span><br />
<span>}</span><br />
<span>&nbsp;</span><br />
<span>&nbsp;</span><br />
<span>&lt;/style><br />
<span>&lt;/head></span><br />
<span>&nbsp;</span><br />
<span>&lt;body></span><br />
<span>&lt;div class=&#8221;mainbox&#8221;></span><br />
<span>	&lt;div class=&#8221;top&#8221;>&lt;img src=&#8221;topleft.gif&#8221; alt=&#8221;" width=&#8221;30&#8243; height=&#8221;30&#8243; </span><br />
<span>&nbsp;</span><br />
<span>/>&lt;/div></span><br />
<span>&lt;form name=&#8221;input&#8221; action=&#8221;send_poll_data.asp&#8221; method=&#8221;get&#8221; align=&#8221;middle&#8221;></span><br />
<span>&lt;h2 align=&#8221;middle&#8221;>What is your opinion of the web site?&lt;/h2></span><br />
<span>&nbsp;&nbsp;Best Resource!: </span><br />
<span>&lt;input type=&#8221;radio&#8221; name=&#8221;poll&#8221; value=&#8221;resource&#8221; checked=&#8221;checked&#8221;></span><br />
<span>&lt;br></span><br />
<span>&lt;br></span><br />
<span>&nbsp;&nbsp;Great Info for Learners: </span><br />
<span>&lt;input type=&#8221;radio&#8221; name=&#8221;poll&#8221; value=&#8221;learners&#8221;></span><br />
<span>&lt;br></span><br />
<span>&lt;br></span><br />
<span>&nbsp;&nbsp;Not that informative: </span><br />
<span>&lt;input type=&#8221;radio&#8221; name=&#8221;poll&#8221; value=&#8221;informative&#8221;></span><br />
<span>&lt;br></span><br />
<span>&lt;br></span><br />
<span>&nbsp;&nbsp;Did not really help: </span><br />
<span>&lt;input type=&#8221;radio&#8221; name=&#8221;poll&#8221; value=&#8221;nohelp&#8221;></span><br />
<span>&lt;br>&lt;br></span><br />
<span>&lt;input type =&#8221;submit&#8221; value =&#8221;Submit&#8221;></span><br />
<span>&lt;/form> </span><br />
<span>&nbsp;</span></span><br />
<span>&lt;p></span><br />
<span>Once you hit submit, your poll data will be sent to us. Thanks for your time!</span><br />
<span>&lt;/p></span><br />
<span>&lt;div class=&#8221;bottom&#8221;>&lt;img src=&#8221;bottomleft.gif&#8221; alt=&#8221;" width=&#8221;30&#8243; height=&#8221;30&#8243; </span><br />
<span>&nbsp;</span></span><br />
<span>/>&lt;/div></span><br />
<span>&lt;/div></span><br />
<span>&nbsp;</span><br />
<span>&nbsp;</span><br />
<span>&lt;/body></span><br />
<span>&lt;/html></span>
</p>
<p>Of course, you can change certain parts like the font color, font size, box size, etc. These nice rounded boxes can be used for sales ads, promotions, highlighting a benefit, and so many other uses that can be seen across the web.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/cssjuice?a=hVtn75LMSIQ:FIMeUEZ4wBw:8wAFQBKBrM0"><img src="http://feeds.feedburner.com/~ff/cssjuice?d=8wAFQBKBrM0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=hVtn75LMSIQ:FIMeUEZ4wBw:iZ-aAG5SDI8"><img src="http://feeds.feedburner.com/~ff/cssjuice?d=iZ-aAG5SDI8" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=hVtn75LMSIQ:FIMeUEZ4wBw:o6nXgad8f78"><img src="http://feeds.feedburner.com/~ff/cssjuice?d=o6nXgad8f78" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=hVtn75LMSIQ:FIMeUEZ4wBw:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/cssjuice?i=hVtn75LMSIQ:FIMeUEZ4wBw:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=hVtn75LMSIQ:FIMeUEZ4wBw:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/cssjuice?i=hVtn75LMSIQ:FIMeUEZ4wBw:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/cssjuice/~4/hVtn75LMSIQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.cssjuice.com/smooth-your-design-and-round-those-corners/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.cssjuice.com/smooth-your-design-and-round-those-corners/</feedburner:origLink></item>
		<item>
		<title>Dynamic Font Sizes</title>
		<link>http://feedproxy.google.com/~r/cssjuice/~3/ZAWVFLxQqZw/</link>
		<comments>http://www.cssjuice.com/dynamic-font-sizes/#comments</comments>
		<pubDate>Wed, 08 Apr 2009 18:50:55 +0000</pubDate>
		<dc:creator>Derald</dc:creator>
		
		<category><![CDATA[CSS]]></category>

		<category><![CDATA[Tutorials]]></category>

		<category><![CDATA[Web Design]]></category>

		<category><![CDATA[dynamic font sizes]]></category>

		<category><![CDATA[font-size]]></category>

		<category><![CDATA[JavaScript]]></category>

		<category><![CDATA[JavaScript Events]]></category>

		<guid isPermaLink="false">http://www.cssjuice.com/?p=1075</guid>
		<description><![CDATA[One of the undocumented features on the web is how dynamic it is, especially in a Web 2.0 environment.  Even at today, the web has evolved from what it was in the mid to late 90s.  In the late 90s every site was static, and if something was to be changed it would [...]]]></description>
			<content:encoded><![CDATA[<p>One of the undocumented features on the web is how dynamic it is, especially in a Web 2.0 environment.  Even at today, the web has evolved from what it was in the mid to late 90s.  In the late 90s every site was static, and if something was to be changed it would take the designer or web master to change the page.  Since then, the web has become a even more interactive environments.  The script we are going to be coding today is small, but will give viewers of your site a lot of control over the site&#8217;s font.  While giving the user a lot of control, you can still control the look and feel of your site.</p>
<p><span id="more-1075"></span></p>
<p>To create the &#8220;illusion&#8221; that the user has a lot of control over the font on your site, we will be using a little bit of JavaScript with some CSS.  JavaScript has become the glue that binds a lot of different technologies with HTML.  Using JavaScript, we can return CSS attribute values then edit those value and dynamically replace them.  To get the CSS values with JavaScript we are going to be &#8220;tapping&#8221; into HTML&#8217;s DOM Style Object.  (You can learn more about HTML&#8217;s DOM Style Objects at W3school.com (http://www.w3schools.com/htmldom/dom_obj_style.asp)) The style object we are going to be using is fontSize.  Now that we know what style object we will be needing we can structure our JavaScript to retrieve this value.  The basic structure is document.getElementById(id).style.fontSize, where id is the id of the element you want to edit.  If we had an element name crazy_fonts, then we would use document.getElementById(crazy_fonts).style.fontSize.  If the crazy_fonts element had it&#8217;s font size set at 12px, then JavaScript will return 12px.</p>
<p>So now that we have can get the font size, we can set what JavaScript is returning to a variable, and work with the variable.  Before we change the font size, we will first need to make for sure that the variable we are working with is actually a number.  To do that we will use the JavaScript function named parseInt.  This function will take any not numeric value and remove it from the variable.  So if we use to use something like</p>
<p style="border: 1px solid #cccccc; padding: 5px; color: #0000ff">var font_size = parseInt(document.getElementById(id).style.fontSize);</p>
<p>We can now store the current font size for any element on a site to the variable font_size.  Now that we have a clean numeric number, we can now create a function for the user so that they can change the font size &#8220;without&#8221; needing to edit any files on the server.  Here is the function that we are going to be using.</p>
<p style="border: 1px solid #cccccc; padding: 5px; color: #0000ff">
<span>function ChangeFont(id, change){</span><br />
<span>var block = document.getElementById(id);</span><br />
<span>var font_size = parseInt(document.getElementById(id).style.fontSize);<br />
<span> </span><br />
<span>if (change == &#8216;increase&#8217;){</span><br />
<span>font_size = font_size + 2;</span><br />
<span>block.style.fontSize = font_size + &#8220;px&#8221;;</span><br />
<span>}</span><br />
<span>if (change == &#8216;decrease&#8217;){</span><br />
<span>font_size = font_size - 2;</span><br />
<span>block.style.fontSize = font_size + &#8220;px&#8221;;</span><br />
<span>}</span><br />
<span>}</span></p>
<p>If you don&#8217;t know JavaScript that well, don&#8217;t be afraid of the code.  We will break the function down and you will see that it is very simple.  Let&#8217;s start off with the first line.  function ChangeFont(id, change){.  This is a way to call a function with JavaScript.   With this function, JavaScript is expecting two variable, id and change, to be sent to it.   These variables are going to be used later in the function, and are passed to the function when the user interacts with the site.   More on how that is done later, let&#8217;s go to the next part of the code.</p>
<p style="border: 1px solid #cccccc; padding: 5px; color: #0000ff">
<span>var block = document.getElementById(id);</span><br />
<span>var font_size = parseInt(block.style.fontSize);</span>
</p>
<p>Here we see that there are two JavaScript variables being created.  Var just basically tells the JavaScript handler, the user&#8217;s browser in most parts, that we want to create a variable.  In this case we are creating two variable, block and font_size.   The variable block isn&#8217;t really needed, and you can create the script without it.  Block was added to the script to reduce the amount of typing needed to create the code.   So now instead of typing document.getElementById(id), we can use block.  Speaking of id.  When creating the function we pointed that the script will be expecting a variable named id being sent to it.  With block we are using that variable.  This will allow us to apply this script to any element we would like it to apply to on our site.  By passing the element&#8217;s id, it makes the code reusable.  We already saw the second variable in the code.  This variable will store the value set to the font size of the element we are wanting to change.  Also, notice how instead of typing document.getElementByID(id) we used the block variable.  Now moving to the next nine lines of code.</p>
<p style="border: 1px solid #cccccc; padding: 5px; color: #0000ff">
<span>if (change == &#8216;increase&#8217;){</span><br />
<span>font_size = font_size + 2;</span><br />
<span>block.style.fontSize = font_size + &#8220;px&#8221;;</span><br />
<span>}</span><br />
<span>if (change == &#8216;decrease&#8217;){</span><br />
<span>font_size = font_size - 2;</span><br />
<span>block.style.fontSize = font_size + &#8220;px&#8221;;</span><br />
<span>}</span></p>
<p>These are two if statements, do basically the same thing, just sightly different.  The both if statements are checking the values of the variable change (the second variable passed to the function).  Depending on which if statement is triggered depends on what happens.  If the value of change is &#8220;increase&#8221;, then script increases the current font size by two pixels and sets the element&#8217;s font size to the new size.  If change is set to &#8220;decrease&#8221;, it does the same thing but decreases the font size by two pixels.  After the if statements we close the JavaScript function by using a closing bracket (}). That is it for this part of the JavaScript.  To make the script actually work, we will be using JavaScript&#8217;s Event features very shortly.</p>
<p>Here is a look at the HTML that we will be using.  The HTML will consist of three div elements, and those JavaScript events we were speaking about.</p>
<p style="border: 1px solid #cccccc; padding: 5px; color: #0000ff">
<span>Font:&lt;div onclick=&#8221;ChangeFont(&#8217;meat&#8217;, &#8216;increase&#8217;)&#8221;&gt;+&lt;/div&gt;</span><br />
<span>&lt;div onclick=&#8221;ChangeFont(&#8217;meat&#8217;, &#8216;decrease&#8217;)&#8221;&gt;-&lt;/div&gt;</span><br />
<span>&lt;div id=&#8221;meat&#8221; style=&#8221;font-size: 12px;&#8221;&gt;This font size will change depending on if you click the plus or minus signs..&lt;/div&gt;</span></p>
<p>If you are familiar with JavaScript, then you may understand what is happening, you don&#8217;t understand we can clear that up also.  Lets first look at the HTML that we do know, and we will get back to the  JavaScript Events.   You can tell that there is a div element with a plus (+) sign, and one with a minus (-) sign.  There is another div element, which has an id of meat.  This id can be anything, we are using meat since this is the &#8220;meat&#8221; section of the page.  We can also tell that the id has a font size of 12 pixels which is being controlled by CSS.  If we look back at the first two div elements, you will see the JavaScript event onclick.   What this event does, is &#8220;activates&#8221; or runs the JavaScript code when the element is clicked on.  What the code is telling JavaScript to do is to run the ChangeFont function that we created, and to send the id and change variables.  Depending on which element is click, the script will send meat, and either increase or decrease.  All we need to do now is put all the code together and we have a functioning script that will allow the user to change their font size.</p>
<p style="border: 1px solid #cccccc; padding: 5px; color: #0000ff">
<span>&lt;html&gt;</span><br />
<span>&lt;head&gt;</span><br />
<span>&lt;script language=&#8221;JavaScript&#8221; type=&#8221;text/JavaScript&#8221;&gt;</span><br />
<span>&lt;!&#8211;</span><br />
<span>function ChangeFont(id, change){</span><br />
<span>var block = document.getElementById(id);</span><br />
<span>var font_size = parseInt(document.getElementById(id).style.fontSize);</span><br />
<span>if (change == &#8216;increase&#8217;){</span><br />
<span>font_size = font_size + 2;</span><br />
<span>block.style.fontSize = font_size + &#8220;px&#8221;;</span><br />
<span>}</span><br />
<span>if (change == &#8216;decrease&#8217;){</span><br />
<span>font_size = font_size - 2;</span><br />
<span>block.style.fontSize = font_size + &#8220;px&#8221;;</span><br />
<span>}</span><br />
<span>}</span><br />
<span>&#8211;&gt;</span><br />
<span>&lt;/script&gt;</span><br />
<span>&lt;/head&gt;</span><br />
<span>&lt;body&gt;</span><br />
<span>&lt;div onclick=&#8221;ChangeFont(&#8217;meat&#8217;, &#8216;increase&#8217;)&#8221;&gt;+&lt;/div&gt; &lt;div onclick=&#8221;ChangeFont(&#8217;meat&#8217;, </span><span>&#8216;decrease&#8217;)&#8221;&gt;-&lt;/div&gt;</span><br />
<span>&lt;div id=&#8221;meat&#8221; style=&#8221;font-size: 12px;&#8221;&gt;This font size will change depending on if you click the plus or minus signs..&lt;/div&gt;</span><br />
<span>&lt;/body&gt;</span></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/cssjuice?a=ZAWVFLxQqZw:uNunAX2sq60:8wAFQBKBrM0"><img src="http://feeds.feedburner.com/~ff/cssjuice?d=8wAFQBKBrM0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=ZAWVFLxQqZw:uNunAX2sq60:iZ-aAG5SDI8"><img src="http://feeds.feedburner.com/~ff/cssjuice?d=iZ-aAG5SDI8" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=ZAWVFLxQqZw:uNunAX2sq60:o6nXgad8f78"><img src="http://feeds.feedburner.com/~ff/cssjuice?d=o6nXgad8f78" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=ZAWVFLxQqZw:uNunAX2sq60:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/cssjuice?i=ZAWVFLxQqZw:uNunAX2sq60:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=ZAWVFLxQqZw:uNunAX2sq60:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/cssjuice?i=ZAWVFLxQqZw:uNunAX2sq60:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/cssjuice/~4/ZAWVFLxQqZw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.cssjuice.com/dynamic-font-sizes/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.cssjuice.com/dynamic-font-sizes/</feedburner:origLink></item>
		<item>
		<title>Designing For Those With Disabilities</title>
		<link>http://feedproxy.google.com/~r/cssjuice/~3/2Hm8CYVm94E/</link>
		<comments>http://www.cssjuice.com/designing-for-those-with-disabilities/#comments</comments>
		<pubDate>Mon, 23 Mar 2009 21:27:09 +0000</pubDate>
		<dc:creator>Derald</dc:creator>
		
		<category><![CDATA[CSS]]></category>

		<category><![CDATA[Resources]]></category>

		<category><![CDATA[Tutorials]]></category>

		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.cssjuice.com/?p=1071</guid>
		<description><![CDATA[An article on DeveloperFox brings up an important subject, one that most developers seem to forget.   That subject is how do people with disabilities use your site?

We can collect all kinds of data for websites, like where people are coming from, what browser they are using, what operating system they are using, but one stat [...]]]></description>
			<content:encoded><![CDATA[<p>An article on <a title="How Accessable is your Website? - DeveloperFox.com" href="http://www.developerfox.com/how-accessible-is-your-website/979">DeveloperFox</a> brings up an important subject, one that most developers seem to forget.   That subject is how do people with disabilities use your site?</p>
<p><span id="more-1071"></span></p>
<p>We can collect all kinds of data for websites, like where people are coming from, what browser they are using, what operating system they are using, but one stat that we really can&#8217;t verify is how well does our site work for people with disabilities.   So how can you design your site to allow these users to enjoy the site as much as those without disabilities?</p>
<p>One way is to have alternate versions of your site, or ways to modify your current version.   CNN does a great job at this on their site.   For people who have a partially blind, they added a feature to increase the font size of their site.   This can be done with a little bit of JavaScript.  The great thing is there are free versions of code which will allow you include this feature into your site.</p>
<p>The DeveloperFox article also talked about people who are color blind.  When designing your site, think of colors which are not  very similar to each other, especially if your site uses color for important parts of the site like navigation. <a title="As Seen By The Color Blind - ColourLovers" href="http://www.colourlovers.com/blog/2008/07/24/as-seen-by-the-color-blind/">Colourlovers.com</a> has a great article about how some popular sites like Google and Twitter look to those who are color blind.</p>
<p>The next two disabilities are the oppoisite of each other, but with just a little extra work on a designers part, can be taken care of very easy.  The first is blindness.  The web, or a computer in general, takes on a completely different role for those who are blind.   The  World Wide Web Consortium (W3C) has taken steps in both HTML and CSS to make for sure that they provide standards which benefit the blind also.  In HTML, there are alt attributes, which can be used by screen readers, help to explain what the image is for those who can&#8217;t see the image.  CSS even has built in ways to handle different types of equipment that the blind may use while visiting a website.  Most designers may not have even heard of them but the are part of the media types which CSS supports.   Aural handles information for speech synthesizers, like screen readers.  There is also braille, which handles braille devices, and embosses for braile printers.</p>
<p>A great way to test your site to see how friendly it is to those who are blind, is to turn off your monitor or close your eyes, and use a screen reader.  This will allow you to find flaws on your site, flaws that people without disabilities may not notice, like a video playing over top of a screen reader.</p>
<p>Deafness is a disability which a designer doesn&#8217;t think about.  Most designers think of the web as a mix of text, and colors, but the web is starting to expand into a more media centered experience.   With video sites like YouTube and Hulu becoming more popular, even smaller sites are starting to get into the video, podcast craze of the web.  One suggestion is if you do have audio on your site, create a transcript of the audio.  That way those who can&#8217;t hear will be able to get the information which they can not hear.  Just like expericening your site as those who are blind, turn off the sound on your computer and try to understand what is happening on a video you never saw before.   You can then see how much harder it is for those who can&#8217;t hear to get information from your site.</p>
<p>For those of use without disabilities it is hard to imagine designing and using the web without the senses that we rely on every day.  A really good designer will keep those with disabilities in mind when creating a site.   They will be able to make a site enjoyable for both those with and without disabilities.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/cssjuice?a=2Hm8CYVm94E:Qk5L7wP3k5A:8wAFQBKBrM0"><img src="http://feeds.feedburner.com/~ff/cssjuice?d=8wAFQBKBrM0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=2Hm8CYVm94E:Qk5L7wP3k5A:iZ-aAG5SDI8"><img src="http://feeds.feedburner.com/~ff/cssjuice?d=iZ-aAG5SDI8" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=2Hm8CYVm94E:Qk5L7wP3k5A:o6nXgad8f78"><img src="http://feeds.feedburner.com/~ff/cssjuice?d=o6nXgad8f78" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=2Hm8CYVm94E:Qk5L7wP3k5A:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/cssjuice?i=2Hm8CYVm94E:Qk5L7wP3k5A:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=2Hm8CYVm94E:Qk5L7wP3k5A:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/cssjuice?i=2Hm8CYVm94E:Qk5L7wP3k5A:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/cssjuice/~4/2Hm8CYVm94E" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.cssjuice.com/designing-for-those-with-disabilities/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.cssjuice.com/designing-for-those-with-disabilities/</feedburner:origLink></item>
		<item>
		<title>How to over design with CSS.</title>
		<link>http://feedproxy.google.com/~r/cssjuice/~3/_-WNHrVjw2A/</link>
		<comments>http://www.cssjuice.com/how-to-over-design-with-css/#comments</comments>
		<pubDate>Thu, 19 Feb 2009 22:23:38 +0000</pubDate>
		<dc:creator>Derald</dc:creator>
		
		<category><![CDATA[CSS]]></category>

		<category><![CDATA[Resources]]></category>

		<category><![CDATA[Tutorials]]></category>

		<category><![CDATA[Web 2.0]]></category>

		<category><![CDATA[annoying]]></category>

		<category><![CDATA[bad design]]></category>

		<category><![CDATA[filter]]></category>

		<category><![CDATA[mosue cursor]]></category>

		<category><![CDATA[transitions]]></category>

		<guid isPermaLink="false">http://www.cssjuice.com/?p=1068</guid>
		<description><![CDATA[Is there such a thing as an over designed site with CSS?  Yes, over designing with CSS can be done.  You may think that sounds strange, but it is true.  When your visitors are annoyed by something you designed via CSS, then you have over designed.  Starting with Internet Explorer version 5.5, Microsoft added their [...]]]></description>
			<content:encoded><![CDATA[<p>Is there such a thing as an over designed site with CSS?  Yes, over designing with CSS can be done.  You may think that sounds strange, but it is true.  When your visitors are annoyed by something you designed via CSS, then you have over designed.  Starting with Internet Explorer version 5.5, Microsoft added their own set of filter and transitions to CSS.  These proprietary CSS attributes are only supported by IE, but they will help us describe how you can over design using CSS. Continue reading some examples over where CSS can over step those boundaries that would cause users to be annoyed.</p>
<p><span id="more-1068"></span></p>
<p>Starting with Internet Explorer version 5.5, Microsoft added their own set of filter and transitions to CSS.  These proprietary CSS attributes are only supported by IE, but they will help us describe how you can over design using CSS. The filters that Microsoft was including were suppose to help make web sites seem more like a presentation.  At the time this seemed like a great idea, but designers started using them way to much, similar to the blink or marquee HTML tags in the mid to late 90&#8217;s.  The HTML tags are now looked on as horrible designing because they are hated so much.  Why were those tags horrible?  They would annoy visitors and designers used them way to much.  It was common to see multiple marquees on a webpage in the mid 90s.  How does this relate to CSS?  Well, the filters that Microsoft created remind users of these horrible designs.   Some designers will use the transition filter that Microsoft created to transition all of their site&#8217;s pages.  This is fine the first time, but when you have to wait for a transition the fifth time,  you are wanting to find the designer who created the page and tell him what you think.   This is a prime example of where the designer over designed using CSS.</p>
<p>Another example of over designing with CSS, is when you use CSS when you don&#8217;t need to use it.  Have you even been to a page that changes the default mouse? That is a user who has over designed their site.  Having your site use CSS to change your mouse&#8217;s cursor to a cross hair is not fun for the user.   Most users are use to using the mouse cursor as a way to get information.  When you move your mouse over an anchor tag, your mouse turns into a hand pointing at the link.  When you hover over text, the mouse cursor turns into a symbol similar to an I.  These are very useful to users, they can now tell what &#8220;mode&#8221; the mouse is in.  There are times that changing the cursor maybe useful, such as when you have a list of questions and when a user hovers over the cursor it turns into a question mark.</p>
<p>Don&#8217;t change a user&#8217;s scroll bar either.  This can upset a user very quick.  I know personally if I go to a site, and they have changed the way my scroll bar looks, I leave right away.  Blending the scroll bar into your site is a nice option, but remember that to the user you are changing their browser.   With the latest releases of Firefox and Opera, users can theme their own browser interface to their liking, and you changing their scroll bar is &#8220;invasion&#8221; on what they like.  Yes, you may like the hot pink scroll bar, but to someone who has a light blue theme on their browser they could become upset.</p>
<p>You start to over design with CSS when it starts to annoy the visitor.  Annoying your visitor and invading their &#8220;private&#8221; space is a great way to run users away from your site.  Humans are creatures of habits even though we like to think we are not.  When you start messing with things that people are familiar with they don&#8217;t like it, and when you do it with CSS you are over designing.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/cssjuice?a=_-WNHrVjw2A:bkktrH7pu6c:8wAFQBKBrM0"><img src="http://feeds.feedburner.com/~ff/cssjuice?d=8wAFQBKBrM0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=_-WNHrVjw2A:bkktrH7pu6c:iZ-aAG5SDI8"><img src="http://feeds.feedburner.com/~ff/cssjuice?d=iZ-aAG5SDI8" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=_-WNHrVjw2A:bkktrH7pu6c:o6nXgad8f78"><img src="http://feeds.feedburner.com/~ff/cssjuice?d=o6nXgad8f78" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=_-WNHrVjw2A:bkktrH7pu6c:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/cssjuice?i=_-WNHrVjw2A:bkktrH7pu6c:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=_-WNHrVjw2A:bkktrH7pu6c:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/cssjuice?i=_-WNHrVjw2A:bkktrH7pu6c:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/cssjuice/~4/_-WNHrVjw2A" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.cssjuice.com/how-to-over-design-with-css/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.cssjuice.com/how-to-over-design-with-css/</feedburner:origLink></item>
		<item>
		<title>Professional Forms using CSS</title>
		<link>http://feedproxy.google.com/~r/cssjuice/~3/jT3BqU6x64g/</link>
		<comments>http://www.cssjuice.com/professional-forms-using-css/#comments</comments>
		<pubDate>Thu, 15 Jan 2009 17:18:34 +0000</pubDate>
		<dc:creator>Derald</dc:creator>
		
		<category><![CDATA[CSS]]></category>

		<category><![CDATA[Tutorials]]></category>

		<category><![CDATA[Web 2.0]]></category>

		<category><![CDATA[Web Design]]></category>

		<category><![CDATA[float]]></category>

		<category><![CDATA[forms]]></category>

		<category><![CDATA[professional]]></category>

		<category><![CDATA[web 2.0]]></category>

		<guid isPermaLink="false">http://www.cssjuice.com/?p=1042</guid>
		<description><![CDATA[In most HTML forums, the user will have text to describe the input field, followed by the field itself.  If you have more than one input field then there can be issues with the input boxes where they don&#8217;t line up properly.   Using div tags and the float attribute you can solve [...]]]></description>
			<content:encoded><![CDATA[<p>In most HTML forums, the user will have text to describe the input field, followed by the field itself.  If you have more than one input field then there can be issues with the input boxes where they don&#8217;t line up properly.   Using div tags and the float attribute you can solve these issues.</p>
<p><span id="more-1042"></span></p>
<p>For this tutorial we are going to use a generic login to show the effects of the code.   For the most basic log in, we need to have at least two input boxes, one for the user&#8217;s password, and the other for the user to identify themselves via a user name or id.   The HTML code for this type of form is very easy, and very simple.</p>
<p style="border: 1px solid #cccccc; padding: 5px; color: #0000ff">
<span>&lt;form action=&quot;login.php&quot; method=&quot;post&quot;&gt;</span><br />
<span>Name: &lt;input type=&quot;text&quot; name=&quot;user&quot;&gt;&lt;br /&gt;</span><br />
<span>Password: &lt;input type=&quot;password&quot; name=&quot;pass&quot;&gt;&lt;br /&gt;</span><br />
<span>&lt;input type=&quot;submit&quot; value=&quot;Submit&quot;&gt;&gt;br /&gt;</span><br />
<span>&lt;/form&gt;</span>
</p>
<p>When you display the code above you may see that text boxes for the user to put in their user name and password doesn&#8217;t align properly.  To make the form look more professional, these boxes should align with each other.   This is were the CSS become very useful.  Before we get into the CSS, lets tweak the form by adding some div elements to it.   First, we need to wrap the entire form in a div, then wrap the words describing the text fields, and one around the submit button.  While doing this we will also give our div tags classes so that it is easier to create our CSS.  Our HTML code will now look like this:</p>
<p style="border: 1px solid #cccccc; padding: 5px; color: #0000ff">
<span>&lt;div class=&quot;login_form&quot;&gt;</span><br />
<span>&lt;form action=&quot;login.php&quot; method=&quot;post&quot;&gt;</span><br />
<span>&lt;div class=&quot;login_input&quot;&gt;Name:&lt;/div&gt; </span><br />
<span>&lt;input type=&quot;text&quot; name=&quot;user&quot;&gt;&lt;br /&gt;</span><br />
<span>&lt;div class=&quot;login_input&quot;&gt;Password:&lt;/div&gt; </span><br />
<span>&lt;input type=&quot;password&quot; name=&quot;pass&quot;&gt;&lt;br /&gt;</span><br />
<span>&lt;div class=&quot;login_submit&quot;&gt;&lt;input type=&quot;submit&quot; value=&quot;Submit&quot;&gt;&lt;/div&gt;&lt;br /&gt;</span><br />
<span>&lt;/form&gt;</span><br />
<span>&lt;/div&gt;</span>
</p>
<p>As you see we give the div around Name and Password the same class, while the div that wraps the entire form a different class.  This is because we want to apply the same style to the divs around Name and Password. </p>
<p>Just like building a house we have to start with a foundation.   The div element that is around the form is the foundation for the CSS.   It is what will determine the width of the form, and the width of the form will effect the login_input class that we created.  So with the login_form class, lets make it have a width of 350 pixels.</p>
<p style="border: 1px solid #cccccc; padding: 5px; color: #0000ff">
<span>&lt;style&gt;</span><br />
<span>.login_form{</span><br />
<span>&nbsp;width: 275px;</span><br />
<span>}</span><br />
<span>&lt;/style&gt;</span>
</p>
<p>Now that we have the foundation, we can start building on top of that.  First step we need to do with the login_input class is to create a width.   We will give this class 36% width.  This will give us 36% of the width of the parent&#8217;s (login_form) width, or 99 pixels wide.   By setting the width, we know know that the start of the inputs will be 36% from the left of the parent div&#8217;s left side and are now aligned vertically.   This is also where  the first issue arises.  With some browsers when you close a div tag, it automatically adds a line break.   To solve this we are going to float the div tag to the left, now the div tag act more like a span tag.   Depending on your taste, another issue may arise from doing this.   Your text is now on the very left side of the login_form div, this can create a lot of white space between the description and the input box.   To solve this issue by using text-align and setting the value to right align the login_input class.  With all of this new information we can now create an entry in our style sheet for the login_input class.  </p>
<p style="border: 1px solid #cccccc; padding: 5px; color: #0000ff">
<span>&lt;style&gt;</span><br />
<span>.login_form{</span><br />
<span>&nbsp;width: 275px;</span><br />
<span>}</span><br />
<span>&nbsp;</span><br />
<span>.login_input{</span><br />
<span>&nbsp;width: 36%;</span><br />
<span>&nbsp;float: left;</span><br />
<span>&nbsp;text-align: right;</span><br />
<span>}</span><br />
<span>&lt;/style&gt;</span>
</p>
<p>To give the form a little more of a professional look, we can now float the submit button to the right.  This will allow it to align with the very right of our form.  If you wanted you could even <a href='http://www.cssjuice.com/buttons-with-images/'>style the button</a> for the form.  </p>
<p style="border: 1px solid #cccccc; padding: 5px; color: #0000ff">
<span>&lt;style&gt;</span><br />
<span>.login_form{</span><br />
<span>&nbsp;width: 275px;</span><br />
<span>}</span><br />
<span>&nbsp;</span><br />
<span>.login_input{</span><br />
<span>&nbsp;width: 36%;</span><br />
<span>&nbsp;float: left;</span><br />
<span>&nbsp;text-align: right;</span><br />
<span>}</span><br />
<span>.login_input{</span><br />
<span>&nbsp;float: left;</span><br />
<span>&nbsp;text-align: right;</span><br />
<span>}</span><br />
<span>.login_submit{</span><br />
<span>&nbsp;float: right;</span><br />
<span>}</span><br />
<span>&lt;/style&gt;</span>
</p>
<p>At this point, the alignment for the login form looks very professional.  You can enhance the look of the forum by adding background colors, and such to match the theme of your website.  You can view an example of the code above <a href='http://images.ientry.com/cssjuice/pro_form/form.htm'>here</a></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/cssjuice?a=jT3BqU6x64g:nUqjM8FPowU:8wAFQBKBrM0"><img src="http://feeds.feedburner.com/~ff/cssjuice?d=8wAFQBKBrM0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=jT3BqU6x64g:nUqjM8FPowU:iZ-aAG5SDI8"><img src="http://feeds.feedburner.com/~ff/cssjuice?d=iZ-aAG5SDI8" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=jT3BqU6x64g:nUqjM8FPowU:o6nXgad8f78"><img src="http://feeds.feedburner.com/~ff/cssjuice?d=o6nXgad8f78" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=jT3BqU6x64g:nUqjM8FPowU:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/cssjuice?i=jT3BqU6x64g:nUqjM8FPowU:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=jT3BqU6x64g:nUqjM8FPowU:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/cssjuice?i=jT3BqU6x64g:nUqjM8FPowU:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/cssjuice/~4/jT3BqU6x64g" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.cssjuice.com/professional-forms-using-css/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.cssjuice.com/professional-forms-using-css/</feedburner:origLink></item>
		<item>
		<title>Web 2.0 Tables</title>
		<link>http://feedproxy.google.com/~r/cssjuice/~3/ktgCma62Jqw/</link>
		<comments>http://www.cssjuice.com/web-20-tables/#comments</comments>
		<pubDate>Wed, 03 Dec 2008 22:06:43 +0000</pubDate>
		<dc:creator>Derald</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.cssjuice.com/?p=1038</guid>
		<description><![CDATA[Have you ever seen a lot of information in a table on the web and wish that you can highlight just one row of that table?  Looking very large tables, with out the ability to interact with the table, can make it hard to read the information provided.  With a little bit of [...]]]></description>
			<content:encoded><![CDATA[<p>Have you ever seen a lot of information in a table on the web and wish that you can highlight just one row of that table?  Looking very large tables, with out the ability to interact with the table, can make it hard to read the information provided.  With a little bit of CSS and the hover and first-child pseudo classes, you can make tables interactive again.  You visitors can read information from the table quicker, and it gives your tables a little Web 2.0 flare.  Best of all it is easier then you think.</p>
<p><span id="more-1038"></span></p>
<p>First, lets make a table with some information.  In our table we are going to use the population and percentage of the population for Lexington, Kentucky.  This information is coming from the 2000 census.</p>
<p style="border: 1px solid #cccccc; padding: 5px; color: #0000ff"><span>&lt;table&gt;</span><br />
<span>&lt;tr&gt;</span><br />
<span>&lt;th&gt;</span>Age Group<span>&lt;/th&gt;</span><br />
<span>&lt;th&gt;</span>Population<span>&lt;/th&gt;</span><br />
<span>&lt;th&gt;</span>Percentage<span>&lt;/th&gt;</span><br />
<span>&lt;/tr&gt;</span><br />
<span>&lt;tr&gt;</span><br />
<span>&lt;td&gt;</span>0 - 5<span>&lt;/td&gt;</span><br />
<span>&lt;td&gt;</span>16146<span>&lt;/td&gt;</span><br />
<span>&lt;td&gt;</span>6.2%<span>&lt;/td&gt;</span><br />
<span>&lt;/tr&gt;</span><br />
<span>&lt;tr&gt;</span><br />
<span>&lt;td&gt;</span>5 - 9 <span>&lt;/td&gt;</span><br />
<span>&lt;td&gt;</span>15711<span>&lt;/td&gt;</span><br />
<span>&lt;td&gt;</span>6.03%<span>&lt;/td&gt;</span><br />
<span>&lt;/tr&gt;</span><br />
<span>&lt;tr&gt;</span><br />
<span>&lt;td&gt;</span>10 - 14 <span>&lt;/td&gt;</span><br />
<span>&lt;td&gt;</span>14947<span>&lt;/td&gt;</span><br />
<span>&lt;td&gt;</span>5.74%<span>&lt;/td&gt;</span><br />
<span>&lt;/tr&gt;</span><br />
<span>&lt;tr&gt;</span><br />
<span>&lt;td&gt;</span>15 - 19<span>&lt;/td&gt;</span><br />
<span>&lt;td&gt;</span>18422<span>&lt;/td&gt;</span><br />
<span>&lt;td&gt;</span>7.07%<span>&lt;/td&gt;</span><br />
<span>&lt;/tr&gt;</span><br />
<span>&lt;tr&gt;</span><br />
<span>&lt;td&gt;</span>20 - 24 <span>&lt;/td&gt;</span><br />
<span>&lt;td&gt;</span>28355<span>&lt;/td&gt;</span><br />
<span>&lt;td&gt;</span>10.88%<span>&lt;/td&gt;</span><br />
<span>&lt;/tr&gt;</span><br />
<span>&lt;tr&gt;</span><br />
<span>&lt;td&gt;</span>25 - 34 <span>&lt;/td&gt;</span><br />
<span>&lt;td&gt;</span>44542<span>&lt;/td&gt;</span><br />
<span>&lt;td&gt;</span>17.1%<span>&lt;/td&gt;</span><br />
<span>&lt;/tr&gt;</span><br />
<span>&lt;tr&gt;</span><br />
<span>&lt;td&gt;</span>35 - 44 <span>&lt;/td&gt;</span><br />
<span>&lt;td&gt;</span>41824<span>&lt;/td&gt;</span><br />
<span>&lt;td&gt;</span>16.05%<span>&lt;/td&gt;</span><br />
<span>&lt;/tr&gt;</span><br />
<span>&lt;tr&gt;</span><br />
<span>&lt;td&gt;</span>45 - 54 <span>&lt;/td&gt;</span><br />
<span>&lt;td&gt;</span>34491<span>&lt;/td&gt;</span><br />
<span>&lt;td&gt;</span>13.24%<span>&lt;/td&gt;</span><br />
<span>&lt;/tr&gt;</span><br />
<span>&lt;tr&gt;</span><br />
<span>&lt;td&gt;</span>55 - 59 <span>&lt;/td&gt;</span><br />
<span>&lt;td&gt;</span>11275<span>&lt;/td&gt;</span><br />
<span>&lt;td&gt;</span>4.33%<span>&lt;/td&gt;</span><br />
<span>&lt;/tr&gt;</span><br />
<span>&lt;tr&gt;</span><br />
<span>&lt;td&gt;</span>60 - 64 <span>&lt;/td&gt;</span><br />
<span>&lt;td&gt;</span>8625<span>&lt;/td&gt;</span><br />
<span>&lt;td&gt;</span>3.31%<span>&lt;/td&gt;</span><br />
<span>&lt;/tr&gt;</span><br />
<span>&lt;tr&gt;</span><br />
<span>&lt;td&gt;</span>65 - 74 <span>&lt;/td&gt;</span><br />
<span>&lt;td&gt;</span>13890<span>&lt;/td&gt;</span><br />
<span>&lt;td&gt;</span>5.33%<span>&lt;/td&gt;</span><br />
<span>&lt;/tr&gt;</span><br />
<span>&lt;tr&gt;</span><br />
<span>&lt;td&gt;</span>75 - 84 <span>&lt;/td&gt;</span><br />
<span>&lt;td&gt;</span>9149<span>&lt;/td&gt;</span><br />
<span>&lt;td&gt;</span>3.51%<span>&lt;/td&gt;</span><br />
<span>&lt;/tr&gt;</span><br />
<span>&lt;tr&gt;</span><br />
<span>&lt;td&gt;</span>85+<span>&lt;/td&gt;</span><br />
<span>&lt;td&gt;</span>3135<span>&lt;/td&gt;</span><br />
<span>&lt;td&gt;</span>1.2%<span>&lt;/td&gt;</span><br />
<span>&lt;/tr&gt;</span><br />
<span>&lt;/table&gt;</span></p>
<p>As you can see this is just a basic HTML table.  We don&#8217;t have any borders are anything added to it.  Just looking over this table can be confusing.  Adding borders to the HTML may cut down on some of the confusion.  You can also tell that the table is not very interactive, and is very bland.   Before we create the CSS that will make this table interactive and give it a Web 2.0 flare, we need to go over two CSS pseudo classes.</p>
<p>The first pseudo class we are going to cover is hover.  If you have used Javascript and used the onMouseOver event, hover is very similar to that.  This pseudo class allows CSS attributes to be applied to an element when the user hovers (hence the name) their mouse over the element.  The other pseudo class we are going to use is first-child.  This pseudo class allows a designer to apply a still to the first child of an element.  In our case the th element is the first child of the tr elements in our table.  We will need this pseudo class for a work around once we start applying our CSS.  Now on to the CSS.</p>
<p>The CSS for this effect is very simple, but very powerful.  We are going to add the hover pseudo class to all the tr elements, that way when a user mouses over a cell in the table the entire row&#8217;s changes.  To the user they are mousing over a cell in the table, but to the code they are mousing over the entire row.  The following allows us to add this effect</p>
<p style="border: 1px solid #cccccc; padding: 5px; color: #0000ff"><span>tr:hover{</span><br />
<span> background-color: #FF0000;</span><br />
<span> color: #FFFFFF;</span><br />
<span>}</span></p>
<p>Simple right, well there is a little issue.  When the user rolls over the table headers (th) they get the same effect.  We don&#8217;t want this to occur, so this is where the first-child pseudo class comes into play.  We can add both pseudo classes to tr entry in the style sheet to fix this &#8220;issue&#8221;.</p>
<p style="border: 1px solid #cccccc; padding: 5px; color: #0000ff"><span>tr:first-child:hover{</span><br />
<span> background-color: #FFFFFF;</span><br />
<span> color: #000000;</span><br />
}</p>
<p>That will fix the issue with the table headers.  To explain the code a little more, what is happening is the first-child pseudo class is being applied to the th elements since they are the first elements after the first tr element.  The hover pseudo class will only be activated when the user mouses over the table header, and it is set with the default values for the attributes, before the hover pseudo class is activated.  This code is actually being activated when the user mouses over it, but since the attributes are the same as when the user does not mouse over the table headers, the user does not even see the code in action.</p>
<p>If you wanted you could go a step further and add a hover pseudo class to the cell that the user is moused over of an additional effect.  For this effect you could make the row either a different color, or make the row a lighter shade of the cell background color.  Below is an example of the CSS code that will allow you to do this effect.</p>
<p style="border: 1px solid #cccccc; padding: 5px; color: #0000ff"><span>tr:first-child:hover{</span><br />
<span>background-color: white;</span><br />
<span> color: black;</span><br />
<span>} </span><br />
<span>tr:hover{</span><br />
<span> background-color: #FF0000;</span><br />
<span> color: #FFFFFF;</span><br />
<span>}</span><br />
<span>td{</span><br />
<span>border: black 1px solid;</span><br />
<span> text-align: center;</span><br />
<span> width: 100px;</span><br />
<span>}</span><br />
<span>td:hover{</span><br />
<span> background-color: #AA0000;</span><br />
<span> border: black 1px solid;</span><br />
<span> width: 100px;</span><br />
<span>}</span></p>
<p>A working version of the code can be found <a href="http://images1.ientry.com/cssjuice/web2_table/table.htm">here</a>.  As you can see from the example, this small amount of code can make your site a lot more user friendly.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/cssjuice?a=ktgCma62Jqw:MmLgOF30NIc:8wAFQBKBrM0"><img src="http://feeds.feedburner.com/~ff/cssjuice?d=8wAFQBKBrM0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=ktgCma62Jqw:MmLgOF30NIc:iZ-aAG5SDI8"><img src="http://feeds.feedburner.com/~ff/cssjuice?d=iZ-aAG5SDI8" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=ktgCma62Jqw:MmLgOF30NIc:o6nXgad8f78"><img src="http://feeds.feedburner.com/~ff/cssjuice?d=o6nXgad8f78" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=ktgCma62Jqw:MmLgOF30NIc:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/cssjuice?i=ktgCma62Jqw:MmLgOF30NIc:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=ktgCma62Jqw:MmLgOF30NIc:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/cssjuice?i=ktgCma62Jqw:MmLgOF30NIc:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/cssjuice/~4/ktgCma62Jqw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.cssjuice.com/web-20-tables/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.cssjuice.com/web-20-tables/</feedburner:origLink></item>
		<item>
		<title>ClickHeat</title>
		<link>http://feedproxy.google.com/~r/cssjuice/~3/03LvCkN45yg/</link>
		<comments>http://www.cssjuice.com/clickheat/#comments</comments>
		<pubDate>Wed, 22 Oct 2008 15:06:42 +0000</pubDate>
		<dc:creator>Derald</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.cssjuice.com/?p=1034</guid>
		<description><![CDATA[On CSSJuice, we cover a lot of design ideas.  We talk about how to make Web 2.0 effects using just CSS.  Having an attractive website is very nice, but how do you know if your site&#8217;s layout is working?  You can have a survey on your site.  This can be effective, [...]]]></description>
			<content:encoded><![CDATA[<p>On CSSJuice, we cover a lot of design ideas.  We talk about how to make Web 2.0 effects using just CSS.  Having an attractive website is very nice, but how do you know if your site&#8217;s layout is working?  You can have a survey on your site.  This can be effective, but are there other methods?  Yes, there are other methods that can be more effective.  <a href="http://www.labsmedia.com/clickheat/index.html">ClickHeat</a> is one of those methods.  Unlike surveys, with ClickHeat the user does not have the option to not use it.<br />
<span id="more-1034"></span><br />
So what is ClickHeat?  Well ClickHeat is a small PHP and JavaScript web app that tracks where visitors click on your website.  Then ClickHeat allows the collected stats to be shown as a heatmap.  For those of you who don&#8217;t know, a heatmap is a map that shows areas based on activity using colors based on heat.  If an activity happens in a given area very often the color area is red, if it is not then that area is blue.  In between there are yellows, green and orange colors based on how often an activity happens.  With ClickHeat, the heatmap is based off of how often a user clicks in areas on your site.</p>
<p>ClickHeat is very easy to use.  After the installation, which is a wizard based installation like other popular web applications, you go to yourdomain.com/clickheat, then log in.  At this point you will have a screen that is split into two areas.  At the top is your navigation, where you can choose to look at the heatmap for your site on a daily, weekly or monthly view.  There are also filters that allow you to see the heatmap based on the browser used, and screen size.  The only other option that you are given is how transparent you would like the heat map to be on top of the page you are looking at.</p>
<p>When looking at the heatmap with your site below it, you can see how ClickHeat can be a powerful tool.  At this point you can actually see where people are clicking on the site.  This can help you arrange links on your site, and give you areas you can target.  If you have a feature that you want to visitors to use more often then you can arrange it around where people are clicking.  If you see that one feature is doing really well, you may then promote that feature.  The feedback that you get from the heatmap is very valuable and can assist with helping your site grow.</p>
<p>To run ClickHeat all you have to have is a host that supports PHP, JavaScript, and the GD2 library. The official site states that it should work with Apache or Lighttpd web servers, and states that other webservers may work fine.  This means that most hosting companies will be able to support ClickHeat.  The site also states that it has been tested on Internet Explorer 6 and 7, Konqueror, and Firefox 2.0.  The demo for the software also has Opera, Safari, and K-meleon as options in the browser filter.</p>
<p>One of the nice things about ClickHeat is that it is free.  This is the data that most websites have a hard time collecting and spend a lot of money on surveys just to get some feedback.  ClickHeat alone will not solve all your website problems, but it can help you design a better interface.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/cssjuice?a=03LvCkN45yg:ii0nuHZmPUo:8wAFQBKBrM0"><img src="http://feeds.feedburner.com/~ff/cssjuice?d=8wAFQBKBrM0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=03LvCkN45yg:ii0nuHZmPUo:iZ-aAG5SDI8"><img src="http://feeds.feedburner.com/~ff/cssjuice?d=iZ-aAG5SDI8" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=03LvCkN45yg:ii0nuHZmPUo:o6nXgad8f78"><img src="http://feeds.feedburner.com/~ff/cssjuice?d=o6nXgad8f78" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=03LvCkN45yg:ii0nuHZmPUo:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/cssjuice?i=03LvCkN45yg:ii0nuHZmPUo:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=03LvCkN45yg:ii0nuHZmPUo:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/cssjuice?i=03LvCkN45yg:ii0nuHZmPUo:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/cssjuice/~4/03LvCkN45yg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.cssjuice.com/clickheat/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.cssjuice.com/clickheat/</feedburner:origLink></item>
		<item>
		<title>Cheat Sheets</title>
		<link>http://feedproxy.google.com/~r/cssjuice/~3/jN1AEAUWudI/</link>
		<comments>http://www.cssjuice.com/cheat-sheets/#comments</comments>
		<pubDate>Thu, 11 Sep 2008 15:19:00 +0000</pubDate>
		<dc:creator>Derald</dc:creator>
		
		<category><![CDATA[Blogging]]></category>

		<category><![CDATA[Resources]]></category>

		<guid isPermaLink="false">http://www.cssjuice.com/cheat-sheets/</guid>
		<description><![CDATA[Are cheat sheets beneficial to you designers?  So people will say no, while others may say yes.  As a designer should you use cheat sheets?

After finding an article about cheat sheets, I got to thinking, are there any negative effects of using cheat sheets?  Of course the first one that I thought [...]]]></description>
			<content:encoded><![CDATA[<p>Are cheat sheets beneficial to you designers?  So people will say no, while others may say yes.  As a designer should you use cheat sheets?</p>
<p><span id="more-1032"></span><br />
After finding an <a href="http://sixrevisions.com/resources/cheat_sheets_for_web_designers/" title="Cheat Sheets" target="_blank">article</a> about cheat sheets, I got to thinking, are there any negative effects of using cheat sheets?  Of course the first one that I thought of was that as a designer you should really learn the syntax of the language you are designing/coding with.  Cheat sheets can become a crutch which in the long run may hurt you as a designer.  Another negative effect of using a cheat sheet is security issues.  When using languages such as PHP, ASP, and other web based languages a cheat sheet does not provide any information on how secure the syntax is list is.  It can provide information on how secure it is via a ranking system, but that does not show you how much damage can happen if exploited.</p>
<p>Using a cheat sheet is does have it&#8217;s benefits.  There are parts of languages that are not used a lot, for example opacity in CSS.  This can be a very useful attribute if you need to use it.  For attributes that you don&#8217;t use a whole lot cheat sheets can be very beneficial.  They can help you save time when you are looking for a solution to an issue you may have.  Other times, it helps to have cheat sheets that will tell you what browsers support what elements of languages.  Not all browsers are alike, and knowing that Firefox does not support transitions like Internet Explorer does will save you a lot of headaches trying to get it to work.  Another benefit to cheat sheets is that you don&#8217;t have to remember how to remember a lot of stuff, which is why cheat sheets are around in the first place.  Remember all of the HTML code for characters such as a greater than symbol is useful if you them a lot, but if you don&#8217;t it is simpler to just use a cheat sheet.</p>
<p>Over all cheat sheets have their benefits and their negative effects on any designer.  For things that you use everyday you should not use cheat sheets, but for those uncommon attributes that are not used, then a cheat sheet can be beneficial, as long as it does not provide a security exploit.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/cssjuice?a=jN1AEAUWudI:_BUcv1Q51Bs:8wAFQBKBrM0"><img src="http://feeds.feedburner.com/~ff/cssjuice?d=8wAFQBKBrM0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=jN1AEAUWudI:_BUcv1Q51Bs:iZ-aAG5SDI8"><img src="http://feeds.feedburner.com/~ff/cssjuice?d=iZ-aAG5SDI8" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=jN1AEAUWudI:_BUcv1Q51Bs:o6nXgad8f78"><img src="http://feeds.feedburner.com/~ff/cssjuice?d=o6nXgad8f78" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=jN1AEAUWudI:_BUcv1Q51Bs:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/cssjuice?i=jN1AEAUWudI:_BUcv1Q51Bs:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=jN1AEAUWudI:_BUcv1Q51Bs:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/cssjuice?i=jN1AEAUWudI:_BUcv1Q51Bs:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/cssjuice/~4/jN1AEAUWudI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.cssjuice.com/cheat-sheets/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.cssjuice.com/cheat-sheets/</feedburner:origLink></item>
		<item>
		<title>Basic Select Menus Modifications</title>
		<link>http://feedproxy.google.com/~r/cssjuice/~3/AppvLc6lABI/</link>
		<comments>http://www.cssjuice.com/basic-select-menus-modifications/#comments</comments>
		<pubDate>Fri, 05 Sep 2008 12:56:05 +0000</pubDate>
		<dc:creator>Derald</dc:creator>
		
		<category><![CDATA[CSS]]></category>

		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.cssjuice.com/basic-select-menus-modifications/</guid>
		<description><![CDATA[Select menus, also known as drop down menus, are one of the elements in HTML that most people don&#8217;t modify at all.  I know that some select menus can be confusing as they get longer.  One of the things that I like to do is to alternate the colors of the selections.  [...]]]></description>
			<content:encoded><![CDATA[<p>Select menus, also known as drop down menus, are one of the elements in HTML that most people don&#8217;t modify at all.  I know that some select menus can be confusing as they get longer.  One of the things that I like to do is to alternate the colors of the selections.  This gives the select element a little bit of style especially when you have more then one choice showing, and can be use as color combination to blend into your site&#8217;s theme.</p>
<p><span id="more-1031"></span></p>
<p>This modification is very simple, and can be very effective.  We are going to apply this to a select element that has more then one option showing to take advantage of the effect.  If you only have one option showing, as in a true drop down menu, then the change is not as effective. If you don&#8217;t remember how to show more then one option in a select element, just add a size attribute inside the select element&#8217;s opening tags.  Here is how the select element should appear.</p>
<p style="border: 1px solid #cccccc; padding: 5px; color: #0000ff">&lt;select size=&#8221;4&#8243;&gt;<br />
&lt;option class=&#8221;odd&#8221;&gt;Option 1&lt;/option&gt;<br />
&lt;option class=&#8221;even&#8221;&gt;Option 2&lt;/option&gt;<br />
&lt;option class=&#8221;odd&#8221;&gt;Option 3&lt;/option&gt;<br />
&lt;option class=&#8221;even&#8221;&gt;Option 4&lt;/option&gt;<br />
&lt;option class=&#8221;odd&#8221;&gt;Option 5&lt;/option&gt;<br />
&lt;option class=&#8221;even&#8221;&gt;Option 6&lt;/option&gt;<br />
&lt;/select&gt;</p>
<p>The code should look similar to you if you have used the select tag before, only thing that we have done to this HTML code is to add a class attribute to each of the options, and set a size of five to the select menu.  We see that the classes alternate as either odd or even.  Now all we need to do is create the CSS to apply to the classes.</p>
<p>The CSS will be basic, just like the HTML.  For the even class we are going to have a gray background with a white foreground color, and the opposite for the odd classes.</p>
<p style="border: 1px solid #cccccc; padding: 5px; color: #0000ff"> &lt;style&gt;<br />
select .even{<br />
background-color: gray;<br />
color: white;<br />
}<br />
select .odd {<br />
background-color: white;<br />
color: gray;<br />
}</p>
<p>That is all we need.  We now have a more professional looking select menu, which can be changed to blend into the style of our website.  You can view the example above, and another example that uses other alternating colors <a href="http://images.ientry.com/cssjuice/basic_select.htm" title="Basic Select Menus Modifications Examples">here</a>.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/cssjuice?a=AppvLc6lABI:hPIxzV6p_Rs:8wAFQBKBrM0"><img src="http://feeds.feedburner.com/~ff/cssjuice?d=8wAFQBKBrM0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=AppvLc6lABI:hPIxzV6p_Rs:iZ-aAG5SDI8"><img src="http://feeds.feedburner.com/~ff/cssjuice?d=iZ-aAG5SDI8" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=AppvLc6lABI:hPIxzV6p_Rs:o6nXgad8f78"><img src="http://feeds.feedburner.com/~ff/cssjuice?d=o6nXgad8f78" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=AppvLc6lABI:hPIxzV6p_Rs:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/cssjuice?i=AppvLc6lABI:hPIxzV6p_Rs:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=AppvLc6lABI:hPIxzV6p_Rs:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/cssjuice?i=AppvLc6lABI:hPIxzV6p_Rs:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/cssjuice/~4/AppvLc6lABI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.cssjuice.com/basic-select-menus-modifications/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.cssjuice.com/basic-select-menus-modifications/</feedburner:origLink></item>
		<item>
		<title>Firebug alternatives</title>
		<link>http://feedproxy.google.com/~r/cssjuice/~3/7YbhJpApi_I/</link>
		<comments>http://www.cssjuice.com/firebug-alternatives/#comments</comments>
		<pubDate>Mon, 25 Aug 2008 20:23:41 +0000</pubDate>
		<dc:creator>Derald</dc:creator>
		
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://www.cssjuice.com/firebug-alternatives/</guid>
		<description><![CDATA[Most designers have heard about Firebug for Firefox.  But what is you are a designer that does not use Firefox, are there any alternatives for Internet Explorer or Opera?  Well there are alternatives for each.

Internet Explorer
If you are a designer that likes using Internet Explore, or like a lot of designers you are [...]]]></description>
			<content:encoded><![CDATA[<p>Most designers have heard about <a href="https://addons.mozilla.org/en-US/firefox/addon/1843" title="FireBug FireFox add-on">Firebug</a> for Firefox.  But what is you are a designer that does not use Firefox, are there any alternatives for Internet Explorer or Opera?  Well there are alternatives for each.</p>
<p><span id="more-1030"></span></p>
<h2><strong>Internet Explorer</strong></h2>
<p>If you are a designer that likes using Internet Explore, or like a lot of designers you are forced to design for IE since a large amount of web surfers still use it. There are a lot of alternative for Firebug. The Microsoft Developer Network has a blog entry just for such tools. Like most products for anything created by Windows, some of the tools do cost money, but Microsoft has created a similar tool that you can use. The <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=e59c3964-672d-4511-bb3e-2d5e1db91038&amp;displaylang=en" title="Internet Explore Developer Toolbar">Internet Explorer Developer Toolbar</a> allows you to much of the same things that Firebug does also. Here is a list of things you can use the Internet Explorer Developer Toolbar for according to the download site:</p>
<ul>
<li>Explore and modify the document object model (DOM) of a Web page.</li>
<li>Locate and select specific elements on a Web page through a variety of techniques.</li>
<li>Selectively disable Internet Explorer settings.</li>
<li>View HTML object class names, ID&#8217;s, and details such as link paths, tab index values, and access keys.</li>
<li> Outline tables, table cells, images, or selected tags.</li>
<li>Validate HTML, CSS, WAI, and RSS web feed links.</li>
<li>Display image dimensions, file sizes, path information, and alternate (ALT) text.</li>
<li>Immediately resize the browser window to a new resolution.</li>
<li>Selectively clear the browser cache and saved cookies. Choose from all objects or those associated with a given domain.</li>
<li>Display a fully featured design ruler to help accurately align and measure objects on your pages.</li>
<li>Find the style rules used to set specific style values on an element.</li>
<li>View the formatted and syntax colored source of HTML and CSS.</li>
</ul>
<p>There are reports that this tool was so useful that IE 8 will have it built in, instead of a separate download.  For the full list of similar tools check out the <a href="http://blogs.msdn.com/ie/archive/2007/06/22/from-microsoft-teched-2007-web-development-tools-for-internet-explorer.aspx" title="Alternative Firebug add-ons for Internet Explorer">MSDN Blogsite</a>.</p>
<h2><strong>Opera</strong></h2>
<p>Opera, unlike FireFox and Internet Explorer, has a built in developer tool since version 9.5.  This tool is called <a href="http://www.opera.com/products/dragonfly/" title="Opera's Dragonfly Development tool.">Dragonfly</a>.  To access Dragonfly, you can either press Control+Shift+I  (Mac: Control+Alt+I) or click Tools -&gt; Advance -&gt; Developer Tools.  Dragonfly looks very similar to Firebug, and has some useful features.  Unlike Firebug, Dragonfly will allow you to check sites in all open tabs, from within a single tab. This can help when you are designing a site, and you need to check the position of an elements, or you are reusing some code.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/cssjuice?a=7YbhJpApi_I:4755imXG8c4:8wAFQBKBrM0"><img src="http://feeds.feedburner.com/~ff/cssjuice?d=8wAFQBKBrM0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=7YbhJpApi_I:4755imXG8c4:iZ-aAG5SDI8"><img src="http://feeds.feedburner.com/~ff/cssjuice?d=iZ-aAG5SDI8" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=7YbhJpApi_I:4755imXG8c4:o6nXgad8f78"><img src="http://feeds.feedburner.com/~ff/cssjuice?d=o6nXgad8f78" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=7YbhJpApi_I:4755imXG8c4:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/cssjuice?i=7YbhJpApi_I:4755imXG8c4:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=7YbhJpApi_I:4755imXG8c4:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/cssjuice?i=7YbhJpApi_I:4755imXG8c4:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/cssjuice/~4/7YbhJpApi_I" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.cssjuice.com/firebug-alternatives/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.cssjuice.com/firebug-alternatives/</feedburner:origLink></item>
		<item>
		<title>Buttons with Images</title>
		<link>http://feedproxy.google.com/~r/cssjuice/~3/E124O81PMMk/</link>
		<comments>http://www.cssjuice.com/buttons-with-images/#comments</comments>
		<pubDate>Fri, 25 Jul 2008 21:15:40 +0000</pubDate>
		<dc:creator>Derald</dc:creator>
		
		<category><![CDATA[CSS]]></category>

		<category><![CDATA[Web 2.0]]></category>

		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.cssjuice.com/buttons-with-images/</guid>
		<description><![CDATA[If you have used Live.com, one of Microsoft&#8217;s search engines, you may have noticed that the submit button for their search is not a default button in HTML.  There are two different ways you can do this with a little bit of CSS and a graphic.  To start out you may want to [...]]]></description>
			<content:encoded><![CDATA[<p>If you have used Live.com, one of Microsoft&#8217;s search engines, you may have noticed that the submit button for their search is not a default button in HTML.  There are two different ways you can do this with a little bit of CSS and a graphic.  To start out you may want to create a graphic for you to use.  I quickly create similar magnifying glass button, like the one on Live.com.  Here is what mine looks like, and the one we will be using in this tutorial.</p>
<p><img src="http://images1.ientry.com/cssjuice/search.jpg" alt="Search button" height="25" width="25" /></p>
<p><span id="more-1029"></span></p>
<p>In HTML, there are at least four ways to create a button.  There are three input types, submit, reset, and button.  There is also the button tag.  To follow HTML standards we will us both the input type button, and the button tag, although the same practice can be applied to the submit and reset button.  If you do apply the technique to either of those input types remember to  change the value of the buttons to value=&#8221;".   This will keep the words Submit, and Reset from showing up on your button.</p>
<p>Now let us look at the CSS part of the code.</p>
<p style="border: 1px solid #cccccc; padding: 5px; color: #0000ff"> <span>.search_button{</span><br />
<span>background: url(images/search.jpg) no-repeat;</span><br />
<span>width: 25px;</span><br />
<span>height: 25px;</span><br />
<span>}</span></p>
<p>Yes, the CSS is that simple to create this effect.  The part that is most important to the effect is the background image, which we have located on the server, in this case images/search.jpg. The width and height are not needed to create the effect, but are nice to make for sure you have complete control over the button. Now for the HTML.</p>
<p style="border: 1px solid #cccccc; padding: 5px; color: #0000ff"> <span>&lt;button class=&#8221;search_button&#8221;&gt;&lt;/button&gt;</span><br />
<span>&lt;input type=&#8221;button&#8221; class=&#8221;search_button&#8221;&gt;</span></p>
<p>Now our buttons will have the image we created on it.  This is a great visual way to direct users to your search bar.  You an also use this for such things a upload buttons where there is an arrow pointing upwards, or for downloads.  It also makes the default buttons not as boring, and allows you to design them to fit into your site.  You no longer have to design around the buttons, but you can design the buttons around your design.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/cssjuice?a=E124O81PMMk:CUpzaiOGFt4:8wAFQBKBrM0"><img src="http://feeds.feedburner.com/~ff/cssjuice?d=8wAFQBKBrM0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=E124O81PMMk:CUpzaiOGFt4:iZ-aAG5SDI8"><img src="http://feeds.feedburner.com/~ff/cssjuice?d=iZ-aAG5SDI8" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=E124O81PMMk:CUpzaiOGFt4:o6nXgad8f78"><img src="http://feeds.feedburner.com/~ff/cssjuice?d=o6nXgad8f78" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=E124O81PMMk:CUpzaiOGFt4:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/cssjuice?i=E124O81PMMk:CUpzaiOGFt4:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=E124O81PMMk:CUpzaiOGFt4:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/cssjuice?i=E124O81PMMk:CUpzaiOGFt4:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/cssjuice/~4/E124O81PMMk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.cssjuice.com/buttons-with-images/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.cssjuice.com/buttons-with-images/</feedburner:origLink></item>
		<item>
		<title>Hidden Tags.</title>
		<link>http://feedproxy.google.com/~r/cssjuice/~3/GCHSCMo_htA/</link>
		<comments>http://www.cssjuice.com/hidden-tags/#comments</comments>
		<pubDate>Thu, 19 Jun 2008 20:00:12 +0000</pubDate>
		<dc:creator>Derald</dc:creator>
		
		<category><![CDATA[CSS]]></category>

		<category><![CDATA[Tutorials]]></category>

		<category><![CDATA[Web 2.0]]></category>

		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.cssjuice.com/hidden-tags/</guid>
		<description><![CDATA[When first learning about the CSS display attributes, I thought that they would not be very useful.  Especially the none value.  I thought to myself what is the purpose of coding something that you don&#8217;t want to be displayed.  I was completely wrong by thinking that.  We are going to look [...]]]></description>
			<content:encoded><![CDATA[<p>When first learning about the CSS display attributes, I thought that they would not be very useful.  Especially the none value.  I thought to myself what is the purpose of coding something that you don&#8217;t want to be displayed.  I was completely wrong by thinking that.  We are going to look at how we can use the display attribute, and a little bit of JavaScript to create an element that will hide information until the end user interacts with another element to display the hidden information.</p>
<p><span id="more-1028"></span></p>
<p>You may have seen this type of effect on sites that review movies, or video games.  With a little JavaScript code, we can create an effect that will hide spoilers from users who don&#8217;t want key parts of the movie or video game.  The first thing we need to do is create a class for the spoiler information, and apply a style to that class.  We are also going to create a class for the &#8220;button&#8221; that the user will click to display the spoiler.</p>
<p style="border: 1px solid #cccccc; padding: 5px; color: #0000ff"><span>.spoiler{</span><br />
<span>display: none;</span><br />
<span>width: 25%;</span><br />
<span>margin: 1%;</span><br />
<span>}</span><br />
<span>.spoiler_button{</span><br />
<span>border: outset #E4E4E4;</span><br />
<span>background-color: #E4E4E4;</span><br />
<span>}</span></p>
<p>Now that we have that finished, we can go ahead and create the HTML elements with the JavaScript that will allow us to create the effect.</p>
<p style="border: 1px solid #cccccc; padding: 5px; color: #0000ff">&lt;span class=&#8221;spoiler_button&#8221; onclick=&#8221;document.getElementById(&#8217;spoiler&#8217;).style.display = &#8216;block&#8217;&#8221;&gt;Show Spoilers&lt;/span&gt;</p>
<p>If you know about JavaScript events, you can tell we are using the onclick event.  If you don&#8217;t know about JavaScript events, what this event does, is when the element is clicked the value of that element is activated.  In this case we are changing the style of the element that has the HTML ID of spoiler.  What we are changing is the value set to the display attribute, and changing the value to block.  This value will allow us to show the element on the page now.</p>
<p>Finally we need to create the element that contains the spoiler information.   This element is going to be a div tag, which will have it&#8217;s class and id values set to spoiler.  Here is that tag.</p>
<p style="border: 1px solid #cccccc; padding: 5px; color: #0000ff">&lt;div class=&#8221;spoiler&#8221; id=&#8221;spoiler&#8221;&gt;There are parts of the final battles that I really liked.  When Legolas takes down the elephant like animal was really exciting.  I also love how the spirits of the dead army rush into battle at Aragon&#8217;s command.  The fight between Frodo and Gollum was well done also.  From start to finish Return of the King is action packed and entertaining.&lt;/div&gt;</p>
<p>This is a simple code that will allow you to create a very useful effect, and add a Web 2.0 feel to your site also.  If you also want to allow the user to hide the spoiler again, all you have to do is create a second &#8220;button&#8221; just like the show spoiler but instead of setting the display value to block, set the value back to none.</p>
<p>Below is an example of the code.</p>
<p><span style="border: medium outset #e4e4e4; background-color: #e4e4e4; padding-left: 5px; padding-right: 5px" onclick="document.getElementById('spoiler').style.display = 'block'">Show Spoilers</span></p>
<p style="display: none" id="spoiler" onclick="this.style.display= 'none'">There are parts of the final battles that I really liked.  When Legolas takes down the elephant like animal was really exciting.  I also love how the spirits of the dead army rush into battle at Aragon&#8217;s command.  The fight between Frodo and Gollum was well done also.  From start to finish Return of the King is action packed and enteraining.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/cssjuice?a=GCHSCMo_htA:AkVuUjykezU:8wAFQBKBrM0"><img src="http://feeds.feedburner.com/~ff/cssjuice?d=8wAFQBKBrM0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=GCHSCMo_htA:AkVuUjykezU:iZ-aAG5SDI8"><img src="http://feeds.feedburner.com/~ff/cssjuice?d=iZ-aAG5SDI8" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=GCHSCMo_htA:AkVuUjykezU:o6nXgad8f78"><img src="http://feeds.feedburner.com/~ff/cssjuice?d=o6nXgad8f78" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=GCHSCMo_htA:AkVuUjykezU:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/cssjuice?i=GCHSCMo_htA:AkVuUjykezU:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=GCHSCMo_htA:AkVuUjykezU:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/cssjuice?i=GCHSCMo_htA:AkVuUjykezU:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/cssjuice/~4/GCHSCMo_htA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.cssjuice.com/hidden-tags/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.cssjuice.com/hidden-tags/</feedburner:origLink></item>
		<item>
		<title>Light JavaScript Rollover</title>
		<link>http://feedproxy.google.com/~r/cssjuice/~3/WGOMscghLp0/</link>
		<comments>http://www.cssjuice.com/light-javascript-rollover/#comments</comments>
		<pubDate>Fri, 13 Jun 2008 16:15:05 +0000</pubDate>
		<dc:creator>Derald</dc:creator>
		
		<category><![CDATA[CSS]]></category>

		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.cssjuice.com/light-javascript-rollover/</guid>
		<description><![CDATA[By combining both JavaScript and CSS, you can create a very nice roller over effect.  This is similar to the CSS rollover effect in previous tutorials, but with this effect, we can even use an image to create a rollover effect.

Before we get into the effect, let&#8217;s go over some of the JavaScript that [...]]]></description>
			<content:encoded><![CDATA[<p>By combining both JavaScript and CSS, you can create a very nice roller over effect.  This is similar to the CSS rollover effect in previous tutorials, but with this effect, we can even use an image to create a rollover effect.</p>
<p><span id="more-1027"></span></p>
<p>Before we get into the effect, let&#8217;s go over some of the JavaScript that we will be using to create the effect.  If you have ever used JavaScript you more then likely know about JavaScript events.  If you haven&#8217;t used JavaScript, the events will allow elements to be interactive.  The JavaScript event that we will be using is onmouseover, and onmouseout.  These events allow the element to interact with the mouse.  If the mouse touches the element, then the event onmouseover is activated.  When the mouse leaves the element then onmouseout is activated.  These events will allow us to control what part of the CSS changes when the mouse interacts with the element.  We can use the onmouseout event to reset the element back to its original state.   If I have lost you, let me give an example of what I mean.</p>
<p style="border: 1px solid #cccccc; padding: 5px; color: #0000ff"> &lt;span onmouseover=&#8221;this.style.background=&#8217;#0000FF&#8217;&#8221; onmouseout=&#8221;this.style.background=&#8217;#FFFFFF&#8217;&#8221;&gt;When the mouse touched this element the background will turn blue.  When the mouse no longer touches the element the background will be white.&lt;/span&gt;</p>
<p>If you were to copy the code above and place it in a HTML document, when a visitor touched the span element with their mouse the background will turn blue.  When the mouse is no longer touching the span tag, the background will return to white.</p>
<p>What you may have noticed in the example is the this.style.background part of the code.  You may also be asking what does this mean.  JavaScript is what is called an object oriented language, this means that we can tell JavaScript to change elements based on the element&#8217;s name.  The &#8220;this&#8221; part of the code, is a short way of saying this element.  So, &#8220;this.style&#8221; is telling JavaScript to change the style of this element.  Since we are wanting to change the background, we just add &#8220;.background&#8221; to &#8220;this.style&#8221; to change the background.  Now that we know how to change the style of an element based on a JavaScript event, we have created a rollover.  The rollover in the example above can be done with the :hover attribute in CSS.</p>
<p>To create the rollover effect with an image we need to use the CSS opacity attribute.  This attribute allows us to change the opacity of the image without editing the image itself with a image editor.   The value for opacity has to be between 0.0 and 1.0.   The lower the number, the more transparent the image is.</p>
<p>The only issue with using the opacity filter is that Internet Explorer does not support it.  To get around this issue, we will have to use IE&#8217;s filter attribute.  The first thing we need to do is create a class with the opacity set for the &#8220;off&#8221; status of the element.  Here is the code that will do that.   IE&#8217;s filter attribute accepts values between 0 and 100.  The format for this attribute is filter: alpha(opacity=XX) where XX is the value of the opacity.</p>
<p>The first thing we need to do is choose what  opacity the image will have in the &#8220;off&#8221; status.  For this example we will use an opacity of 0.4, or 40 for the IE filter.  Below is the code that will set the opacity to the class menu.  We have also set color to white so that we can see the text that is on top of the image.</p>
<p style="border: 1px solid #cccccc; padding: 5px; color: #0000ff">
<pre>
.menu {
background: url(images/cssjuice_fade.jpg) repeat;
filter: alpha(opacity=40);
opacity: 0.4;
}</pre>
<p>Now the image has a opacity set, we need to look at the JavaScript code.  To change the opacity in a browser that supports opacity other then Internet Explorer, the code would be this.style.opacity=X.  For IE, we have to also add this.style.filter.alpha.opacity=XX.  With our effect we want the opacity completely removed when the user&#8217;s mouse touches our element so we will need to set the values to 1 and 100 for IE.  Here is the JavaScript we will need to add to the tags in order to change the opacity:</p>
<p style="border: 1px solid #cccccc; padding: 5px; color: #0000ff"> onmouseover=&#8221;this.style.opacity=&#8217;1&#8242;; this.style.filter.alpha.opacity=&#8217;100&#8242;&#8221;</p>
<p>We also have to reset the opacity to the original &#8220;off&#8221; state.  To do this we will have to set the opacity settings back to their original values with the onmouseoff event.  Here is that code.</p>
<p style="border: 1px solid #cccccc; padding: 5px; color: #0000ff"> onmouseoff=&#8221;this.style.opacity=&#8217;0.4&#8242;; this.style.filter.alpha.opacity=&#8217;40&#8242;&#8221;</p>
<p>The only thing left to do is join both parts of the JavaScript with the HTML element.</p>
<p style="border: 1px solid #cccccc; padding: 5px; color: #0000ff"> &lt;span class=&#8221;menu&#8221; onmouseover=&#8221;this.style.opacity=&#8217;1&#8242;; this.style.filter.alpha.opacity=&#8217;100&#8242;&#8221; onmouseoff=&#8221;this.style.opacity=&#8217;0.4&#8242;; this.style.filter.alpha.opacity=&#8217;40&#8242;&#8221;&gt;Put your mouse on this text&lt;/span&gt;</p>
<p>The only issue with this code is that it will be hard to read.  In order to make our code easier to read we can make some changes by making a JavaScript function that we can include in between the head tags of our page, and make a minor change in the HTML element itself.  Here is the JavaScript function, and the changes in the HTML element.</p>
<p style="border: 1px solid #cccccc; padding: 5px; color: #0000ff">
<pre>
&lt;script&gt;function statusOn(element){element.style.opacity=1;element.filters.alpha.opacity=100;}

function statusOff(element){

element.style.opacity=0.4;

element.filters.alpha.opacity=40;

}

&lt;/script&gt;</pre>
<p style="border: 1px solid #cccccc; padding: 5px; color: #0000ff"> &lt;span class=&#8221;menu&#8221; onmouseover=&#8221;statusOn(this)&#8221; onmouseout=&#8221;statusOff(this)&#8221;&gt;Put your mouse on this text&lt;/span&gt;</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/cssjuice?a=WGOMscghLp0:aAQ_SPLrTmY:8wAFQBKBrM0"><img src="http://feeds.feedburner.com/~ff/cssjuice?d=8wAFQBKBrM0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=WGOMscghLp0:aAQ_SPLrTmY:iZ-aAG5SDI8"><img src="http://feeds.feedburner.com/~ff/cssjuice?d=iZ-aAG5SDI8" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=WGOMscghLp0:aAQ_SPLrTmY:o6nXgad8f78"><img src="http://feeds.feedburner.com/~ff/cssjuice?d=o6nXgad8f78" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=WGOMscghLp0:aAQ_SPLrTmY:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/cssjuice?i=WGOMscghLp0:aAQ_SPLrTmY:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=WGOMscghLp0:aAQ_SPLrTmY:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/cssjuice?i=WGOMscghLp0:aAQ_SPLrTmY:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/cssjuice/~4/WGOMscghLp0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.cssjuice.com/light-javascript-rollover/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.cssjuice.com/light-javascript-rollover/</feedburner:origLink></item>
		<item>
		<title>Web 2.0 Customized Buttons</title>
		<link>http://feedproxy.google.com/~r/cssjuice/~3/6dQiyeRVgm0/</link>
		<comments>http://www.cssjuice.com/web-20-customized-buttons/#comments</comments>
		<pubDate>Thu, 05 Jun 2008 19:41:15 +0000</pubDate>
		<dc:creator>Derald</dc:creator>
		
		<category><![CDATA[CSS]]></category>

		<category><![CDATA[Tutorials]]></category>

		<category><![CDATA[Web 2.0]]></category>

		<guid isPermaLink="false">http://www.cssjuice.com/web-20-customized-buttons/</guid>
		<description><![CDATA[With HTML you have very limited control over how input buttons look.  If you want to create a button for a form, when using the just HTML you get the same default browser button.  Most of the time this is a gray button with black text, and does not fit the color scheme [...]]]></description>
			<content:encoded><![CDATA[<p>With HTML you have very limited control over how input buttons look.  If you want to create a button for a form, when using the just HTML you get the same default browser button.  Most of the time this is a gray button with black text, and does not fit the color scheme of your site. If you use CSS, gray buttons are the thing of the past.<span id="more-1026"></span></p>
<p>Just like most HTML elements, you can use CSS to customize the buttons on your site to fit your site&#8217;s design.   As with most elements, you can control almost every aspect of your button&#8217;s look from the font type all the way down to the background.  We are going to use an image with a gradient to create a Web 2.0 style button.  First thing we did was create an image that was four pixels wide, and twenty pixels tall.  We then used the gradient tool to create a fade between two of the main colors on our site.  In our image, we choose the green and blue in the CSS Juice logo. Here is our results.</p>
<p><img src="http://images.ientry.com/cssjuice/web2_button/cssjuice_fade.jpg" alt="Web 2.0 Button Fade Image" height="20" width="4" /></p>
<p>As you can tell by itself, this image is hard to see, and tell what is actually happening.  But with CSS, we can have this image repeat as a background, and thus making the image seem larger.  The benefit to creating the image so small is two-fold.  If we have users with a slower connection, then they do not have to download a very large image.  Our image is only 340 bytes large, this means that users on dial-up will get the same effect, but without the wait.  The second reason is with CSS, we can have the image repeat, if we  use a smaller image we can reuse this image on larger buttons.</p>
<p>Lets look at the CSS code for our buttons now.</p>
<p style="border: 1px solid #cccccc; padding: 5px; color: #0000ff"> button {<br />
background: url(images/cssjuice_fade.jpg) repeat;<br />
color: white;<br />
}</p>
<p>That is all the CSS code we need to make the faded button.  The image does most of the work for us.  If you don&#8217;t want the fade look, you can use the background attribute to change the background of your buttons.  If you don&#8217;t use the input element instead of button element, you should create a class to apply to the input element.</p>
<p>Here is a before and after &#8220;picture&#8221; of the button.</p>
<p><button>Default Button</button></p>
<p><button style="background: transparent url('http://images.ientry.com/cssjuice/web2_button/cssjuice_fade.jpg') repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; color: white">Web 2.0 Button With Fade Effect</button></p>
<p><button style="background-color: #3978ba; color: white">Web 2.0 Button Without Fade Effect</button></p>
<p>As you can see the Web 2.0 buttons better fits our site&#8217;s theme than the default button.</p>
<p>One way that you can use this effect is with a form.  You could either make the text or background of a form&#8217;s submit button green, where as the cancel or reset button be red. Similar to the buttons below.</p>
<p><button style="background-color: green; color: white">Submit</button> <button style="background-color: red; color: white">Cancel</button></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/cssjuice?a=6dQiyeRVgm0:PJwnlAXwUUo:8wAFQBKBrM0"><img src="http://feeds.feedburner.com/~ff/cssjuice?d=8wAFQBKBrM0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=6dQiyeRVgm0:PJwnlAXwUUo:iZ-aAG5SDI8"><img src="http://feeds.feedburner.com/~ff/cssjuice?d=iZ-aAG5SDI8" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=6dQiyeRVgm0:PJwnlAXwUUo:o6nXgad8f78"><img src="http://feeds.feedburner.com/~ff/cssjuice?d=o6nXgad8f78" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=6dQiyeRVgm0:PJwnlAXwUUo:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/cssjuice?i=6dQiyeRVgm0:PJwnlAXwUUo:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=6dQiyeRVgm0:PJwnlAXwUUo:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/cssjuice?i=6dQiyeRVgm0:PJwnlAXwUUo:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/cssjuice/~4/6dQiyeRVgm0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.cssjuice.com/web-20-customized-buttons/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.cssjuice.com/web-20-customized-buttons/</feedburner:origLink></item>
		<item>
		<title>Rounded Corners Using CSS</title>
		<link>http://feedproxy.google.com/~r/cssjuice/~3/mW35YDi8pY8/</link>
		<comments>http://www.cssjuice.com/rounded-corners-using-css/#comments</comments>
		<pubDate>Tue, 03 Jun 2008 16:58:00 +0000</pubDate>
		<dc:creator>Derald</dc:creator>
		
		<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://www.cssjuice.com/rounded-corners-using-css/</guid>
		<description><![CDATA[One of the more popular things to do with CSS is to have elements with rounded corners.  Some designers have even called this the holy grail of CSS.  It is also one of those design elements that give your site a sophisticated and professional look.  Most designers will tell you to achieve [...]]]></description>
			<content:encoded><![CDATA[<p>One of the more popular things to do with CSS is to have elements with rounded corners.  Some designers have even called this the holy grail of CSS.  It is also one of those design elements that give your site a sophisticated and professional look.  Most designers will tell you to achieve this look it is hard work, well don&#8217;t fear we can achieve the same look with a few lines of CSS.</p>
<p>First, we have to create four images which will create the rounded effect.   The images should have a transparent background, but have a rounded edge effect with the color of your site background.   Here is an example of the rounded images we used with a black background instead of a transparent one.</p>
<p><img src="http://images.ientry.com/cssjuice/rounded/corner_example.gif" alt="Rounded Corner -- Example" border="1" height="50" width="50" /><br />
<span id="more-1025"></span><br />
With the images now created, we can start looking at the CSS code to create the effect.  Since we only want the effect on elements that we choose to apply it to, we will need to create a class for the effect.  Lets call this class round.  You can name the class anything you would like, but it is best to try to keep it simple but descriptive.  We will need to use the images that we created, and we are going to use them as background images.  This means we are at least going to use the background attribute in CSS.  In order to use the images, we are going to also have to tell the CSS code where the images are located, to do this we will use url().   So far, our CSS should look like the following.</p>
<p style="border: 1px solid #cccccc; padding: 5px; color: #0000ff"> .round{<br />
background: url(images/top_right.gif);<br />
}</p>
<p>So far the CSS is simple, but we already have ran into an issue.  If we were to use this CSS, we will have the image top_right.gif repeat, to create the rounded corners we do not want this to happen.  We have to add additional values to the background attribute to stop the image from repeating.  To do this, just add no-repeat after the url() but before the semi colon.  Another issue that we have ran into is that the background starts in the top left corner, but this is the image for the top right corner.  To solve this we need to add &#8220;top right&#8221; after the no-repeat value.  With the added values the CSS code should look like the following now.</p>
<p style="border: 1px solid #cccccc; padding: 5px; color: #0000ff"> .round{<br />
background: url(images/top_right.gif) no-repeat top right;<br />
}</p>
<p>If we were to apply this style sheet to an element at this point it would just have one rounded corner.   In order to get the top left corner rounded, we have to add a few things to the code, first we need to add the pseudo-element :before.  (Note that Internet Explorer does not support the :before and :after pseudo-elements, and the effect will not appear for Internet Explorer users.) This will apply the style before any element that is in the round element.  Another reason that the pseudo-element is needed, is because we have to use the content attribute.  The content attribute can only be used with the pseudo-elements :before and :after.  This attribute allows us to &#8220;float&#8221; the image for the rounded top left corner into the correct position.  Again to do this we are going to use the url() value.  Here is what the style sheet now looks like with all of this added.</p>
<p style="border: 1px solid #cccccc; padding: 5px; color: #0000ff"> .round:before{<br />
background: url(images/top_right.gif) no-repeat top right;<br />
content: url(images/top_left.gif)<br />
}</p>
<p>Here again we run into another issue, this code will only make a semi circle instead of a round effect that we want to overcome this issue, we will only need to add the display attribute and set the value to block.  Here is the final style to round both top corners.</p>
<p style="border: 1px solid #cccccc; padding: 5px; color: #0000ff"> .round:before{<br />
background: url(&#8217;images/top_right.gif&#8217;) no-repeat top right;<br />
display: block;<br />
content: url(images/top_left.gif)<br />
}</p>
<p>Now, if we put any element into the class round, the top two corners will have a rounded effect.  To have the bottom corners rounded we only need to change a few things in the code itself.  We have to change the images that we are using, and change the pseudo-element from :before to :after.  Below is what the style sheet looks like to give the effect to the bottom corners.</p>
<p style="border: 1px solid #cccccc; padding: 5px; color: #0000ff"> .round:after{<br />
background: url(&#8217;images/bottom_right.gif&#8217;) no-repeat top right;<br />
display: block;<br />
content: url(images/bottom_left.gif)<br />
}</p>
<p>Now, to style the element that we are putting in the round class.  If we were using this in an actual site then we would create an id.  We would then give the element the id, and class.  Remember that ids are used for one element, where classes are used for multiple elements.  If you were wanting all of the element with rounded corners to have the same look, then use a class.  In this example we are going to use both. So lets start with the round class.  Lets make this class 350 pixels wide with a background that is a shade of grey.  Here is the CSS code for that.</p>
<p style="border: 1px solid #cccccc; padding: 5px; color: #0000ff"> .round{<br />
background: #DCDCDC;<br />
width: 350px;<br />
}</p>
<p>For the id, we will name it corners, and lets make it 150 pixels wide, with a dark green background.  We also want the text to be bold and white.</p>
<p style="border: 1px solid #cccccc; padding: 5px; color: #0000ff"> #corners{<br />
background: #2F4F4F;<br />
width: 150;<br />
color: #FFFFFF;<br />
font-weight: bold;<br />
}</p>
<p>That is it for the CSS to create this effect.  Lets move on an look at the HTML part of the code.</p>
<p><!--Next Page--></p>
<p>Most of the HTML to create the rounded corner effect is very basic, we are just going to apply a class to the element.  As we stated before, we can also apply an id to the element to create an even more custom feel for each element.  Below is an example of both ways.</p>
<p style="border: 1px solid #cccccc; padding: 5px; color: #0000ff"> &lt;div class=&#8221;round&#8221;&gt;This is an element in the round class, since we have applied a background, and width attributes to the class, this element will inherit those values.&lt;/div&gt;<br />
&lt;p class=&#8221;round&#8221; id=&#8221;corner&#8221;&gt;This element will have the rounded corner effect, but will also have a different background color, width, and text color since it also has an id value&lt;/p&gt;</p>
<p>Since our images only have the color if the background of the body to create the rounded effect, both elements will have a rounded effect, but with different background colors.</p>
<p>Here is the all of the CSS:</p>
<p style="border: 1px solid #cccccc; padding: 5px; color: #0000ff"> .round:before{<br />
background: url(’images/top_right.gif’) no-repeat top right;<br />
display: block;<br />
content: url(images/top_left.gif)<br />
}</p>
<p>.round:after{<br />
background: url(’images/bottom_right.gif’) no-repeat top right;<br />
display: block;<br />
content: url(images/bottom_left.gif)<br />
}</p>
<p>.round{<br />
background: #DCDCDC;<br />
width: 350px;<br />
}</p>
<p>#corners{<br />
background: #2F4F4F;<br />
width: 150;<br />
color: #FFFFFF;<br />
font-weight: bold;<br />
}</p>
<p>You can see an example of this code <a href="http://images.ientry.com/cssjuice/rounded/example.htm">here</a></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/cssjuice?a=mW35YDi8pY8:FyR7Dighpck:8wAFQBKBrM0"><img src="http://feeds.feedburner.com/~ff/cssjuice?d=8wAFQBKBrM0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=mW35YDi8pY8:FyR7Dighpck:iZ-aAG5SDI8"><img src="http://feeds.feedburner.com/~ff/cssjuice?d=iZ-aAG5SDI8" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=mW35YDi8pY8:FyR7Dighpck:o6nXgad8f78"><img src="http://feeds.feedburner.com/~ff/cssjuice?d=o6nXgad8f78" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=mW35YDi8pY8:FyR7Dighpck:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/cssjuice?i=mW35YDi8pY8:FyR7Dighpck:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=mW35YDi8pY8:FyR7Dighpck:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/cssjuice?i=mW35YDi8pY8:FyR7Dighpck:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/cssjuice/~4/mW35YDi8pY8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.cssjuice.com/rounded-corners-using-css/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.cssjuice.com/rounded-corners-using-css/</feedburner:origLink></item>
		<item>
		<title>Rollovers using only CSS</title>
		<link>http://feedproxy.google.com/~r/cssjuice/~3/9uaDbd1LUC8/</link>
		<comments>http://www.cssjuice.com/rollovers-using-only-css/#comments</comments>
		<pubDate>Tue, 20 May 2008 16:12:54 +0000</pubDate>
		<dc:creator>Derald</dc:creator>
		
		<category><![CDATA[CSS]]></category>

		<category><![CDATA[Tutorials]]></category>

		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.cssjuice.com/rollovers-using-only-css/</guid>
		<description><![CDATA[ In the past we have posted on how to create rollovers using CSS.   To do this, we used a sprite to create the rollover effect.  You can also create a rollover effect by using just CSS.
Let&#8217;s first look at the CSS code that will allow us to create this effect.
 &#60;style&#62;
.menu [...]]]></description>
			<content:encoded><![CDATA[<p> In the past we have posted on how to create rollovers using CSS.   To do this, we used a sprite to create the rollover effect.  You can also create a rollover effect by using just CSS.</p>
<p>Let&#8217;s first look at the CSS code that will allow us to create this effect.</p>
<p style="border: 1px solid #cccccc; padding: 5px; color: #0000ff"> &lt;style&gt;<br />
.menu a:hover {<br />
display: inline;<br />
color: #3979ba;<br />
background-color: #76b71a;<br />
font-weight: bold;<br />
padding: 5px;<br />
}<br />
.menu a{<br />
display: inline;<br />
color: #76b71a;<br />
background-color: #3979ba;<br />
font-weight: bold;<br />
padding: 5px;<br />
}<br />
.menu li{<br />
display: inline;<br />
}<br />
&lt;/style&gt;</p>
<p>So far we have uses the pseudo-class :hover, and applied the effect to any a tag with in the menu class.  What we did with the :hover is invert the colors of the text and background, everything else says the same.  If the other attributes did not stay the same the rollover effect would not look proper.  We also make all the li elements display in a row with the inline attribute.<br />
<span id="more-1019"></span><br />
Now for the HTML code</p>
<p style="border: 1px solid #cccccc; padding: 5px; color: #0000ff"> &lt;ul class=&#8221;menu&#8221;&gt;<br />
&lt;li&gt;&lt;a href=&#8221;#&#8221;&gt;Link 1&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href=&#8221;#&#8221;&gt;Link 2&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href=&#8221;#&#8221;&gt;Link 3&lt;/a&gt;&lt;/li&gt;<br />
&lt;/ul&gt;</p>
<p>As you see the HTML code is just an unordered list that has the class menu applied to it.  In each list element, we have a link for our menu.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/cssjuice?a=9uaDbd1LUC8:OeX0umHxM-g:8wAFQBKBrM0"><img src="http://feeds.feedburner.com/~ff/cssjuice?d=8wAFQBKBrM0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=9uaDbd1LUC8:OeX0umHxM-g:iZ-aAG5SDI8"><img src="http://feeds.feedburner.com/~ff/cssjuice?d=iZ-aAG5SDI8" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=9uaDbd1LUC8:OeX0umHxM-g:o6nXgad8f78"><img src="http://feeds.feedburner.com/~ff/cssjuice?d=o6nXgad8f78" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=9uaDbd1LUC8:OeX0umHxM-g:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/cssjuice?i=9uaDbd1LUC8:OeX0umHxM-g:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=9uaDbd1LUC8:OeX0umHxM-g:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/cssjuice?i=9uaDbd1LUC8:OeX0umHxM-g:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/cssjuice/~4/9uaDbd1LUC8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.cssjuice.com/rollovers-using-only-css/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.cssjuice.com/rollovers-using-only-css/</feedburner:origLink></item>
		<item>
		<title>Back to Basics: A Beginners guide to starting a CSS Document</title>
		<link>http://feedproxy.google.com/~r/cssjuice/~3/PwupIdsBbOc/</link>
		<comments>http://www.cssjuice.com/back-to-basics-a-beginners-guide-to-starting-a-css-document/#comments</comments>
		<pubDate>Thu, 24 Apr 2008 15:54:09 +0000</pubDate>
		<dc:creator>Rafael</dc:creator>
		
		<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://www.cssjuice.com/back-to-basics-a-beginners-guide-to-starting-a-css-document/</guid>
		<description><![CDATA[Here&#8217;s a tip for you. Never let the browser to decide what your site will look like. What we&#8217;ll go over today is a quick and easy way of defining styles for common html tags that should dramatically cut down on the amount of guess work a browser will have to do to interpret your [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a tip for you. Never let the browser to decide what your site will look like. What we&#8217;ll go over today is a quick and easy way of defining styles for common html tags that should dramatically cut down on the amount of guess work a browser will have to do to interpret your website. As you all know some of our more popular browsers **cough** IE **cough** tend not to display things as well as we want on their own.</p>
<p><span id="more-1024"></span></p>
<p>The good news is that it&#8217;s really simple to fix. The bad news is that it&#8217;ll take a little bit of typing to get it down to the way you want. I hope you&#8217;ve warmed your fingers up a bit so that you don&#8217;t get a cramp. Let&#8217;s get started&#8230;</p>
<p>Now, I like to start with the &lt;body&gt; tag when I&#8217;m creating my style sheet. It really doesn&#8217;t matter what order you go in, but I generally go down the list of what&#8217;s first presented on the page.</p>
<div style="margin: 0px 25px; padding: 5px; border: solid 1px #CCCCCC; color: #0000ff;">
<p><span style="color: #ff00ff;">body {</span></p>
<p><span style="color: #ff00ff;">}</span></p>
</div>
<p>First up let&#8217;s define the margins and the padding of the body so that we&#8217;ll get a nice even border across all browsers.</p>
<div style="margin: 0px 25px; padding: 5px; border: solid 1px #CCCCCC; color: #0000ff;">
<p><span style="color: #ff00ff;">body {</span><br />
&nbsp;&nbsp;  <span style="color: #000099;">margin:</span> 0px<span style="color: #ff00ff;">;</span><br />
&nbsp;&nbsp;  <span style="color: #000099;">padding:</span> 0px<span style="color: #ff00ff;">;</span><br />
<span style="color: #ff00ff;">}</span></p>
</div>
<p>What the above does is tell the browser to make all margins and all padding zero pixels across the entire body (meaning our website can go full screen all the way out to the edges).</p>
<p>Next we&#8217;ll go ahead and define our fonts and background color that we want the browser to use.</p>
<div style="margin: 0px 25px; padding: 5px; border: solid 1px #CCCCCC; color: #0000ff;">
<p><span style="color: #ff00ff;">body {</span><br />
&nbsp;&nbsp;  <span style="color: #000099;">margin:</span> 0px<span style="color: #ff00ff;">;</span><br />
&nbsp;&nbsp;  <span style="color: #000099;">padding:</span> 0px<span style="color: #ff00ff;">;</span><br />
&nbsp;&nbsp;  <span style="color: #000099;">background-color:</span> #FFFFFF<span style="color: #ff00ff;">;</span><br />
&nbsp;&nbsp;  <span style="color: #000099;">font:</span> normal 0.92em Arial, Helvetica, sans-serif<span style="color: #ff00ff;">;</span><br />
<span style="color: #ff00ff;">}</span></p>
</div>
<p>With the font, I&#8217;ve used a little bit of short hand just to keep things compact and simple. If you aren&#8217;t familiar with this, it&#8217;s perfectly ok to do what&#8217;s comfortable for you.</p>
<p>With that out of the way, let&#8217;s move on to our next set of tags. For me this is either a &lt;table&gt; tag with &lt;td&gt; tags within it or a &lt;div&gt;, depending on what type of site I&#8217;m doing. Now is a good time to go ahead and define what we need for these two.</p>
<div style="margin: 0px 25px; padding: 5px; border: solid 1px #CCCCCC; color: #0000ff;">
<p><span style="color: #ff00ff;">td {</span><br />
&nbsp;&nbsp;  <span style="color: #000099;">font:</span> normal 0.92em Arial, Helvectica, sans-serif<span style="color: #ff00ff;">;</span><br />
<span style="color: #ff00ff;">}</span></p>
<p><span style="color: #ff00ff;">div {</span><br />
&nbsp;&nbsp;  <span style="color: #000099;">margin:</span> 0px<span style="color: #ff00ff;">;</span><br />
&nbsp;&nbsp;  <span style="color: #000099;">padding:</span> 0px<span style="color: #ff00ff;">;</span><br />
&nbsp;&nbsp;  <span style="color: #000099;">font:</span> normal 0.92em Arial, Helvectica, sans-serif<span style="color: #ff00ff;">;</span><br />
<span style="color: #ff00ff;">}</span></p>
</div>
<p>You&#8217;ll notice that I&#8217;ve zeroed out the margin and padding on all &lt;div&gt; tags. Why would I do this? Simple, not all browsers use the same settings to display these. Doing this we bend the browsers to our will. I prefer zero when doing all CSS layouts, but you can set them to whatever works best for you.</p>
<p>Next on the list will be our handy dandy links, but before we jump into these I&#8217;d like to say a few things. Links are a little different animal when it comes to redefining them. You could just make a standard &#8220;a&#8221; class in your CSS, but that doesn&#8217;t cover all aspects of the link itself. Instead we&#8217;ll use what&#8217;s called &#8220;pseudo-classes&#8221; for our linking.</p>
<div style="margin: 0px 25px; padding: 5px; border: solid 1px #CCCCCC; color: #0000ff;">
<p><span style="color: #ff00ff;">a:link {</span><br />
&nbsp;&nbsp;  <span style="color: #000099;">color:</span> #0000CC<span style="color: #ff00ff;">;</span><br />
&nbsp;&nbsp;  <span style="color: #000099;">text-decoration:</span> underline<span style="color: #ff00ff;">;</span><br />
<span style="color: #ff00ff;">}</span></p>
<p><span style="color: #ff00ff;">a:hover {</span><br />
&nbsp;&nbsp;  <span style="color: #000099;">color:</span> #0000CC<span style="color: #ff00ff;">;</span><br />
&nbsp;&nbsp;  <span style="color: #000099;">text-decoration:</span> none<span style="color: #ff00ff;">;</span><br />
<span style="color: #ff00ff;">}</span></p>
<p><span style="color: #ff00ff;">a:visited {</span><br />
&nbsp;&nbsp;  <span style="color: #000099;">color:</span> #551A8B<span style="color: #ff00ff;">;</span><br />
<span style="color: #ff00ff;">}</span></p>
</div>
<p>What this basically means is that we&#8217;ll be able to control various states of a link like it&#8217;s normal state (a:link), it&#8217;s mouse over effect (a:hover), and it&#8217;s state after it&#8217;s been clicked (a:visited). I set all my links to default blue with an underline. Then when you put your mouse over them they stay blue, but the underline disappears. Once it&#8217;s been clicked, just so you know you&#8217;ve clicked it before, I chose to use a dark purple. Like always you are free to use whatever effects/colors you&#8217;d like. This is just to give you a starting block to build upon.</p>
<p>Now we&#8217;ll move onto the next tag we&#8217;ll redefine, to make appear standard across all the browsers, the *lt;p&gt; paragraph tag. For some reason there is a huge difference in the margins created by the &lt;p&gt; in FireFox and Internet Explorer. We&#8217;re going to fix that.</p>
<div style="margin: 0px 25px; padding: 5px; border: solid 1px #CCCCCC; color: #0000ff;">
<p><span style="color: #ff00ff;">p {</span><br />
&nbsp;&nbsp;  <span style="color: #000099;">margin:</span> 10px 0px<span style="color: #ff00ff;">;</span><br />
<span style="color: #ff00ff;">}</span></p>
</div>
<p>Finally we&#8217;ll move out to our head tags &lt;h&#8221;x&#8221;&gt;.  The &#8220;x&#8221; would be replaced by a number to suit your needs of course. These aren&#8217;t really used as often as they used to e, but they still hold some value SEO wise. So, just to be sure, we&#8217;ll go ahead and include how we want them to look instead of the greatly oversized bold black text they normally default to.</p>
<div style="margin: 0px 25px; padding: 5px; border: solid 1px #CCCCCC; color: #0000ff;">
<p><span style="color: #ff00ff;">h1, h2, <span style="color: #ff00ff;">h3 {</span></span><br />
&nbsp;&nbsp;	<span style="color: #000099;">margin:</span> 0px<span style="color: #ff00ff;">;</span><br />
&nbsp;&nbsp;	<span style="color: #000099;">padding:</span> 0px<span style="color: #ff00ff;">;</span><br />
<span style="color: #ff00ff;">}</span></p>
<p><span style="color: #ff00ff;">h1 {</span><br />
&nbsp;&nbsp;	<span style="color: #000099;">font-size:</span> 1.5em<span style="color: #ff00ff;">;</span><br />
<span style="color: #ff00ff;">}</span></p>
<p><span style="color: #ff00ff;">h2 {</span><br />
&nbsp;&nbsp;	<span style="color: #000099;">font-size:</span> 1.3em<span style="color: #ff00ff;">;</span><br />
<span style="color: #ff00ff;">}</span></p>
<p><span style="color: #ff00ff;">h3 {</span><br />
&nbsp;&nbsp;	<span style="color: #000099;">font-size:</span> 1.1em<span style="color: #ff00ff;">;</span><br />
<span style="color: #ff00ff;">}</span></p>
</div>
<p>For the sake of time, and a lot of reading we&#8217;ll end it here. What you should end up with is a very basic CSS document that addresses a few issues that you may encounter when browser checking your new website.</p>
<div style="margin: 0px 25px; padding: 5px; border: solid 1px #CCCCCC; color: #0000ff;">
<p><span style="color: #ff00ff;">body {</span><br />
&nbsp;&nbsp;  <span style="color: #000099;">margin:</span> 0px<span style="color: #ff00ff;">;</span><br />
&nbsp;&nbsp;  <span style="color: #000099;">padding:</span> 0px<span style="color: #ff00ff;">;</span><br />
&nbsp;&nbsp;  <span style="color: #000099;">background-color:</span> #FFFFFF<span style="color: #ff00ff;">;</span><br />
&nbsp;&nbsp;  <span style="color: #000099;">font:</span> normal 0.92em Arial, Helvetica, sans-serif<span style="color: #ff00ff;">;</span><br />
<span style="color: #ff00ff;">}</span><br />
<span style="color: #ff00ff;">td {</span><br />
&nbsp;&nbsp;  <span style="color: #000099;">font:</span> normal 0.92em Arial, Helvectica, sans-serif<span style="color: #ff00ff;">;</span><br />
<span style="color: #ff00ff;">}</span><br />
<span style="color: #ff00ff;">div {</span><br />
&nbsp;&nbsp;  <span style="color: #000099;">margin:</span> 0px<span style="color: #ff00ff;">;</span><br />
&nbsp;&nbsp;  <span style="color: #000099;">padding:</span> 0px<span style="color: #ff00ff;">;</span><br />
&nbsp;&nbsp;  <span style="color: #000099;">font:</span> normal 0.92em Arial, Helvectica, sans-serif<span style="color: #ff00ff;">;</span><br />
<span style="color: #ff00ff;">}</span><br />
<span style="color: #ff00ff;">a:link {</span><br />
&nbsp;&nbsp;  <span style="color: #000099;">color:</span> #0000CC<span style="color: #ff00ff;">;</span><br />
&nbsp;&nbsp;  <span style="color: #000099;">text-decoration:</span> underline<span style="color: #ff00ff;">;</span><br />
<span style="color: #ff00ff;">}</span><br />
<span style="color: #ff00ff;">a:hover {</span><br />
&nbsp;&nbsp;  <span style="color: #000099;">color:</span> #0000CC<span style="color: #ff00ff;">;</span><br />
&nbsp;&nbsp;  <span style="color: #000099;">text-decoration:</span> none<span style="color: #ff00ff;">;</span><br />
<span style="color: #ff00ff;">}</span><br />
<span style="color: #ff00ff;">a:visited {</span><br />
&nbsp;&nbsp;  <span style="color: #000099;">color:</span> #551A8B<span style="color: #ff00ff;">;</span><br />
<span style="color: #ff00ff;">}</span><br />
<span style="color: #ff00ff;">p {</span><br />
&nbsp;&nbsp;  <span style="color: #000099;">margin:</span> 10px 0px<span style="color: #ff00ff;">;</span><br />
<span style="color: #ff00ff;">}</span><br />
<span style="color: #ff00ff;">h1, h2, <span style="color: #ff00ff;">h3 {</span></span><br />
&nbsp;&nbsp;	<span style="color: #000099;">margin:</span> 0px<span style="color: #ff00ff;">;</span><br />
&nbsp;&nbsp;	<span style="color: #000099;">padding:</span> 0px<span style="color: #ff00ff;">;</span><br />
<span style="color: #ff00ff;">}</span><br />
<span style="color: #ff00ff;">h1 {</span><br />
&nbsp;&nbsp;	<span style="color: #000099;">font-size:</span> 1.5em<span style="color: #ff00ff;">;</span><br />
<span style="color: #ff00ff;">}</span><br />
<span style="color: #ff00ff;">h2 {</span><br />
&nbsp;&nbsp;	<span style="color: #000099;">font-size:</span> 1.3em<span style="color: #ff00ff;">;</span><br />
<span style="color: #ff00ff;">}</span><br />
<span style="color: #ff00ff;">h3 {</span><br />
&nbsp;&nbsp;	<span style="color: #000099;">font-size:</span> 1.1em<span style="color: #ff00ff;">;</span><br />
<span style="color: #ff00ff;">}</span></p>
</div>
<p>There are a lot more HTML tags that we could redefine, but I find that the above is a great first step towards creating a browser friendly site using CSS. I hope this helps all of you out there who are just now getting your feet wet.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/cssjuice?a=PwupIdsBbOc:mAKmmSIBs5c:8wAFQBKBrM0"><img src="http://feeds.feedburner.com/~ff/cssjuice?d=8wAFQBKBrM0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=PwupIdsBbOc:mAKmmSIBs5c:iZ-aAG5SDI8"><img src="http://feeds.feedburner.com/~ff/cssjuice?d=iZ-aAG5SDI8" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=PwupIdsBbOc:mAKmmSIBs5c:o6nXgad8f78"><img src="http://feeds.feedburner.com/~ff/cssjuice?d=o6nXgad8f78" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=PwupIdsBbOc:mAKmmSIBs5c:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/cssjuice?i=PwupIdsBbOc:mAKmmSIBs5c:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cssjuice?a=PwupIdsBbOc:mAKmmSIBs5c:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/cssjuice?i=PwupIdsBbOc:mAKmmSIBs5c:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/cssjuice/~4/PwupIdsBbOc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.cssjuice.com/back-to-basics-a-beginners-guide-to-starting-a-css-document/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.cssjuice.com/back-to-basics-a-beginners-guide-to-starting-a-css-document/</feedburner:origLink></item>
	</channel>
</rss>
