<?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>SimcoMedia Professional Web Design &#187; Tutorials</title>
	<atom:link href="http://www.simcomedia.com/category/tutorials/feed" rel="self" type="application/rss+xml" />
	<link>http://www.simcomedia.com</link>
	<description>Custom Designs And Ecommerce Specialists</description>
	<lastBuildDate>Tue, 09 Mar 2010 22:16:46 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>CSS Rollover Images</title>
		<link>http://www.simcomedia.com/css-rollover-images</link>
		<comments>http://www.simcomedia.com/css-rollover-images#comments</comments>
		<pubDate>Tue, 09 Mar 2010 21:52:19 +0000</pubDate>
		<dc:creator>SimcoMedia Design</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.simcomedia.com/?p=784</guid>
		<description><![CDATA[Image rollovers are fun and can add both life and functionality to a web page. Most often they are used in menus but we find they are useful for hyperlinked images as well. This is a simple tutorial on how you can create fast loading rollovers throughout your website giving it that slick look.
Methods
There&#8217;s 3 [...]]]></description>
			<content:encoded><![CDATA[<p>Image rollovers are fun and can add both life and functionality to a web page. Most often they are used in menus but we find they are useful for hyperlinked images as well. This is a simple tutorial on how you can create fast loading rollovers throughout your website giving it that slick look.<span id="more-784"></span></p>
<h3>Methods</h3>
<p>There&#8217;s 3 basic ways you can create a rollover effect:</p>
<p style="text-align: left;">Flash animation</p>
<p style="text-align: left;">Javascript</p>
<p style="text-align: left;">CSS</p>
<p style="text-align: left;"> </p>
<p style="text-align: left;">For our purposes we&#8217;re going to skip the first two and use strictly CSS and a tad bit of HTML to make it all work. We&#8217;re going to be using a sprite in order to accomplish this. If you don&#8217;t know what a sprite is it&#8217;s basically a single image with all of your different colored effects self contained. The fact we use a single image means that there&#8217;s no additional preloading that has to be done which, when using multiple images, can cause a flicker or pause in the initial display of the mouseover event. Here&#8217;s an example of a sprite image which consists of two identical designs but with different colored backgrounds:</p>
<p style="text-align: left;"><a href="http://www.simcomedia.com/wp-content/uploads/2010/03/compare-sprite.jpg"><img class="aligncenter size-full wp-image-785" title="compare-sprite" src="http://www.simcomedia.com/wp-content/uploads/2010/03/compare-sprite.jpg" alt="" width="200" height="80" /></a>The goal here is to use this image in a rollover event for a hyperlink.</p>
<h3 style="text-align: left;">CSS</h3>
<p>Here&#8217;s the CSS Code we&#8217;ll be working with:</p>
<p><br class="spacer_" /></p>
<pre class="[brush:css]">#imageLink
{
  display: block;
  width: 200px;
  height: 40px;
  background: url("compare-sprite.jpg") no-repeat 0 0;

}

#imageLink:hover
{
  background-position: 0 -40px;
}

#imageLink span
{
  display: none;
}
</pre>
<p>First, keep in mind that we are creating a hyperlink. Therefore we are going to utilize this code when we create our link by assigning the id to the hyperlink like you would a class. We&#8217;re going to explain the code just a bit.</p>
<ul>
<li>the height and width represent the single button, not the entire image. So, if the entire image is 80px tall and divided perfectly  between the two versions then we set our height at 40px.</li>
<li>On the :hover we want the background position to move down 40px. Therefore we set the position to -40px to make the effect. Same image, just showing a different portion of it.</li>
<li>The use of the span tag is to complete our hyperlink since the background image isn&#8217;t really creating a link. Therefore, something tangible has to be there. But, the trick is, we set the display to none which makes it invisible to the viewer and all they see is the image</li>
</ul>
<h3>The HTML</h3>
<p>Here&#8217;s the HTML:</p>
<pre class="[brush:html]"><a id="imageLink" href="#"><span>Some text here</span></a>
</pre>
<p>You can have as many rollovers on one page or throughout your site as you wish using this code. But, you have to copy the code and assign each one its own unique ID. And, of course, their own images if applicable.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.simcomedia.com/css-rollover-images/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS Hyperlinks With Icons</title>
		<link>http://www.simcomedia.com/css-hyperlinks-with-icons</link>
		<comments>http://www.simcomedia.com/css-hyperlinks-with-icons#comments</comments>
		<pubDate>Wed, 17 Feb 2010 00:30:40 +0000</pubDate>
		<dc:creator>SimcoMedia Design</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.simcomedia.com/?p=736</guid>
		<description><![CDATA[A neat way to spice up your pages and provide very precise navigation help is to use the little known &#8220;attributes&#8221; capabilities of CSS. What this does is provide a way for you to attach certain effects to specific types of elements. For instance, say you&#8217;d like to place the Adobe PDF  icon next to [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">A neat way to spice up your pages and provide very precise navigation help is to use the little known &#8220;attributes&#8221; capabilities of CSS. What this does is provide a way for you to attach certain effects to specific types of elements. For instance, say you&#8217;d like to place the Adobe PDF  icon next to every link that ends with .pdf:</p>
<pre class="[brush:css]">/* For PDFs */
a[href $= '.pdf']{
    padding-left:20px;
    background: transparent url(pdf.gif) no-repeat scroll left top;
}
</pre>
<p style="text-align: left;">Let&#8217;s take a look at this to see how it works:</p>
<ul>
<li>The a[href $='.pdf'] aspect is stating that all &#8216;a href&#8217; tags where the suffix is .pdf to attach the following formatting to it</li>
<li>The padding-left: 20px; allows for the room needed to place the icon (you can pad left or right depending on where you want the icon displayed)</li>
<li>The background: tag outlines the parameters for how and where and location of the icon using standard CSS</li>
</ul>
<p style="text-align: left;">You’ll notice the $ before the =, this is specifying that we want what is at the end of the href.  There are more tags like this to specify different locations.</p>
<ul>
<li>$=   End of String </li>
<li>^=   Beginning of String </li>
<li>~=  String contains the word and is separated from other words by spaces. </li>
<li>*=   String contains the word. (doesn’t have to be separated by spaces) </li>
</ul>
<p><br class="spacer_" /></p>
<p style="text-align: left;">So, armed with this you can make one modification to your CSS file and affect many elements of your pages. Another example of this would be to add an icon to all &#8216;mailto&#8217; links. Like this:</p>
<pre class="[brush:css]">/* For Emails */
a[href ^= 'mailto']{
    padding-left:20px;
    background: transparent url(mail.gif) no-repeat scroll left top;
}
</pre>
<p style="text-align: left;">Here, the ^ symbol means to search for the &#8216;mailto&#8217; at the beginning of the href string. Then, attach the icon to all the links that qualify only.</p>
<p style="text-align: left;">Let&#8217;s say you want to add an icon to all links that are scheduled to open in a new window:</p>
<pre class="[brush:css]">/* For external links */
a[target = '_blank']{
    padding-left:20px;
    background: transparent url(external.gif) no-repeat scroll left top;
}
</pre>
<p style="text-align: left;">Notice that instead of &#8216;href&#8217; it states &#8216;target&#8217; which is the method used for determining if a hyperlink is going to open in a new window or in the same window, etc. This CSS command applies just to those hyperlinks that state target=&#8221;_blank&#8221;.</p>
<p style="text-align: left;">You can also specify a certain class in the event that you have different styles set up for your various hyperlinks. This method lets you do the following:</p>
<pre class="[brush:css]">/* For popups */
a[class ~= 'popup']{
    padding-left:20px;
    background: transparent url(popup.gif) no-repeat scroll left top;
}
</pre>
<p style="text-align: left;">Even if you don&#8217;t create different classes for your hyperlinks but would like to have icons next to some of them you can simply assign the class tag to the hyperlink and it will merely add the icon without changing any of the other formatting.</p>
<p style="text-align: left;">For best results we recommend you use very small icons of 16 x 16 or less. Otherwise they could cause messy looking text lines if your hyperlinks are located within paragraphs.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.simcomedia.com/css-hyperlinks-with-icons/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS Navlist With Pointer</title>
		<link>http://www.simcomedia.com/css-navlist-with-pointer</link>
		<comments>http://www.simcomedia.com/css-navlist-with-pointer#comments</comments>
		<pubDate>Sun, 14 Feb 2010 21:53:57 +0000</pubDate>
		<dc:creator>SimcoMedia Design</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Resources]]></category>

		<guid isPermaLink="false">http://www.simcomedia.com/?p=732</guid>
		<description><![CDATA[Using CSS to create your site&#8217;s navigation is becoming increasingly popular since it allows you to minimize code and create fast loading menu systems. Here is a basic horizontal navlist using one image for a downward pointer that you can use in any situation where you need a simple menu.First we need to start with [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">Using CSS to create your site&#8217;s navigation is becoming increasingly popular since it allows you to minimize code and create fast loading menu systems. Here is a basic horizontal navlist using one image for a downward pointer that you can use in any situation where you need a simple menu.<span id="more-732"></span>First we need to start with the basic HTML code for your navlist.  This can be inserted in two ways.</p>
<ol style="text-align: left;">
<li style="text-align: left;">Use the id=&#8221;nav&#8221; in the &lt;ul&gt; tag</li>
<li style="text-align: left;">Create a &lt;div&gt; wrapper to contain the &lt;ul&gt; and assign the id=&#8221;nav&#8217; to the div</li>
</ol>
<p style="text-align: left;">Here&#8217;s the HTML:</p>
<pre class="[brush:html]" style="text-align: left;">
<ul id="nav">
<li><a href="home.php">Home</a></li>
<li><a href="photos.php">Photos</a></li>
<li><a href="videos.php">Videos</a></li>
<li><a href="add.php">Add a Restaurant</a></li>
<li><a href="delete.php">Delete a Restaurant</a></li>
<li><a href="logout.php">Logout</a></li>
</ul>
</pre>
<p style="text-align: left;">Notice it&#8217;s just a standard HTML unordered list. Nothing fancy nor is it hard to reproduce. The magic occurs in the CSS formatting to give it the look and feel you want.</p>
<p style="text-align: left;">Here&#8217;s the CSS:</p>
<pre class="[brush:css]" style="text-align: left;"><!--

#nav{margin:0px; background-color:#646464; padding:12px; }

#nav li{list-style:none; display:inline; margin:0px; padding:0;padding:22px; padding-right:0; padding-left:0;}

#nav li a{font-family:Arial, Helvetica, sans-serif;font-weight:bold; text-transform:uppercase; text-decoration:none; color:white;padding:12px; }

#nav li a:hover{background-color:#545454;}

#nav li:hover{background:transparent url(images/test.png) no-repeat scroll center bottom;  margin:0;}

-->
</pre>
<p style="text-align: left;">Let&#8217;s explain this simple code so you understand how these particular selectors change the appearance of the typical list:</p>
<ol style="text-align: left;">
<li>First the navigation bar is created with #nav, margins and background color</li>
<li>Next we have to set the li to list-style: none; to get rid of the bullets</li>
<li>At the same time we use display:inline; to force the list items to go horizontal</li>
<li>Some padding it also added in order to move the boundaries of the nav bar to equal proportions above and below the text</li>
<li>The font family, size, weight, color and style is chosen</li>
<li>We add the &#8216;hover&#8217; effect to the actual hyperlink by having a color change</li>
<li>Now we add the &#8216;hover&#8217; effect to the entire padded link</li>
<li>Last we add the &#8216;hover&#8217; effect to the </li>
<li> element itself which produces the downward pointer image</li>
</ol>
<p style="text-align: left;">The final output will look like this:</p>
<ul style="text-align: left;">
<li><a title="Horizontal Navlist Demo" rel="fancybox" href="horizontal-navlist.html">Horizontal Navlist Demo</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.simcomedia.com/css-navlist-with-pointer/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Shopper Press &#8211; Wordpress eCommerce Plugin</title>
		<link>http://www.simcomedia.com/shopper-press-wordpress-ecommerce-plugin</link>
		<comments>http://www.simcomedia.com/shopper-press-wordpress-ecommerce-plugin#comments</comments>
		<pubDate>Sun, 24 Jan 2010 02:29:20 +0000</pubDate>
		<dc:creator>SimcoMedia Design</dc:creator>
				<category><![CDATA[Portfolio]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[WordPress Themes]]></category>
		<category><![CDATA[Wordpress Plugins]]></category>
		<category><![CDATA[shopperpress]]></category>
		<category><![CDATA[wordpress plugin]]></category>

		<guid isPermaLink="false">http://www.simcomedia.com/?p=723</guid>
		<description><![CDATA[Shopper Press is a quick, easy and full featured way to turn your Wordpress into a robust storefront complete with product management and automated payments via Paypal and others. This amazing plugin transforms your site into a multi-purpose store and blog combined. If you have products to sell, a catalog to display or digital downloads [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">Shopper Press is a quick, easy and full featured way to turn your Wordpress into a robust storefront complete with product management and automated payments via Paypal and others. This amazing plugin transforms your site into a multi-purpose store and blog combined. If you have products to sell, a catalog to display or digital downloads to offer then Shopper Press could be your ticket to online sales!</p>
<p style="text-align: left;"> </p>
<p><br class="spacer_" /></p>
<div id="attachment_724" class="wp-caption aligncenter" style="width: 246px"><a rel="fancybox" href="http://www.simcomedia.com/wp-content/uploads/2010/01/shopperpress.jpg"><img class="size-medium wp-image-724 " title="ShopperPress Wordpress Plugin" src="http://www.simcomedia.com/wp-content/uploads/2010/01/shopperpress-236x300.jpg" alt="ShopperPress Wordpress Plugin" width="236" height="300" /></a><p class="wp-caption-text">ShopperPress Wordpress Plugin</p></div>
<p><br class="spacer_" /></p>
<h2 style="text-align: left;">View The Demo</h2>
<p style="text-align: left;"><a title="ShopperPress Wordpress Plugin" href="https://secure.avangate.com/affiliate.php?ACCOUNT=&amp;AFFILIATE=10648&amp;PATH=" target="_blank">ShopperPress Demo</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.simcomedia.com/shopper-press-wordpress-ecommerce-plugin/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Recent Ajax Projects</title>
		<link>http://www.simcomedia.com/recent-ajax-projects</link>
		<comments>http://www.simcomedia.com/recent-ajax-projects#comments</comments>
		<pubDate>Sat, 12 Dec 2009 19:46:59 +0000</pubDate>
		<dc:creator>SimcoMedia Design</dc:creator>
				<category><![CDATA[Ajax]]></category>

		<guid isPermaLink="false">http://www.simcomedia.com/?p=645</guid>
		<description><![CDATA[Two recent projects involved extensive use of Ajax for displaying content. One of the great features about using Ajax is the ability to pull in external pages that can be pre-formatted with any time of content into the containing div using a common menu. Here are examples of how we&#8217;ve deployed Ajax in different ways [...]]]></description>
			<content:encoded><![CDATA[<p>Two recent projects involved extensive use of Ajax for displaying content. One of the great features about using Ajax is the ability to pull in external pages that can be pre-formatted with any time of content into the containing div using a common menu. Here are examples of how we&#8217;ve deployed Ajax in different ways to assist with the navigation of client websites:</p>
<h3>Example #1 &#8211; Using Ajax in the Main Menu</h3>
<p>When we say &#8216;main menu&#8217; we are referring to the main method of navigation for the website. This is usually a horizontal or vertical menu (in this case a vertical unordered list styled with CSS) that is present on every page of the site. This image below illustrates how the site was laid out to accommodate the display of the external content into the container div (click to enlarge):</p>
<p style="text-align: center;"> </p>
<div id="attachment_647" class="wp-caption aligncenter" style="width: 310px"><a rel="fancybox" href="http://www.simcomedia.com/wp-content/uploads/2009/12/myers-ajax.jpg"><img class="size-medium wp-image-647" title="Ajax menu by SimcoMedia" src="http://www.simcomedia.com/wp-content/uploads/2009/12/myers-ajax-300x212.jpg" alt="Ajax menu by SimcoMedia" width="300" height="212" /></a><p class="wp-caption-text">Ajax menu by SimcoMedia</p></div>
<h3>Example #2 &#8211; Using Ajax in a Sub-menu</h3>
<p>In this example the site has a main menu horizontally to provide navigation to all the various sections of the site. Within those sections are sub-menus that allow the related content to be displayed via Ajax into a container div located to the right of the sub-menu. This is extremely helpful in keeping the visitor &#8216;on topic&#8217; while reviewing your site content. The image below illustrates the layout (click to enlarge):</p>
<div id="attachment_648" class="wp-caption aligncenter" style="width: 310px"><a rel="fancybox" href="http://www.simcomedia.com/wp-content/uploads/2009/12/svps-ajax.jpg"><img class="size-medium wp-image-648" title="Ajax menu by SimcoMedia" src="http://www.simcomedia.com/wp-content/uploads/2009/12/svps-ajax-300x212.jpg" alt="Ajax menu by SimcoMedia" width="300" height="212" /></a><p class="wp-caption-text">Ajax menu by SimcoMedia</p></div>
<p>Ajax can be used in a variety of ways to improve the speed and ease of navigation for your website. Overuse of Ajax can be a site killer. For more information on how Ajax could be integrated into your website please <a href="http://www.simcomedia.com/contact">contact us</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.simcomedia.com/recent-ajax-projects/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS Block Hover Links</title>
		<link>http://www.simcomedia.com/css-block-hover-links</link>
		<comments>http://www.simcomedia.com/css-block-hover-links#comments</comments>
		<pubDate>Sun, 06 Dec 2009 21:20:14 +0000</pubDate>
		<dc:creator>SimcoMedia Design</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.simcomedia.com/?p=562</guid>
		<description><![CDATA[One of the coolest effects for hyperlinks is to have an entire paragraph or block change background color on mouseover. Whatever is inside the block area remains the same, though. Just the background color changes. Here&#8217;s a look at how it looks while using some thumbnails that would represent the topic of each link at [...]]]></description>
			<content:encoded><![CDATA[<p>One of the coolest effects for hyperlinks is to have an entire paragraph or block change background color on mouseover. Whatever is inside the block area remains the same, though. Just the background color changes. Here&#8217;s a look at how it looks while using some thumbnails that would represent the topic of each link at the same time. The thumbnails, however, do not have any hover effect themselves.<br />
<span id="more-562"></span><br />
<br/><br/><br/></p>
<div id="linkwrapper">
<div id="linkpics"><img class="linksimage" src="images/pic1.jpg" alt="" width="80" height="87" /><br />
<img class="linksimage" src="images/pic1.jpg" alt="" width="80" height="87" /><br />
<img class="linksimage" src="images/pic1.jpg" alt="" width="80" height="87" /></div>
<div id="links">
<ul>
<li><a title="Text" href="#">Link Title One<br />
<em>Place some text here describing the hyperlink contents as a summary&#8230;</em><br />
<span>Date posted or author name</span></a></li>
<li><a title="Text" href="#">Link Title Two<br />
<em>Place some text here describing the hyperlink contents as a summary&#8230;</em><br />
<span>Date posted or author name</span></a></li>
<li><a title="Text" href="#">Link Title Three<br />
<em>Place some text here describing the hyperlink contents as a summary&#8230;</em><br />
<span>Date posted or author name</span></a></li>
</ul>
</div>
</div>
<div style="clear: both;"></div>
<p>The HTML is pretty straight forward and the heights and widths can be adjusted to whatever you&#8217;d like them to be. My example shows the thumbnails at 80 x 87 in order to match the height of the block they represent. There&#8217;s no set height for the blocks themselves so you&#8217;ll need to judge your thumbnails based upon the amount of text you place into your blocks.</p>
<p>The trick with this is the &#8216;link&#8217; is the entire block or li tag. Therefore, when you mouse over it, the hover effect covers the entire block</p>
<p>Here&#8217;s the HTML:</p>
<pre class="[brush:html]">
<div id="linkwrapper">
<div id="linkpics">
		<img class="linksimage" src="pic1.jpg" alt="" width="80" height="87" />
		<img class="linksimage" src="pic1.jpg" alt="" width="80" height="87" />
		<img class="linksimage" src="pic1.jpg" alt="" width="80" height="87" /></div>
<div id="links">
<ul>
<li><a title="Text" href="#">Link Title One
				<em>Place some text here describing the hyperlink contents as a summary...</em>
				<span>Date posted or author name</span></a></li>
<li><a title="Text" href="#">Link Title Two
				<em>Place some text here describing the hyperlink contents as a summary...</em>
				<span>Date posted or author name</span></a></li>
<li><a title="Text" href="#">Link Title Three
				<em>Place some text here describing the hyperlink contents as a summary...</em>
				<span>Date posted or author name</span></a></li>
</ul>
</div>
</div>
</pre>
<p>Here&#8217;s the CSS from the example:</p>
<pre class="[brush:css]">#links ul {
        list-style-type: none;
        width: 400px;
		float: left;
		margin: 0px;
		padding: 0px;
} 

#links li {
        border: 1px dotted #999;
        border-width: 1px 0;
        margin: 5px 0;
}

#links li a {
        color: #990000;
        display: block;
        font: bold 120% Arial, Helvetica, sans-serif;
        padding: 5px;
        text-decoration: none;
}

 * html #links li a {  /* make hover effect work in IE */
	width: 400px;
	float: left;
}

#links li a:hover {
        background: #FCD5AD
}

#links a em {
        color: #333;
        display: block;
        font: normal 85% Verdana, Helvetica, sans-serif;
        line-height: 125%;
}

#links a span {
        color: #125F15;
        font: normal 70% Verdana, Helvetica, sans-serif;
        line-height: 150%;
}

#linkwrapper {
width: 550px;
border: 0;
}

#linkpics {
width: 80px;
float: left;
padding: 5px;
margin-right: 10px;
}

.linksimage {
float: left;
width: 80px;
margin-bottom: 5px;
border: 1px #CC3300 solid;
padding: 3px;
background: #FF9900;

}</pre>
<p>Notice that there&#8217;s a div that wraps around the entire set of blocks. This is done so the other two divs will reside side by side when using the float: left; selector on each. The width of the wrapping div needs to be wide enough to accommodate both child divs plus their margins, borders and padding.</p>
<p>Another note, the IE special instruction is there since IE requires that the link itself be the same width of the div. Otherwise it won&#8217;t work in IE.</p>
<p>Obviously you can make this example as wide as you need it and add additional li&#8217;s to the mix. This type of setup would make a nice navigation system for a product page. You could even use Ajax to load content into another div on the page when these hyperlink blocks are clicked on.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.simcomedia.com/css-block-hover-links/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS Rounded Corners With Images</title>
		<link>http://www.simcomedia.com/css-rounded-corners-with-images</link>
		<comments>http://www.simcomedia.com/css-rounded-corners-with-images#comments</comments>
		<pubDate>Sat, 21 Nov 2009 21:51:02 +0000</pubDate>
		<dc:creator>SimcoMedia Design</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://www.simcomedia.com/?p=545</guid>
		<description><![CDATA[Rounded corners are widely used as a way to isolate certain content on your webpages and, at the same time, get away from the block-ish look of everything having 90 degree right angles. Even though CSS3 has some relief coming for using simpler methods to attain the rounded corners look, it&#8217;s not supported in all [...]]]></description>
			<content:encoded><![CDATA[<p>Rounded corners are widely used as a way to isolate certain content on your webpages and, at the same time, get away from the block-ish look of everything having 90 degree right angles. Even though CSS3 has some relief coming for using simpler methods to attain the rounded corners look, it&#8217;s not supported in all browsers (especially IE) and it could be years before all the people surfing the web update their software to accommodate it. So, in the interim, we use methods like these.<span id="more-545"></span>The difference in which of these methods you use depends upon what you want your rounded corner box to do. In most cases it&#8217;s going to expand vertically as you add content. Therefore, we&#8217;ll assume it&#8217;s going to be a fixed width horizontally. But, option #1 could expand both directions while option #2 would not expand horizontally without modifying the images.</p>
<p>Option #1 &#8211; using corner images</p>
<p>This option requires you create the corner images with all four being exactly equal in size and named according to the code sample.</p>
<pre class="brush:[html]">
<div>
<div>

<img style="display: none;" src="tl.gif" alt="" width="15" height="15" /></div>

CONTENT Goes In here
<div>

<img style="display: none;" src="bl.gif" alt="" width="15" height="15" /></div>
</div>
</pre>
<p>And the CSS being:</p>
<pre class="brush:[css]">
.roundcont {

width: 250px;

background-color: #f90;

color: #fff;

}

.roundcont p {

margin: 0 10px;

}

.roundtop {

background: url(tr.gif) no-repeat top right;

}

.roundbottom {

background: url(br.gif) no-repeat top right;

}

img.corner {

width: 15px;

height: 15px;

border: none;

display: block !important;

}</pre>
<p>Option #2 &#8211; fixed width</p>
<p>The other option requires just three images, the top, middle and bottom. This method uses three div&#8217;s with the middle one being your content container. Each div has a background which is your top, middle and bottom. The middle div, though, is where your content goes and is expandable vertically depending upon that content. The nice part about this setup is you can style your borders for your box any way you wish and have uneven dimensions on the top or bottom. The center or middle is simply a div with some margins to position your text.</p>
<pre class="brush:[html]">
<div id="content">
<div id="contentcontainer">

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus lectus magna, consectetur eu
eleifend sit amet, condimentum ac massa. Maecenas at diam eu est scelerisque facilisis id sit amet
ligula. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.
Sed vitae risus cursus dui pulvinar rhoncus at et velit. Cras nulla velit, pellentesque ut ultricies
eget, sodales eget arcu. Morbi sed nunc quis urna condimentum imperdiet. Ut nec justo sed ligula
interdum egestas. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos
himenaeos. Nullam non est vel odio hendrerit dignissim at quis dui. Fusce laoreet erat non urna
lacinia porta. Maecenas ac metus lacus, nec convallis ligula. Cras in eros in felis rutrum varius
vel eu dolor. Nunc lorem erat, adipiscing non aliquam elementum, accumsan sed mi. Mauris urna eros,
suscipit sit amet tristique rhoncus, venenatis a nunc. Cras eget nunc quam, a mattis libero. Etiam
sit amet auctor dolor. Vivamus pretium iaculis justo vitae faucibus. Nulla orci nisi, accumsan sed
semper ac, bibendum id erat.</div>

<!-- end of content container --></div>

<!-- end of content --></pre>
<p>And, the CSS for this:</p>
<pre class="brush:[css]">
#content-top {
background-image: url('images/content-top.png');
background-repeat: no-repeat;
width: 670px;
height: 20px;
float: left;
}
#content {
background-image: url('images/content-bg.png');
background-repeat: repeat-y;
width: 670px;
min-height: 300px;

float: left;
}

#contentcontainer {
width: 650px;
margin-left: 10px;
float: left;
}

#content-bottom {
background-image: url('images/content-bottom.png');
background-repeat: no-repeat;
width: 670px;
height: 20px;
float: left;
}</pre>
<p>Option #2 was used in a recent project for the main content area. This content holder was also the target div for the Ajax display of content from page to page. The div expands vertically without breaking in order to allow as much space as needed for the various pages being summoned into the content area.</p>
<p>You can view it at <a href="http://www.myerschiro.com" target="_blank">Myers Chiropractic Center</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.simcomedia.com/css-rounded-corners-with-images/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS Tableless Forms</title>
		<link>http://www.simcomedia.com/css-tableless-forms</link>
		<comments>http://www.simcomedia.com/css-tableless-forms#comments</comments>
		<pubDate>Sat, 21 Nov 2009 20:48:42 +0000</pubDate>
		<dc:creator>SimcoMedia Design</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://www.simcomedia.com/?p=538</guid>
		<description><![CDATA[Many designers still rely upon tables for laying out their forms which actually leads to a whole lot more code than if they used some simple styling techniques with CSS. Let&#8217;s face it, forms are used in just about every website for different purposes. Seems that the majority take the quickie table layout method instead [...]]]></description>
			<content:encoded><![CDATA[<p>Many designers still rely upon tables for laying out their forms which actually leads to a whole lot more code than if they used some simple styling techniques with CSS. Let&#8217;s face it, forms are used in just about every website for different purposes. Seems that the majority take the quickie table layout method instead of creating some re-usable code that would dress up their boring forms.<span id="more-538"></span>Here&#8217;s some basic HTML to be used for our sample form. We&#8217;re going to make use of the label tag and some simple methods that create the clean inline formatting:</p>
<pre class="brush:[html]">
<form>

<label for="name">Name</label>
<input id="name" name="name" />

<label for="address">Address</label>
<input id="address" name="address" />

<label for="city">City</label>
<input id="city" name="city" />
</form>
</pre>
<p>And some simple CSS styling that positions the text field labels and styles them at the same time:</p>
<pre class="brush:[css]">label,input {

display: block;

width: 150px;

float: left;

margin-bottom: 10px;

}

label {

text-align: right;

width: 75px;

padding-right: 20px;

font-weight: bold;

color: #999;

}

br {

clear: left;

}
</pre>
<p>Here is a snapshot of what the form would look like in your browser:</p>
<p><div id="attachment_539" class="wp-caption aligncenter" style="width: 335px"><a href="http://www.simcomedia.com/wp-content/uploads/2009/11/css-form.jpg"><img class="size-full wp-image-539" title="CSS Tableless Form" src="http://www.simcomedia.com/wp-content/uploads/2009/11/css-form.jpg" alt="CSS Tableless Form" width="325" height="156" /></a><p class="wp-caption-text">CSS Tableless Form</p></div></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.simcomedia.com/css-tableless-forms/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ordered List Styling Using CSS</title>
		<link>http://www.simcomedia.com/ordered-list-styling-using-css</link>
		<comments>http://www.simcomedia.com/ordered-list-styling-using-css#comments</comments>
		<pubDate>Sat, 21 Nov 2009 20:00:25 +0000</pubDate>
		<dc:creator>SimcoMedia Design</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[css ordered lists]]></category>
		<category><![CDATA[ordered list css]]></category>

		<guid isPermaLink="false">http://www.simcomedia.com/?p=531</guid>
		<description><![CDATA[We&#8217;ve addressed unordered lists but haven&#8217;t really done much with the ordered ones. What&#8217;s the difference? Well, unordered lists use bullets and ordered list use numbers. They both use the &#60;li&#62; tag but start differently with the unordered being &#60;ul&#62; while the ordered is &#60;ol&#62;. Without using any styling for the ordered list you get [...]]]></description>
			<content:encoded><![CDATA[<p>We&#8217;ve addressed unordered lists but haven&#8217;t really done much with the ordered ones. What&#8217;s the difference? Well, unordered lists use bullets and ordered list use numbers. They both use the &lt;li&gt; tag but start differently with the unordered being &lt;ul&gt; while the ordered is &lt;ol&gt;. Without using any styling for the ordered list you get that ugly set of numbers that label each list item. Using a little bit of styling produces much better results.<span id="more-531"></span></p>
<p>Check it out &#8211; this is standard list display:</p>
<ol>
<li>blah blah</li>
<li>blah blah blahhhh</li>
<li>blah blah blahhhhhh</li>
</ol>
<p>Now, with some style use in our CSS we can come up with something like this:</p>
<ol style="font: italic 1em Georgia, Times, serif; color: #999;">
<li>
<p style="font: normal .8em Arial, Helvetica, sans-serif; color: #000000;">blah blah</p>
</li>
<li>
<p style="font: normal .8em Arial, Helvetica, sans-serif; color: #000000;">blah blahhh</p>
</li>
<li>
<p style="font: normal .8em Arial, Helvetica, sans-serif; color: #000000;">blah blah blahhhhhhhhhh</p>
</li>
</ol>
<p>Here&#8217;s the CSS:</p>
<pre class="brush:[css]">ol {

font: italic 1em Georgia, Times, serif;

color: #999999;

}

ol p {

font: normal .8em Arial, Helvetica, sans-serif;

color: #000000;

}</pre>
<p>And the HTML:</p>
<pre class="brush:[html]">
<ol>
<li>

This is line one</li>
<li>

Here is line two</li>
<li>

And last line</li>
</ol>
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.simcomedia.com/ordered-list-styling-using-css/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS Positioning</title>
		<link>http://www.simcomedia.com/css-positioning</link>
		<comments>http://www.simcomedia.com/css-positioning#comments</comments>
		<pubDate>Sun, 27 Sep 2009 18:10:08 +0000</pubDate>
		<dc:creator>SimcoMedia Design</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://www.simcomedia.com/?p=486</guid>
		<description><![CDATA[There was a time that trying to figure out CSS positioning was as confusing as reading the health care bill in congress. Once I got the jist of the basics of positioning then it became much clearer in how to use them together. The beginning &#8216;key&#8217; was to realize what the defaults were if nothing [...]]]></description>
			<content:encoded><![CDATA[<p>There was a time that trying to figure out CSS positioning was as confusing as reading the health care bill in congress. Once I got the jist of the basics of positioning then it became much clearer in how to use them together. The beginning &#8216;key&#8217; was to realize what the defaults were if nothing was declared. After that it was gravy.<span id="more-486"></span></p>
<h3>Position</h3>
<p>The position property (as you may have guessed) changes how elements are positioned on your webpage.</p>
<pre class="brush:[css]">position: value;</pre>
<p><strong>Values:</strong></p>
<ul>
<li>static</li>
<li>relative</li>
<li>absolute</li>
<li>fixed</li>
</ul>
<p><strong>Now, what does all that mean?</strong></p>
<h4>Static</h4>
<p>Static positioning is by default the way an element will appear in the normal flow of your (X)HTML file. It is not necessary to declare a position of static. Doing so, is no different than not declaring it at all.</p>
<pre class="brush:[css]">position: static;</pre>
<h4>Relative</h4>
<p>Positioning an element relatively places the element in the normal flow of your (X)HTML file and then offsets it by some amount using the properties left, right, top and bottom. This may cause the element to overlap other elements that are on the page, which of course may be the effect that is required.</p>
<pre class="brush:[css]">position: relative;</pre>
<h4>Absolute</h4>
<p>Positioning an element absolutely, removes the element from the normal flow of your (X)HTML file, and positions it to the top left of its nearest parent element that has a position declared other than static. If no parent element with a position other than static exists then it will be positioned from the top left of the browser window.</p>
<pre class="brush:[css]&gt;position: absolute;&lt;/pre&gt; &lt;h4&gt;Fixed&lt;/h4&gt; &lt;p&gt;Positioning an element with the fixed value, is the same as absolute except the parent element is always the browser window. It makes no difference if the fixed element is nested inside other positioned elements.&lt;/p&gt; &lt;p&gt;Furthermore, an element that is positioned with a fixed value, will not scroll with the document. It will remain in its position regardless of the scroll position of the page.&lt;/p&gt; &lt;p&gt;At this time IE6 (Internet Explorer 6) does not support the fixed value for the positioning of an element. Thus it will not position fixed elements correctly and will still scroll with the page. To see this effect in action you will need to use a standards compliant browser, such as Firefox 1.0&lt;/p&gt; &lt;pre class=">position: fixed;</pre>
<p>When positioning elements with relative, absolute or fixed values the following properties are used to offset the element:</p>
<ul>
<li>top</li>
<li>left</li>
<li>right</li>
<li>bottom</li>
</ul>
<pre class="brush:[css]">position: absolute; top: 10px; right: 10px;</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.simcomedia.com/css-positioning/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
