<?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>It's Called Web Design &#187; CSS</title>
	<atom:link href="http://itscalledwebdesign.com/category/tutorials/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://itscalledwebdesign.com</link>
	<description>Web 2.0 is so 2004. . . .</description>
	<lastBuildDate>Fri, 27 Jan 2012 16:59:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Web Designer Firefox Add-ons</title>
		<link>http://itscalledwebdesign.com/tutorials/web-designer-firefox-add-ons/</link>
		<comments>http://itscalledwebdesign.com/tutorials/web-designer-firefox-add-ons/#comments</comments>
		<pubDate>Mon, 16 Aug 2010 15:56:32 +0000</pubDate>
		<dc:creator>eckert</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[addons]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[develop]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[ie]]></category>
		<category><![CDATA[tools]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://itscalledwebdesign.com/?p=589</guid>
		<description><![CDATA[If you design websites, these will make your life so much easier. (updated 8-16) First, use Firefox (download here). Next, check out these add-ons. ColorZilla &#8211; let&#8217;s you pick out any color on a webpage and save it&#8217;s RGB or HTML color value. Web Developer&#8217;s Toolbar &#8211; this thing has saved many a day with [...]]]></description>
			<content:encoded><![CDATA[<p>If you design websites, these will make your life so much easier. (updated 8-16)<br />
<span id="more-589"></span><br />
First, use Firefox (<a href="http://www.mozilla.com/products/download.html?product=firefox-3.0.4&#038;os=win&#038;lang=en-US">download here</a>).</p>
<p>Next, check out these add-ons.</p>
<p><a href="https://addons.mozilla.org/en-US/firefox/addon/271">ColorZilla</a> &#8211; let&#8217;s you pick out any color on a webpage and save it&#8217;s RGB or HTML color value.</p>
<p><a href="https://addons.mozilla.org/en-US/firefox/addon/60">Web Developer&#8217;s Toolbar</a> &#8211; this thing has saved many a day with it&#8217;s ruler, div selector and other great features.</p>
<p><a href="https://addons.mozilla.org/en-US/firefox/addon/1843">Firebug</a> &#8211; I don&#8217;t know how I survived without this.  Offers real-time in-browser editing to any websites HTML, CSS and Javascript.</p>
<p><a href="https://addons.mozilla.org/en-US/firefox/addon/1146/">Screengrab!</a> &#8211; Hands down, the best screen shooting program I&#8217;ve found to-date.  You can save or copy the whole webpage, the visible portion, your own selection or the window.</p>
<p><a href="https://addons.mozilla.org/en-US/firefox/addon/ie-tab-2-ff-36/">IE Tab</a> &#8211; face it, IE is a pain that has no standards.  After using a standards-compliant browser to design and develop your site, use this plugin with a simple right-click option to view any page in IE.  Then enjoy fixing all of it&#8217;s errors.</p>
<p><a href="https://addons.mozilla.org/en-US/firefox/addon/3036/">SEO Quake</a> &#8211; a great toolbar to gain knowledge about the Google Page Rank, link structures and other important SEO factors.</p>
]]></content:encoded>
			<wfw:commentRss>http://itscalledwebdesign.com/tutorials/web-designer-firefox-add-ons/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Print-only CSS</title>
		<link>http://itscalledwebdesign.com/tutorials/print-only-css/</link>
		<comments>http://itscalledwebdesign.com/tutorials/print-only-css/#comments</comments>
		<pubDate>Wed, 06 Jan 2010 16:59:57 +0000</pubDate>
		<dc:creator>eckert</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://itscalledwebdesign.com/?p=624</guid>
		<description><![CDATA[How many times have you printed off a webpage, only to have it spit page after page of waste from your printer? If you have a site that people might be printing pages from, you should include a print CSS file that will allow you to print only specific items from the page. In the [...]]]></description>
			<content:encoded><![CDATA[<p>How many times have you printed off a webpage, only to have it spit page after page of waste from your printer?<br />
<span id="more-624"></span><br />
If you have a site that people might be printing pages from, you should include a print CSS file that will allow you to print only specific items from the page.</p>
<p>In the head code under your normal CSS, simply insert this code</p>
<pre>&lt;link rel="stylesheet" media="print" type="text/css" href="http://yoursite.com/print.css" /&gt;</pre>
<p>Next make the print.css file on your server and start setting objects to display:block if you would like it to print or display:none if you do not.</p>
<p>This is not the limitation of the print.css file though.  You can also change font-sizes, margins, floats, etc so that the printed version of your page looks much better.</p>
<p>One nice feature that you can add is a line that says something like &#8220;Thanks for visiting our site and printing this page!&#8221;.  Just place it in an element and add a class like class=&#8221;printmessage&#8221;.  In your regular CSS just list .printmessage {display:none;} and in your print.css label it .printmessage {display:block;}.</p>
]]></content:encoded>
			<wfw:commentRss>http://itscalledwebdesign.com/tutorials/print-only-css/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>CSS animated hovers</title>
		<link>http://itscalledwebdesign.com/tutorials/css-animated-hovers/</link>
		<comments>http://itscalledwebdesign.com/tutorials/css-animated-hovers/#comments</comments>
		<pubDate>Mon, 27 Oct 2008 23:35:05 +0000</pubDate>
		<dc:creator>eckert</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[hovers]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://itscalledwebdesign.com/?p=456</guid>
		<description><![CDATA[CSS hovers, animated, no client side applications required. Too good to be true? I was looking for a way to do animated hovers, without having to use flash or javascript. Not that there is anything wrong with these, but anytime I can avoid hoping that someone will have the proper apps installed within their browser, [...]]]></description>
			<content:encoded><![CDATA[<p>CSS hovers, animated, no client side applications required.  Too good to be true?<br />
<span id="more-456"></span><br />
I was looking for a way to do animated hovers, without having to use flash or javascript.  Not that there is anything wrong with these, but anytime I can avoid hoping that someone will have the proper apps installed within their browser, I prefer to take that route.</p>
<p>So how do I do it?</p>
<p>Simple CSS and animated gifs.</p>
<p>First, make an animated gif the size of you nav button:</p>
<p>Next, a little CSS:</p>
<pre>#nav {
    height: 35px;
    width: 500px;
}

div.button {
    float: left;
    width: 100px;
    height: 35px;
    margin: 0 3px 0 0;
    background: #fff;
    border: 1px solid #000;
}

div.button a {
    display: block;
    margin: 0;
    padding:0;
    width:100%;
    height:100%;
    overflow:hidden;
    font: bold 13px Georgia, serif;
    color:#039;
    text-decoration: none;
    background: #fff;
}

div.button span {
    display: block;
    margin:0;
    padding: 9px 0 0 0;
    text-align: center;

}

div.button a:hover {
    background: url( 'http://itscalledwebdesign.com/files/gif_hover/bg03.gif' ) top center no-repeat;
    color: yellow;
}</pre>
<p>Next, the following div is placed:</p>
<pre>&lt;div id="nav"&gt;
    &lt;div class="button"&gt;&lt;a href="#"&gt;&lt;span&gt;Nav 1&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
    &lt;div class="button"&gt;&lt;a href="#"&gt;&lt;span&gt;Nav 2&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
    &lt;div class="button"&gt;&lt;a href="#"&gt;&lt;span&gt;Nav 3&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;</pre>
<p>You are pretty much just making a div and placing the animated gif as the image for the hover.  In this example, the &#8220;a&#8221; simply has a white background.</p>
<p><a href="http://itscalledwebdesign.com/files/gif_hover/">CLICK HERE</a> to see how it looks, it&#8217;s the &#8220;Fast&#8221; example.</p>
<p>View the CSS and source of that example page to see that the other examples are set up using the same code.  You just need to use different animated GIFs as the hover image.</p>
<p>One thing you need to think about is the possibility that animations are turned off on the users computer.  The only problem this might cause will be if you have your hovered text turn into the same color as the original background.  That would then cause the text to disappear.</p>
<p>I would suggest trying it with the animation turned on and off just to see what it would look like.</p>
<p>So there you have it.  Simple, quick CSS animated hovers.</p>
]]></content:encoded>
			<wfw:commentRss>http://itscalledwebdesign.com/tutorials/css-animated-hovers/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Image Hovers</title>
		<link>http://itscalledwebdesign.com/tutorials/image-hovers/</link>
		<comments>http://itscalledwebdesign.com/tutorials/image-hovers/#comments</comments>
		<pubDate>Fri, 03 Oct 2008 16:54:55 +0000</pubDate>
		<dc:creator>eckert</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[border]]></category>
		<category><![CDATA[hover]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[img]]></category>

		<guid isPermaLink="false">http://itscalledwebdesign.com/?p=269</guid>
		<description><![CDATA[If you have an image and you want to use CSS to make a hover, here&#8217;s how. This code simply changes the border color, but you can change the CSS to make the hover do anything you want. img {border: 1px solid #c5c5c5;} img:hover {border: 1px solid #000;} Click HERE for an example. If you [...]]]></description>
			<content:encoded><![CDATA[<p>If you have an image and you want to use CSS to make a hover, here&#8217;s how.<br />
<span id="more-269"></span> This code simply changes the border color, but you can change the CSS to make the hover do anything you want.</p>
<pre><span style="font-size: x-small; font-family: Arial;"><span style="font-size: 10pt; font-family: Arial;">img {</span><span style="font-size: 10pt; font-family: Arial;">border: 1px solid #c5c5c5;}</span></span>
<span style="font-size: x-small; font-family: Arial;"><span style="font-size: 10pt; font-family: Arial;">img</span></span><span><span><span style="font-size: x-small; font-family: Arial;"><span style="font-size: 10pt; font-family: Arial;">:hover</span></span></span></span><span style="font-size: x-small; font-family: Arial;"><span style="font-size: 10pt; font-family: Arial;"> {border: 1px solid #000;}
</span></span></pre>
<p>Click <a href="http://itscalledwebdesign.com/files/hovertest.html">HERE</a> for an example.</p>
<p>If you have the code inside a div (i.e. picture), you can add that id before the code.</p>
<pre><span style="font-size: x-small; font-family: Arial;"><span style="font-size: 10pt; font-family: Arial;">#picture img {</span><span style="font-size: 10pt; font-family: Arial;">border: 1px solid #c5c5c5;}</span></span>
<span style="font-size: x-small; font-family: Arial;"><span style="font-size: 10pt; font-family: Arial;">#picture img</span></span><span><span><span style="font-size: x-small; font-family: Arial;"><span style="font-size: 10pt; font-family: Arial;">:hover</span></span></span></span><span style="font-size: x-small; font-family: Arial;"><span style="font-size: 10pt; font-family: Arial;"> {border: 1px solid #000;}</span></span></pre>
]]></content:encoded>
			<wfw:commentRss>http://itscalledwebdesign.com/tutorials/image-hovers/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Text Navs</title>
		<link>http://itscalledwebdesign.com/tutorials/text-navs/</link>
		<comments>http://itscalledwebdesign.com/tutorials/text-navs/#comments</comments>
		<pubDate>Fri, 19 Sep 2008 18:45:12 +0000</pubDate>
		<dc:creator>eckert</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://itscalledwebdesign.com/?p=40</guid>
		<description><![CDATA[This is how you put text-based navigation in your header, or anywhere else for that matter. This is going to be set up using a &#60;div&#62; labeled &#8220;nav&#8221;.  You can change it, but make sure you change it acrossed the board, otherwise it won&#8217;t work. In your header, place the following code - &#60;div id="nav"&#62; [...]]]></description>
			<content:encoded><![CDATA[<p>This is how you put text-based navigation in your header, or anywhere else for that matter.<br />
<span id="more-40"></span></p>
<p>This is going to be set up using a &lt;div&gt; labeled &#8220;nav&#8221;.  You can change it, but make sure you change it acrossed the board, otherwise it won&#8217;t work.</p>
<p>In your header, place the following code -</p>
<pre id="line49">&lt;<span class="start-tag">div</span><span class="attribute-name"> id</span>=<span class="attribute-value">"nav"</span>&gt;
&lt;<span class="start-tag">ul</span>&gt;
&lt;<span class="start-tag">li</span>&gt;&lt;<span class="start-tag">a</span><span class="attribute-name"> href</span>=<span class="attribute-value">"http://yourdomain.com/page1"</span>&gt;Page 1&lt;/<span class="end-tag">a</span>&gt;&lt;/<span class="end-tag">li</span>&gt;
&lt;<span class="start-tag">li</span>&gt;&lt;<span class="start-tag">a</span><span class="attribute-name"> href</span>=<span class="attribute-value">"</span><span class="attribute-value">http://yourdomain.com/page2</span><span class="attribute-value">"</span>&gt;Page 2&lt;/<span class="end-tag">a</span>&gt;&lt;/<span class="end-tag">li</span>&gt;
&lt;<span class="start-tag">li</span>&gt;&lt;<span class="start-tag">a</span><span class="attribute-name"> href</span>=<span class="attribute-value">"</span><span class="attribute-value">http://yourdomain.com/page</span>3<span class="attribute-value">"</span>&gt;Page 3&lt;/<span class="end-tag">a</span>&gt;&lt;/<span class="end-tag">li</span>&gt;
&lt;/<span class="end-tag">ul</span>&gt;
&lt;/<span class="end-tag">div</span>&gt;</pre>
<p>Now these links are not dynamic, you will have to add or subtract the pages that you want listed.</p>
<p>If you want them dynamic, in WordPress simply use this -</p>
<pre id="line49">&lt;<span class="start-tag">div</span><span class="attribute-name"> id</span>=<span class="attribute-value">"nav"</span>&gt;
&lt;<span class="start-tag">ul</span>&gt;
&lt;<span class="start-tag">li</span>&gt;&lt;?php wp_list_pages('title_li='); ?&gt;&lt;/li&gt;
&lt;/<span class="end-tag">ul</span>&gt;
&lt;/<span class="end-tag">div</span>&gt;</pre>
<p>My only issue with doing this, is that it will include all your WordPress pages, which you may not want.  You can still use this, but you will need to change the php code to -</p>
<pre>  &lt;?php wp_list_pages('exclude=17,38' ); ?&gt;</pre>
<p>with the exclude numbers representing the pages that you want excluded.  More examples of how to change how this list works can be found in the WordPress Codex <a href="http://codex.wordpress.org/wp_list_pages" target="_blank">HERE</a>.</p>
<p>Now for the CSS.</p>
<p>Copy the following code into your CSS file -</p>
<pre>#nav	{
	width: 475px;
	height: 37px;
	margin: 0 auto;
	padding: 0;
	font-size: 14px;
	position: relative;
	left: 190px;
	z-index: 99;
	color: #fff;
	line-height: 33px;
}

#nav ul {
	list-style:  none;
	margin: 0;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

#nav li	{
	list-style:  none;
	float: left;
	padding: 0 4px;
	background: none;
}

#nav a {
	display: block;
	font: bold 0.9em Arial, san-serif;
	text-transform: uppercase;
	color: #fff;
	text-align: center;
	line-height: 37px;
	vertical-align: middle;
}

#nav a:hover {
	line-height: 37px;
	vertical-align: middle;
	color: #000;
	text-decoration: none !important;
}</pre>
<p>This code is set up so that it will be a navigation bar that is 475px wide and 37px tall.  The text link will be white (#fff) and then change to black (#000) when hovered.  There is no underline, since text-decoration on the a:hover is set to none.  You can change this to underline or any other hover variable you prefer.  The text in this case is also all caps due to the &#8220;text-transform: uppercase;&#8221;.  You can remove that line if you want the text to appear as written.</p>
<p>To create more or less space between the words, simply increase or decrease the second number in the nav li padding.  Currently, each &lt;li&gt; has a 4px padding on both the left and the right sides.  Note, if you increase this padding much, or have more than a couple links, you will need to increase the width of the nav div.  Otherwise, the links will drop down onto a second line.</p>
]]></content:encoded>
			<wfw:commentRss>http://itscalledwebdesign.com/tutorials/text-navs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IE fixes</title>
		<link>http://itscalledwebdesign.com/tutorials/ie-fixes/</link>
		<comments>http://itscalledwebdesign.com/tutorials/ie-fixes/#comments</comments>
		<pubDate>Fri, 19 Sep 2008 18:29:39 +0000</pubDate>
		<dc:creator>eckert</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[explorer]]></category>
		<category><![CDATA[fixes]]></category>
		<category><![CDATA[ie]]></category>
		<category><![CDATA[internet]]></category>

		<guid isPermaLink="false">http://itscalledwebdesign.com/?p=38</guid>
		<description><![CDATA[IE is so stupid that you have to use special code to tell it what to do. Put the following code in your header underneath the current link that pulls your CSS info - &#60;!--[if lte IE 7]&#62; &#60;link rel="stylesheet" href="http://www.yourdomain.com/ie7sucks.css" type="text/css" /&#62; &#60;![endif]--&#62; Just change the top code to IE 6, or IE 7 [...]]]></description>
			<content:encoded><![CDATA[<p>IE is so stupid that you have to use special code to tell it what to do.<br />
<span id="more-38"></span></p>
<p>Put the following code in your header underneath the current link that pulls your CSS info -</p>
<pre id="line20">	<span class="comment">&lt;!--[if lte IE 7]&gt;
		&lt;link rel="stylesheet"
		href="http://www.yourdomain.com/ie7sucks.css"
		type="text/css" /&gt;
   	&lt;![endif]--&gt;</span></pre>
<p>Just change the top code to IE 6, or IE 7 or whatever crappy version you are trying to fix.</p>
<p>Then just make a CSS file (feel free to rename the CSS to anything that represents your distaste for IE).</p>
<p>You only have to add the changes in that CSS that you want made, you don&#8217;t have to repeat the entire CSS.  Since you placed this code below your other CSS link, it will pull that one first, recognize how terrible IE is and then pull your fixes.</p>
]]></content:encoded>
			<wfw:commentRss>http://itscalledwebdesign.com/tutorials/ie-fixes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Search Box</title>
		<link>http://itscalledwebdesign.com/tutorials/search-box/</link>
		<comments>http://itscalledwebdesign.com/tutorials/search-box/#comments</comments>
		<pubDate>Fri, 19 Sep 2008 04:16:44 +0000</pubDate>
		<dc:creator>eckert</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[absolute]]></category>
		<category><![CDATA[box]]></category>
		<category><![CDATA[click]]></category>
		<category><![CDATA[on]]></category>
		<category><![CDATA[onclick]]></category>
		<category><![CDATA[position]]></category>
		<category><![CDATA[search]]></category>

		<guid isPermaLink="false">http://itscalledwebdesign.com/?p=10</guid>
		<description><![CDATA[This is the search box that I always use.  It has &#62;&#62; for the button and a value of &#8220;Search&#8230;&#8221; that disappears when clicked. &#60;form method="get" id="searchform" action="http://mrcomplain.com/"&#62; &#60;div&#62;&#60;input type="text" value="Search" onclick="value=''" name="s" id="s" /&#62; &#60;input type="submit" id="searchsubmit" value="&#62;&#62;" /&#62; &#60;/div&#62; &#60;/form&#62; You can then position the search form using CSS.  The following is an  [...]]]></description>
			<content:encoded><![CDATA[<p>This is the search box that I always use.  It has &gt;&gt; for the button and a value of &#8220;Search&#8230;&#8221; that disappears when clicked.<br />
<span id="more-10"></span></p>
<pre id="line111">&lt;<span class="start-tag">form</span><span class="attribute-name"> method</span>=<span class="attribute-value">"get" </span><span class="attribute-name">id</span>=<span class="attribute-value">"searchform" </span><span class="attribute-name">action</span>=<span class="attribute-value">"http://mrcomplain.com/"</span>&gt;
&lt;<span class="start-tag">div</span>&gt;&lt;<span class="start-tag">input</span><span class="attribute-name"> type</span>=<span class="attribute-value">"text" </span><span class="attribute-name">value</span>=<span class="attribute-value">"Search" </span><span class="attribute-name">onclick</span>=<span class="attribute-value">"value=''" </span><span class="attribute-name">name</span>=<span class="attribute-value">"s" </span><span class="attribute-name">id</span>=<span class="attribute-value">"s" </span><span class="error"><span class="attribute-name">/</span></span>&gt;
&lt;<span class="start-tag">input</span><span class="attribute-name"> type</span>=<span class="attribute-value">"submit" </span><span class="attribute-name">id</span>=<span class="attribute-value">"searchsubmit" </span><span class="attribute-name">value</span>=<span class="attribute-value">"&gt;&gt;" </span><span class="error"><span class="attribute-name">/</span></span>&gt;
&lt;/<span class="end-tag">div</span>&gt;
&lt;/<span class="end-tag">form</span>&gt;</pre>
<p>You can then position the search form using CSS.  The following is an  example, but you will obviously need to change the information contained therein to make it fit on your page -</p>
<pre>#searchform {
	position: absolute;
	top: 231px;
	left: 50%;
	margin-left: -250px;
	padding: 5px 3px;
	}

#searchform #s {
	width: 135px;
	padding: 2px;
	}

#searchsubmit {
	padding: 1px;
	}</pre>
]]></content:encoded>
			<wfw:commentRss>http://itscalledwebdesign.com/tutorials/search-box/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

