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

<channel>
	<title>PiticStyle &#187; cascade style sheet</title>
	<atom:link href="http://www.piticstyle.com/tag/cascade-style-sheet/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.piticstyle.com</link>
	<description>Articles, Tutorials about HTML, CSS, FLASH, PHP, MySQL, Photoshop, SEO, Tools for Webmasters, Media</description>
	<lastBuildDate>Sun, 23 Nov 2008 22:52:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>CSS Properties Tag Cloud</title>
		<link>http://www.piticstyle.com/2008/01/15/css-properties-tag-cloud/</link>
		<comments>http://www.piticstyle.com/2008/01/15/css-properties-tag-cloud/#comments</comments>
		<pubDate>Tue, 15 Jan 2008 06:04:11 +0000</pubDate>
		<dc:creator>PiticStyle</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[Pictures]]></category>
		<category><![CDATA[cascade style sheet]]></category>
		<category><![CDATA[css gallery]]></category>
		<category><![CDATA[css image]]></category>
		<category><![CDATA[CSS properties]]></category>
		<category><![CDATA[tag cloud]]></category>

		<guid isPermaLink="false">http://www.piticstyle.com/2008/01/15/css-properties-tag-cloud/</guid>
		<description><![CDATA[
Yesterday I was playing with Adobe Photoshop and I decide to (try) make a Tag Cloud with CSS 2 Properties. The result is ok! If you use the image please tell the source. Thank you!




]]></description>
			<content:encoded><![CDATA[<p><img src="http://i10.tinypic.com/72k3u3p.jpg" alt="css, css properties, css tag cloud" /></p>
<p>Yesterday I was playing with Adobe Photoshop and I decide to (try) make a Tag Cloud with CSS 2 Properties. The result is ok! If you use the image please tell the source. Thank you!<br />
<span id="more-757"></span></p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-2812146301598422";
//336x280, created 1/13/08
google_ad_slot = "3495155875";
google_ad_width = 336;
google_ad_height = 280;
//--></script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.piticstyle.com/2008/01/15/css-properties-tag-cloud/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Opacity in CSS</title>
		<link>http://www.piticstyle.com/2007/11/07/opacity-in-css/</link>
		<comments>http://www.piticstyle.com/2007/11/07/opacity-in-css/#comments</comments>
		<pubDate>Wed, 07 Nov 2007 22:49:20 +0000</pubDate>
		<dc:creator>PiticStyle</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Download]]></category>
		<category><![CDATA[Pictures]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[cascade style sheet]]></category>
		<category><![CDATA[CSS example]]></category>
		<category><![CDATA[CSS properties]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[Opacity in CSS]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[w3c]]></category>
		<category><![CDATA[webdesign]]></category>
		<category><![CDATA[world wide web consortium]]></category>

		<guid isPermaLink="false">http://www.piticstyle.com/2007/11/07/opacity-in-css/</guid>
		<description><![CDATA[
Today we learn about opacity in CSS! I made an example here and  here you have  the files.
Information about opacity in CSS:
The opacity property takes a value of the amount of transparency from 0.0 to 1.0. 0.0 is 100% transparent &#8211; anything below that element will show completely through. 1.0 is 100% opaque &#8211; nothing below the [...]]]></description>
			<content:encoded><![CDATA[<p><img HEIGHT="513" WIDTH="314" BORDER="1" ALT="Example of Opacity" SRC="http://i7.tinypic.com/6kpo3uf.gif" /></p>
<p>Today we learn about opacity in CSS! I made an example <a TITLE="Opacity in CSS Example" TARGET="_blank" HREF="http://www.piticstyle.com/opacity">here</a> and <a TARGET="_blank" HREF="http://www.piticstyle.com/opacity/opacity.rar"> here</a> you have  the files.</p>
<p><u>Information about opacity in CSS</u>:</p>
<p>The opacity property takes a value of the amount of transparency from 0.0 to 1.0. 0.0 is 100% transparent &#8211; anything below that element will show completely through. 1.0 is 100% opaque &#8211; nothing below the element will show through.</p>
<p>So to set an element to 50% transparent, you would write: <strong>opacity:0.5;</strong></p>
<p>Neither IE 6 nor 7 support the CSS 3 opacity property. But you&#8217;re not out of luck. Instead, IE supports a Microsoft-only property &#8220;alpha filter&#8221;. Alpha filters in IE accept values from 0 (completely transparent) to 100 (completely opaque). So, to get your transparency in IE, you should multiply your opacity by 100 and add an alpha filter to your styles:</p>
<p>Alpha filter   for IE:   <strong>filter: alpha(opacity=50);<br />
</strong>Alpha filter for Mozilla:  <strong>-moz-opacity:0.5;</strong></p>
<p><span id="more-693"></span>More info on <a HREF="http://webdesign.about.com/od/css3/a/aa121306.htm" TARGET="_blank" TITLE="About.com">About.com</a> . Now let&#8217;s to see my example&#8230;</p>
<p>[1] Open Notepad and type this.</p>
<p><font COLOR="#ff0000">&lt;html&gt;<br />
&lt;title&gt;Transparent DIV&lt;/title&gt;<br />
&lt;head&gt;<br />
&lt;style type=&#8221;text/css&#8221;&gt;<br />
body<br />
{<br />
background-image: url(&#8221;picture.jpg&#8221;);<br />
background-repeat: no-repeat;<br />
color: white;<br />
font-size: 20px;<br />
}<br />
div<br />
{<br />
width: 200px;<br />
height: 500px;<br />
margin-left: 15em;<br />
background-color: black;<br />
opacity: 0.70;<br />
}<br />
p    {  padding-top: 20px;<br />
}<br />
&lt;/style&gt;<br />
&lt;/head&gt;<br />
&lt;body&gt;<br />
&lt;div&gt;&lt;center&gt;&lt;p&gt;Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed cursus. Sed sagittis. Nullam imperdiet enim nec quam. Fusce consequat, nunc lacinia interdum fermentum, tortor ante cursus quam, sit amet eleifend risus nunc suscipit risus.&lt;/p&gt;<br />
&lt;/div&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;<font COLOR="#000000">In this example i create an html page with css very simple. I put a background image and a div with the background color black</font><font COLOR="#ff0000"><font COLOR="#000000">. At this div  I low the Opacity at 70%! In the next picture you have the div without opacity&#8230; is ugly!</font></font></p>
<p></font><img SRC="http://i19.tinypic.com/7w7nig5.gif" BORDER="1" WIDTH="252" HEIGHT="512" /></p>
<p>Saw what you need to do is to write this code at the div <strong>opacity: 0.70;</strong></p>
<p>That&#8217;s it! Is very simple&#8230; <a HREF="http://www.piticstyle.com/opacity/" TARGET="_blank">here</a> is the final result and <a TARGET="_blank" HREF="http://www.lipsum.com/">here</a> is an Lorem Ipsum Generator! Thank you!</p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-2812146301598422";
google_ad_width = 336;
google_ad_height = 280;
google_ad_format = "336x280_as";
google_ad_type = "text";
google_ad_channel = "";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "3D81EE";
google_color_text = "000000";
google_color_url = "000000";
//-->
</script><br />
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.piticstyle.com/2007/11/07/opacity-in-css/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Create a simple MENU in CSS</title>
		<link>http://www.piticstyle.com/2007/10/30/create-a-simple-menu-in-css/</link>
		<comments>http://www.piticstyle.com/2007/10/30/create-a-simple-menu-in-css/#comments</comments>
		<pubDate>Tue, 30 Oct 2007 23:53:55 +0000</pubDate>
		<dc:creator>PiticStyle</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[cascade style sheet]]></category>
		<category><![CDATA[Create a Menu in CSS]]></category>
		<category><![CDATA[Create MENU]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[scripts]]></category>
		<category><![CDATA[site]]></category>
		<category><![CDATA[sitedesign]]></category>
		<category><![CDATA[tips&tricks]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[w3c]]></category>
		<category><![CDATA[webdesign]]></category>
		<category><![CDATA[website]]></category>
		<category><![CDATA[worldwideweb consortium]]></category>

		<guid isPermaLink="false">http://www.piticstyle.com/2007/10/30/create-a-simple-menu-in-css/</guid>
		<description><![CDATA[
Today we create a simple MENU in CSS. Click here to see the final result!
[1] Let&#8217;s to create the CSS:
&#60;style type=&#8221;text/css&#8221;&#62;
body  {
text-align: left;
background-image: url(&#8221;bg.gif&#8221;);
}
div     {
width: 100px;
height: 20px;
background-color: #338ce8;
}
div:hover
{
background-color: #085ea6;
}
a       {
color: white;
font-size: 18px;
text-decoration: none;
}
&#60;/style&#62;

Note:
text-decoration: none;  I put this expresion to remove the line under the link!
[2] Now we need to create the HTML code:
&#60;html&#62;
&#60;body&#62;
&#60;head&#62;
&#60;title&#62;Create a simple Menu in CSS&#60;/title&#62;
/* Here is the CSS code */
&#60;/head&#62;
&#60;body&#62;&#60;center&#62;&#60;h1&#62;&#60;u&#62;Create a simple Menu in [...]]]></description>
			<content:encoded><![CDATA[<p><img SRC="http://i6.tinypic.com/62ypund.gif" BORDER="1" WIDTH="112" HEIGHT="74" /></p>
<p>Today we create a simple MENU in CSS. Click <a HREF="http://www.piticstyle.com/menu/" TARGET="_blank">here</a> to see the final result!</p>
<p>[1] Let&#8217;s to create the CSS:</p>
<p><font COLOR="#ff9900">&lt;style type=&#8221;text/css&#8221;&gt;<br />
body  {<br />
text-align: left;<br />
background-image: url(&#8221;bg.gif&#8221;);<br />
}<br />
div     {<br />
width: 100px;<br />
height: 20px;<br />
background-color: #338ce8;<br />
}<br />
div:hover<br />
{<br />
background-color: #085ea6;<br />
}<br />
a       {<br />
color: white;<br />
font-size: 18px;<br />
text-decoration: none;<br />
}<br />
&lt;/style&gt;</font><br />
<span id="more-669"></span><br />
<u>Note</u>:<br />
<font COLOR="#ff6600">text-decoration: none;</font>  I put this expresion to remove the line under the link!</p>
<p>[2] Now we need to create the HTML code:</p>
<p><font COLOR="#ff9900">&lt;html&gt;<br />
&lt;body&gt;<br />
&lt;head&gt;<br />
&lt;title&gt;Create a simple Menu in CSS&lt;/title&gt;</font><br />
/* Here is the CSS code */<br />
<font COLOR="#ff9900">&lt;/head&gt;<br />
&lt;body&gt;&lt;center&gt;&lt;h1&gt;&lt;u&gt;Create a simple Menu in CSS&lt;/u&gt;&lt;/h1&gt;<br />
&lt;br&gt;&lt;br&gt;<br />
&lt;div&gt;&lt;a href=&#8221;#&#8221; mce_href=&#8221;#&#8221;&gt;HOME&lt;/a&gt;&lt;/div&gt;<br />
&lt;div&gt;&lt;a href=&#8221;#&#8221; mce_href=&#8221;#&#8221;&gt;SERVICES&lt;/a&gt;&lt;/div&gt;<br />
&lt;div&gt;&lt;a href=&#8221;#&#8221; mce_href=&#8221;#&#8221;&gt;CONTACT&lt;/a&gt;&lt;/div&gt;&lt;/center&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;</font></p>
<p>The entire code:</p>
<p><font COLOR="#ff9900">&lt;html&gt;<br />
&lt;body&gt;<br />
&lt;head&gt;<br />
&lt;title&gt;Create a simple Menu in CSS&lt;/title&gt;</font><font COLOR="#ff9900"><br />
&lt;style type=&#8221;text/css&#8221;&gt;<br />
body  {<br />
text-align: left;<br />
background-image: url(&#8221;bg.gif&#8221;);<br />
}<br />
div     {<br />
width: 100px;<br />
height: 20px;<br />
background-color: #338ce8;<br />
}<br />
div:hover<br />
{<br />
background-color: #085ea6;<br />
}<br />
a       {<br />
color: white;<br />
font-size: 18px;<br />
text-decoration: none;<br />
}<br />
&lt;/style&gt;<br />
</font><font COLOR="#ff9900">&lt;/head&gt;<br />
&lt;body&gt;&lt;center&gt;&lt;h1&gt;&lt;u&gt;Create a simple Menu in CSS&lt;/u&gt;&lt;/h1&gt;<br />
&lt;br&gt;&lt;br&gt;<br />
&lt;div&gt;&lt;a href=&#8221;#&#8221; mce_href=&#8221;#&#8221;&gt;HOME&lt;/a&gt;&lt;/div&gt;<br />
&lt;div&gt;&lt;a href=&#8221;#&#8221; mce_href=&#8221;#&#8221;&gt;SERVICES&lt;/a&gt;&lt;/div&gt;<br />
&lt;div&gt;&lt;a href=&#8221;#&#8221; mce_href=&#8221;#&#8221;&gt;CONTACT&lt;/a&gt;&lt;/div&gt;&lt;/center&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;</font></p>
<p>That&#8217;s it! <a HREF="http://www.piticstyle.com/menu/" TARGET="_blank">Here</a> is the final result!</p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-2812146301598422";
google_ad_width = 336;
google_ad_height = 280;
google_ad_format = "336x280_as";
google_ad_type = "text";
google_ad_channel = "";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "3D81EE";
google_color_text = "000000";
google_color_url = "000000";
//-->
</script><br />
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.piticstyle.com/2007/10/30/create-a-simple-menu-in-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Links and Pseudo-Classes in CSS</title>
		<link>http://www.piticstyle.com/2007/10/28/links-and-pseudo-classes-in-css/</link>
		<comments>http://www.piticstyle.com/2007/10/28/links-and-pseudo-classes-in-css/#comments</comments>
		<pubDate>Sun, 28 Oct 2007 22:47:55 +0000</pubDate>
		<dc:creator>PiticStyle</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Pictures]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[:hover syntax]]></category>
		<category><![CDATA[cascade style sheet]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[Links in CSS]]></category>
		<category><![CDATA[Pseudo-Classes]]></category>
		<category><![CDATA[rollovers]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[w3c]]></category>

		<guid isPermaLink="false">http://www.piticstyle.com/2007/10/28/links-and-pseudo-classes-in-css/</guid>
		<description><![CDATA[
Today we learn about Links and Pseudo-Classes in CSS. I have made tutorials about rollover&#8217;s here and here, but this is something different and we talk about links &#38; elements where we can put Pseudo-Classe, on a div, text,etc&#8230;
Pseudo-Classes:
:link
:visited
:active
:hover
:focus
We start with an exemple to use :hover pseudo-class on a image
[1] Let&#8217;s create the CSS:

&#60;style type=&#8221;text/css&#8221;&#62;
body {
background-image: url(&#8221;bg.gif&#8221;);
}
img   {
border-width: 4px;
border-color: #CCCCCC;
border-style: solid;
img:hover {
border-color: white;
}
div    {
height: 10px;
width: 80px;
}
div:hover {
background-color: #CCCCCC;
color: white;
}
&#60;/style&#62;
[2] Now we need to create the HTML:
&#60;html&#62;
&#60;head&#62;
&#60;style type=&#8221;text/css&#8221;&#62;
body {
background-image: url(&#8221;bg.gif&#8221;);
}
img   {
border-width: 4px;
border-color: #CCCCCC;
border-style: solid;
img:hover {
border-color: white;
}
div    {
height: 10px;
width: 80px;
}
div:hover {
background-color: #CCCCCC;
color: white;
}
&#60;/style&#62;
&#60;/head&#62;
&#60;body&#62;
&#60;br&#62;&#60;br&#62;
&#60;center&#62;:hover Pseudo-Class on a element (img)
&#60;br&#62;&#60;br&#62;
&#60;img src=&#8221;css.png&#8221;&#62;
&#60;br&#62;&#60;br&#62;
:hover Pseudo-Class on a element (div)
&#60;br&#62;&#60;br&#62;
&#60;div&#62;PiticStyle&#60;div&#62;
&#60;/body&#62;
&#60;/html&#62;
That&#8217;s it! You can create this for any element you want ( paragaphs, headings, links, etc). From here you can download my files and HERE is the final result. Thank you!
]]></description>
			<content:encoded><![CDATA[<p><img BORDER="0" SRC="http://i23.tinypic.com/admhol.png" /></p>
<p>Today we learn about Links and Pseudo-Classes in CSS. I have made tutorials about rollover&#8217;s <a TITLE="Create rollover image in CSS" TARGET="_blank" HREF="http://www.piticstyle.com/2007/10/24/create-rollover-image-in-css/">here</a> and <a TITLE="Create rollover image in Adobe Dreamweaver CS3" TARGET="_blank" HREF="http://www.piticstyle.com/2007/10/24/create-rollover-image-in-adobe-dreamweaver-cs3/">here</a>, but this is something different and we talk about links &amp; elements where we can put Pseudo-Classe, on a div, text,etc&#8230;</p>
<p><u>Pseudo-Classes</u>:</p>
<p><font COLOR="#ff6600">:link<br />
:visited<br />
:active<br />
:hover<br />
:focus</font></p>
<p><span id="more-652"></span><u>We start with an exemple to use <strong>:hover</strong> pseudo-class on a image</u></p>
<p>[1] Let&#8217;s create the CSS:<br />
<font COLOR="#ff6600"><br />
&lt;style type=&#8221;text/css&#8221;&gt;<br />
body {<br />
background-image: url(&#8221;bg.gif&#8221;);<br />
}<br />
img   {<br />
border-width: 4px;<br />
border-color: #CCCCCC;<br />
border-style: solid;<br />
img:hover {<br />
border-color: white;<br />
}<br />
div    {<br />
height: 10px;<br />
width: 80px;<br />
}<br />
div:hover {<br />
background-color: #CCCCCC;<br />
color: white;<br />
}<br />
&lt;/style&gt;</font></p>
<p>[2] Now we need to create the HTML:</p>
<p>&lt;html&gt;<br />
&lt;head&gt;<br />
<font COLOR="#ff6600">&lt;style type=&#8221;text/css&#8221;&gt;<br />
body {<br />
background-image: url(&#8221;bg.gif&#8221;);<br />
}<br />
img   {<br />
border-width: 4px;<br />
border-color: #CCCCCC;<br />
border-style: solid;<br />
img:hover {<br />
border-color: white;<br />
}<br />
div    {<br />
height: 10px;<br />
width: 80px;<br />
}<br />
div:hover {<br />
background-color: #CCCCCC;<br />
color: white;<br />
}<br />
&lt;/style&gt;<br />
</font>&lt;/head&gt;<br />
&lt;body&gt;<br />
&lt;br&gt;&lt;br&gt;<br />
&lt;center&gt;:hover Pseudo-Class on a element (img)<br />
&lt;br&gt;&lt;br&gt;<br />
<font COLOR="#ff6600">&lt;img src=&#8221;css.png&#8221;&gt;</font><br />
&lt;br&gt;&lt;br&gt;<br />
:hover Pseudo-Class on a element (div)<br />
&lt;br&gt;&lt;br&gt;<br />
<font COLOR="#ff6600">&lt;div&gt;PiticStyle&lt;div&gt;</font><br />
&lt;/body&gt;<br />
&lt;/html&gt;</p>
<p>That&#8217;s it! You can create this for any element you want ( paragaphs, headings, links, etc). From <a TARGET="_blank" HREF="http://www.piticstyle.com/hover/hover.rar">here</a> you can download my files and <a TARGET="_blank" HREF="http://www.piticstyle.com/hover/">HERE</a> is the final result. Thank you!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.piticstyle.com/2007/10/28/links-and-pseudo-classes-in-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create Rollover Image in CSS</title>
		<link>http://www.piticstyle.com/2007/10/24/create-rollover-image-in-css/</link>
		<comments>http://www.piticstyle.com/2007/10/24/create-rollover-image-in-css/#comments</comments>
		<pubDate>Wed, 24 Oct 2007 18:58:22 +0000</pubDate>
		<dc:creator>PiticStyle</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[cascade style sheet]]></category>
		<category><![CDATA[Create Rollover Image in CSS]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[Rollover Image in CSS]]></category>
		<category><![CDATA[Rollover in CSS]]></category>
		<category><![CDATA[tips&tricks]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[w3c]]></category>
		<category><![CDATA[webdesign]]></category>
		<category><![CDATA[world wide web consortium]]></category>

		<guid isPermaLink="false">http://www.piticstyle.com/2007/10/24/create-rollover-image-in-css/</guid>
		<description><![CDATA[Create Rollover Image in CSS ( You can see the final result HERE )
I made two buttons for this tutorial, save it if you want to work with them.

[1] Open Notepad and type the next code:
&#60;html&#62;
&#60;head&#62;
&#60;style type=&#8221;text/css&#8221;&#62;
a.image {
display: block;
width: 300px;
height: 200px;
background-image: url(Home1.jpg);
background-repeat: no-repeat;
}
a.image:hover {
background-image: url(Home2.jpg);
}
&#60;/style&#62;
&#60;/head&#62;
&#60;body&#62;
&#60;center&#62;
&#60;a class=&#8221;image&#8221; href=&#8221;http://www.piticstyle.com&#8221; mce_href=&#8221;http://www.piticstyle.com&#8221; target=&#8221;_blank&#8221;&#62;&#60;/a&#62;
&#60;/center&#62;
&#60;/body&#62;
&#60;/html&#62;
[2] Click on File &#62; Save as and save like HTML


[3] Go in the location where you [...]]]></description>
			<content:encoded><![CDATA[<p><u>Create Rollover Image in CSS</u> ( You can see the final result <a TARGET="_blank" HREF="http://www.piticstyle.com/rollovercss/">HERE</a> )</p>
<p>I made two buttons for this tutorial, save it if you want to work with them.</p>
<p><img BORDER="0" SRC="http://i23.tinypic.com/1zftr1e.jpg" /><img BORDER="0" SRC="http://i20.tinypic.com/jfuv7c.jpg" /><br />
<span id="more-622"></span>[1] Open Notepad and type the next code:</p>
<p><font COLOR="#000000">&lt;html&gt;<br />
&lt;head&gt;<br />
</font><font COLOR="#ff6600">&lt;style type=&#8221;text/css&#8221;&gt;<br />
a.image {<br />
display: block;<br />
width: 300px;<br />
height: 200px;<br />
background-image: url(Home1.jpg);<br />
background-repeat: no-repeat;<br />
}<br />
a.image:hover {<br />
background-image: url(Home2.jpg);<br />
}<br />
&lt;/style&gt;</font><font COLOR="#000000"><br />
&lt;/head&gt;<br />
&lt;body&gt;<br />
&lt;center&gt;<br />
</font><font COLOR="#ff6600">&lt;a class=&#8221;image&#8221; href=&#8221;http://www.piticstyle.com&#8221; mce_href=&#8221;http://www.piticstyle.com&#8221; target=&#8221;_blank&#8221;&gt;&lt;/a&gt;</font><font COLOR="#000000"><br />
&lt;/center&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;</font></p>
<p>[2] Click on <strong>File &gt; Save</strong> as and save like <strong>HTML</strong></p>
<p><img HEIGHT="329" WIDTH="346" BORDER="1" SRC="http://i20.tinypic.com/14dzkle.jpg" /></p>
<p><img HEIGHT="28" WIDTH="346" BORDER="1" SRC="http://i22.tinypic.com/vf8861.jpg" /></p>
<p>[3] Go in the location where you save your page and open it</p>
<p><img BORDER="1" SRC="http://i21.tinypic.com/2cn8nj5.jpg" /></p>
<p><u>Note</u>: If your images don&#8217;t appear the problem is in the location where you save it your page. The images and <strong>index.html</strong> will need to be together, same location or<br />
same folder. Thank you!</p>
<p><a TARGET="_blank" HREF="http://www.piticstyle.com/rollovercss/">HERE</a> is the final result!</p>
<p><u>Related post</u>: <a TARGET="_blank" HREF="http://www.piticstyle.com/2007/10/24/create-rollover-image-in-adobe-dreamweaver-cs3/">Create Rollover Image in Adobe Dreamweaver CS3</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.piticstyle.com/2007/10/24/create-rollover-image-in-css/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>CSS id and them selections</title>
		<link>http://www.piticstyle.com/2007/10/07/css-id-and-them-selections/</link>
		<comments>http://www.piticstyle.com/2007/10/07/css-id-and-them-selections/#comments</comments>
		<pubDate>Sun, 07 Oct 2007 00:53:10 +0000</pubDate>
		<dc:creator>PiticStyle</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[article]]></category>
		<category><![CDATA[cascade style sheet]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[id selection]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[validate]]></category>
		<category><![CDATA[w3c]]></category>
		<category><![CDATA[webdesign]]></category>

		<guid isPermaLink="false">http://www.piticstyle.com/2007/10/07/css-id-and-them-selections/</guid>
		<description><![CDATA[
Learn how to create and select the CSS ids and use them in a short tutorial and with an HTML page exemple:

&#60;html&#62;
&#60;head&#62;
&#60;title&#62;CSS Id&#60;/title&#62;
&#60;style type=”text/css”&#62;
p.blue { color: blue;}
h1#red { color: red;}
&#60;/style&#62;
&#60;/head&#62;
&#60;body&#62;
&#60;h1 id=”red”&#62;This text is red&#60;/h1&#62;
&#60;p class=”blue”&#62;This paragraph is blue&#60;/p&#62;
&#60;p class=”blue”&#62;This paragraph is blue&#60;/p&#62;
&#60;p&#62;this is not blue&#60;/p&#62;
&#60;/body&#62;
&#60;/html&#62;
Remember! To create id use # and for classes .(dot)
]]></description>
			<content:encoded><![CDATA[<p><img HEIGHT="128" WIDTH="128" BORDER="0" SRC="http://www.iconfinder.net/iconlib/nuvola/128x128/mimetypes/source_css.png" /></p>
<p>Learn how to create and select the CSS ids and use them in a short tutorial and with an HTML page exemple:</p>
<p><span id="more-489"></span><br />
&lt;html&gt;<br />
&lt;head&gt;<br />
&lt;title&gt;CSS Id&lt;/title&gt;<br />
<font COLOR="#ff0000">&lt;style type=”text/css”&gt;<br />
p.blue { color: blue;}<br />
h1#red { color: red;}<br />
&lt;/style&gt;</font><br />
&lt;/head&gt;<br />
&lt;body&gt;<br />
<font COLOR="#ff0000">&lt;h1 id=”red”&gt;This text is red&lt;/h1&gt;<br />
&lt;p class=”blue”&gt;This paragraph is blue&lt;/p&gt;<br />
&lt;p class=”blue”&gt;This paragraph is blue&lt;/p&gt;<br />
&lt;p&gt;this is not blue&lt;/p&gt;</font><br />
&lt;/body&gt;<br />
&lt;/html&gt;</p>
<p>Remember! To create <font COLOR="#ff0000">id</font> use <font COLOR="#ff0000">#</font> and for classes <font COLOR="#ff0000">.</font>(dot)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.piticstyle.com/2007/10/07/css-id-and-them-selections/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS Classes and them selections</title>
		<link>http://www.piticstyle.com/2007/10/07/css-classes-and-them-selections/</link>
		<comments>http://www.piticstyle.com/2007/10/07/css-classes-and-them-selections/#comments</comments>
		<pubDate>Sun, 07 Oct 2007 00:42:07 +0000</pubDate>
		<dc:creator>PiticStyle</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[.class]]></category>
		<category><![CDATA[cascade style sheet]]></category>
		<category><![CDATA[classes]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[select classes]]></category>
		<category><![CDATA[selections]]></category>
		<category><![CDATA[style type="text/css"]]></category>
		<category><![CDATA[w3c]]></category>
		<category><![CDATA[world wide web consortium]]></category>

		<guid isPermaLink="false">http://www.piticstyle.com/2007/10/07/css-classes-and-them-selections/</guid>
		<description><![CDATA[
Learn how to select the CSS classes and use them in a short tutorial and with an HTML page exemple:

&#60;html&#62;
&#60;head&#62;
&#60;title&#62;Classes&#60;/title&#62;
&#60;style type=”text/css”&#62;
p.blue { color: blue;}
&#60;/style&#62;
&#60;/head&#62;
&#60;body&#62;
&#60;h1&#62;Only 2 paragraph is blue&#60;/h1&#62;
&#60;p class=”blue”&#62;This paragraph is blue&#60;/p&#62;
&#60;p class=”blue”&#62;This paragraph is blue&#60;/p&#62;
&#60;p&#62;This paragraph is not blue&#60;/p&#62;
&#60;/body&#62;
&#60;/html&#62;
Remmember, make classes with .(point) ! In next tutorial we learn about id element.
]]></description>
			<content:encoded><![CDATA[<p><img HEIGHT="128" WIDTH="128" BORDER="0" SRC="http://www.iconfinder.net/iconlib/nuvola/128x128/mimetypes/source_css.png" /></p>
<p>Learn how to select the CSS classes and use them in a short tutorial and with an HTML page exemple:</p>
<p><span id="more-488"></span><br />
&lt;html&gt;<br />
&lt;head&gt;<br />
&lt;title&gt;Classes&lt;/title&gt;<br />
<font COLOR="#ff0000">&lt;style type=”text/css”&gt;<br />
p.blue { color: blue;}<br />
&lt;/style&gt;</font><br />
&lt;/head&gt;<br />
&lt;body&gt;<br />
&lt;h1&gt;Only 2 paragraph is blue&lt;/h1&gt;<br />
<font COLOR="#ff0000">&lt;p class=”blue”&gt;This paragraph is blue&lt;/p&gt;<br />
&lt;p class=”blue”&gt;This paragraph is blue&lt;/p&gt;</font><br />
&lt;p&gt;This paragraph is not blue&lt;/p&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;</p>
<p>Remmember, make classes with<font COLOR="#ff0000"> .</font>(point) ! In next tutorial we learn about <font COLOR="#ff0000">id</font> element.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.piticstyle.com/2007/10/07/css-classes-and-them-selections/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>3 Methods to implement CSS in your website</title>
		<link>http://www.piticstyle.com/2007/10/07/3-methods-to-implement-css-in-your-website/</link>
		<comments>http://www.piticstyle.com/2007/10/07/3-methods-to-implement-css-in-your-website/#comments</comments>
		<pubDate>Sun, 07 Oct 2007 00:29:15 +0000</pubDate>
		<dc:creator>PiticStyle</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[cascade style sheet]]></category>
		<category><![CDATA[CSS Implement]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[href]]></category>
		<category><![CDATA[styles]]></category>
		<category><![CDATA[w3c]]></category>
		<category><![CDATA[webdesign]]></category>

		<guid isPermaLink="false">http://www.piticstyle.com/2007/10/07/3-methods-to-implement-css-in-your-website/</guid>
		<description><![CDATA[
First Method:
&#60;style type=”text/css”&#62;
Next is the HTML code and CSS in a simple webpage
&#60;html&#62;
&#60;head&#62;
&#60;title&#62;CSS Implement v1&#60;/title&#62;
&#60;style type=”text/css”&#62;
P {background-color: grey;}
&#60;/style&#62;
&#60;/head&#62;
&#60;body&#62;
&#60;p&#62;CSS Implements v1 with paragraph background color GREY&#60;/p&#62;
&#60;/body&#62;
&#60;/html&#62;
Second Method:
&#60;html&#62;
&#60;head&#62;
&#60;title&#62;CSS Implement v2&#60;/title&#62;
&#60;style type=”text/css”&#62;
p{ color: red;}
&#60;/style&#62;
&#60;/head&#62;
&#60;body&#62;
&#60;p style=”background-color: grey;”&#62;CSS Implements v2 with paragraph background color GREY&#60;/p&#62;
&#60;/body&#62;
&#60;/html&#62;
Third Method:
&#60;html&#62;
&#60;head&#62;
&#60;title&#62;CSS Implement v3&#60;/title&#62;
&#60;link rel=”StyleSheet” title=”Default” href=”style.css” type=”text/css”&#62;
&#60;/head&#62;
&#60;body&#62;
&#60;p&#62;This paragraphy will be red&#60;/p&#62;
&#60;/body&#62;
&#60;/html&#62;
href=”style.css” is an style and i create it in  notepad and i save it style.css
The [...]]]></description>
			<content:encoded><![CDATA[<p><img HEIGHT="128" WIDTH="128" BORDER="0" SRC="http://www.iconfinder.net/iconlib/nuvola/128x128/mimetypes/source_css.png" /></p>
<p><u><strong>First Method</strong></u>:</p>
<p><font COLOR="#ff0000">&lt;style type=”text/css”&gt;</font></p>
<p>Next is the HTML code and CSS in a simple webpage</p>
<p>&lt;html&gt;<br />
&lt;head&gt;<br />
&lt;title&gt;CSS Implement v1&lt;/title&gt;<br />
<font COLOR="#ff0000">&lt;style type=”text/css”&gt;<br />
P {background-color: grey;}</font><br />
<font COLOR="#ff0000">&lt;/style&gt;</font><br />
&lt;/head&gt;<br />
&lt;body&gt;<br />
<font COLOR="#ff0000">&lt;p&gt;CSS Implements v1 with paragraph background color GREY&lt;/p&gt;</font><br />
&lt;/body&gt;<br />
&lt;/html&gt;</p>
<p><u><strong>Second Method</strong></u>:<br />
<span id="more-487"></span>&lt;html&gt;<br />
&lt;head&gt;<br />
&lt;title&gt;CSS Implement v2&lt;/title&gt;<br />
<font COLOR="#ff0000">&lt;style type=”text/css”&gt;<br />
p{ color: red;}<br />
&lt;/style&gt;</font><br />
&lt;/head&gt;<br />
&lt;body&gt;<br />
<font COLOR="#ff0000">&lt;p style=”background-color: grey;”&gt;</font><font COLOR="#ff0000">CSS Implements v2 with paragraph background color GREY</font><font COLOR="#ff0000">&lt;/p&gt;</font><br />
&lt;/body&gt;<br />
&lt;/html&gt;</p>
<p><strong><u>Third Method</u></strong>:</p>
<p>&lt;html&gt;<br />
&lt;head&gt;<br />
&lt;title&gt;CSS Implement v3&lt;/title&gt;<br />
<font COLOR="#ff0000">&lt;link rel=”StyleSheet” title=”Default” href=”style.css” type=”text/css”&gt;</font><br />
&lt;/head&gt;<br />
&lt;body&gt;<br />
<font COLOR="#ff0000">&lt;p&gt;This paragraphy will be red&lt;/p&gt;</font><br />
&lt;/body&gt;<br />
&lt;/html&gt;</p>
<p><font COLOR="#ff0000">href=”style.css” is an style </font><font COLOR="#000000">and i create it in  notepad and i save it</font><font COLOR="#ff0000"> style.css</p>
<p></font><strong><font COLOR="#000000">The style.css</p>
<p></font></strong><strong><font COLOR="#ff0000">p {color: red;}</font></strong><strong><font COLOR="#000000"> and i save it with </font></strong><font COLOR="#ff0000"><strong>styles.</strong><strong>css</strong></font><strong><font COLOR="#000000">  </font></strong><strong><font COLOR="#000000"><br />
</font></strong><font COLOR="#ff0000"><br />
</font></p>
]]></content:encoded>
			<wfw:commentRss>http://www.piticstyle.com/2007/10/07/3-methods-to-implement-css-in-your-website/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Create smaller CSS files</title>
		<link>http://www.piticstyle.com/2007/10/05/create-smaller-css-files/</link>
		<comments>http://www.piticstyle.com/2007/10/05/create-smaller-css-files/#comments</comments>
		<pubDate>Fri, 05 Oct 2007 00:05:47 +0000</pubDate>
		<dc:creator>PiticStyle</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[cascade style sheet]]></category>
		<category><![CDATA[color prefixes]]></category>
		<category><![CDATA[consortium]]></category>
		<category><![CDATA[div]]></category>
		<category><![CDATA[elements]]></category>
		<category><![CDATA[files]]></category>
		<category><![CDATA[smaller]]></category>
		<category><![CDATA[tag]]></category>
		<category><![CDATA[validate]]></category>
		<category><![CDATA[w3c]]></category>

		<guid isPermaLink="false">http://www.piticstyle.com/?p=478</guid>
		<description><![CDATA[
This article will tell you how to make your CSS files a bit smaller. You can ask yourself one question; Why shouldn’t you? Read on to find out how to do this.
There are only advantages of making your CSS files some smaller. When your website uses a 5k CSS file, you might not see the [...]]]></description>
			<content:encoded><![CDATA[<p><img SRC="http://www.iconfinder.net/iconlib/nuvola/128x128/mimetypes/source_css.png" BORDER="0" WIDTH="128" HEIGHT="128" /></p>
<p>This article will tell you how to make your CSS files a bit smaller. You can ask yourself one question; Why shouldn’t you? Read on to find out how to do this.</p>
<p>There are only advantages of making your CSS files some smaller. When your website uses a <em>5k CSS file</em>, you might not see the difference in loading time, but when using bigger <em>(25k)</em> files, you can notice your website will load a bit faster when using some of the steps below. Another thing is that your file will become more organized and clean. Read on to get tips of improvement.</p>
<p>The main idea of this article is to reduce the number of characters you have used in your CSS. The less characters, the smaller your file.</p>
<p><strong>Comments </strong></p>
<p>You have different ways of using comments. Comments may be something you can not delete in your CSS, because you might forget something (or your fellow-workers). But, there are a couple ways of using them.</p>
<p><font COLOR="#ff0000">/*&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-*/<br />
/*&#8212;&#8211;Comment&#8212;&#8211;*/<br />
/*&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-*/</font></p>
<p>These lines of code do the same as:</p>
<p><font COLOR="#ff0000">/*Comment</font><font COLOR="#ff0000">*/</font></p>
<p>You can still read what it says and what tips it gives. The only thing you did is to save space.</p>
<p><strong>Color prefixes</strong></p>
<p><span id="more-478"></span><br />
With some ‘standard’ colors it is possible to write their prefix in a shorter way.</p>
<p><font COLOR="#ff0000">color: #ffffff;<br />
color: #ff88ff</font>;</p>
<p>This prefix’s will do the same as:</p>
<p><font COLOR="#ff0000">color:#fff;<br />
color:#f8f;</font></p>
<p>Prefixes with all different characters can’t be written shorter. You have to use the same prefix there. For example:</p>
<p><font COLOR="#ff0000">color: #f8f7f2;</font></p>
<p><strong>Use one line of codes instead of a couple</strong></p>
<p>When you are coding a website by hand, you’ll often first use the ‘padding-left:5px;’ attribute and some time later a ‘padding-top:10px;’. You can write all those in one line of codes.</p>
<p><font COLOR="#ff0000">Padding-left:10px;<br />
padding-right:20px;<br />
padding-top: 0;<br />
padding-bottom:30px;</font></p>
<p>Those codes can be written as simple as this:</p>
<p><font COLOR="#ff0000">Padding: 0 20px 30px 10px;</font></p>
<p>When your padding left and right is the same, and top and bottom too, you can do something else too. Example:</p>
<p><font COLOR="#ff0000">padding-left:10px;<br />
padding-right:10px;<br />
padding-top: 0;<br />
padding-bottom: 0;</font></p>
<p>This can be written like this:</p>
<p><font COLOR="#ff0000">Padding:10px 0;</font></p>
<p>The same rule applies to margin attributes too. You may also try the same thing with backgrounds, borders and fonts</p>
<p><strong>You can leave out the ‘PX’ when value is ‘zero’ </strong></p>
<p>There’s some logic in this. 0px is the same as 0em or 0pt. We can use just the ‘zero’ here, which will give you another 2 characters of profit.</p>
<p><font COLOR="#ff0000">Padding: 10px 0px 0px 0px;</font></p>
<p>Is the same as:</p>
<p><font COLOR="#ff0000">Padding: 10px 0 0 0;</font></p>
<p><strong>Defining your ID’s and classes</strong></p>
<p>You might have very long ID or Class names. For example, you can name them ‘HeaderMiddleLeft’, but you can also name them something like this, ‘HeaderML’. Sometimes, when using one CSS file with different people, this isn’t very handy, but when your CSS file is for private use, you can shorten those ID’s or classes.</p>
<p><font COLOR="#ff0000">#HeaderMiddleLeft becomes #HeaderML.</font></p>
<p><strong>Clean up your CSS file </strong></p>
<p>An often overlooked ‘tip’ is to clean your CSS file. Sometimes, I’ve got an idea, but later on, I’ve got a better idea, so I will take that way. In this coding process, you might create ID’s or classes you don’t use in the final design. You can just delete them!</p>
<p><strong>Create just one element when using the same content in different elements</strong></p>
<p>You might have the a couple elements in your file, with the same content inside it. Those items can be placed ‘inside’ each other. Not clear what I mean? Take a look below to view an example.</p>
<p><font COLOR="#ff0000">h1{<br />
margin:0;<br />
padding:0;<br />
}h2{<br />
margin:0;<br />
padding:0;<br />
} h3{<br />
margin:0;<br />
padding:0;<br />
}<font>This three elements does the same as simple ‘one’ element;<font COLOR="#ff0000">h1, h2, h3{<br />
margin:0;<br />
padding:0;<br />
}</p>
<p></font></font><font COLOR="#000000"><font><strong>Conclusion</p>
<p></strong>On a<em> 25k CSS file</em>, using this small tips could make a difference of more then <em>5k</em> in size. This means your CSS file, with the same contents, will be loaded 20% faster. This is pure profit. I hope you enjoyed reading this article and watch out for the next one!</font></font><font COLOR="#ff0000"><font> </font></font></font></p>
]]></content:encoded>
			<wfw:commentRss>http://www.piticstyle.com/2007/10/05/create-smaller-css-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
