<?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>Brad Pyne</title>
	<atom:link href="http://brpwebdesign.com/blog/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://brpwebdesign.com/blog</link>
	<description>A web designer from Detroit, Michigan.</description>
	<lastBuildDate>Wed, 03 Mar 2010 18:26:11 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Some Handy CSS Tricks</title>
		<link>http://brpwebdesign.com/blog/?p=26</link>
		<comments>http://brpwebdesign.com/blog/?p=26#comments</comments>
		<pubDate>Sat, 27 Feb 2010 14:44:04 +0000</pubDate>
		<dc:creator>Brad Pyne</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[css shortcuts]]></category>
		<category><![CDATA[design conversion]]></category>
		<category><![CDATA[shortcuts]]></category>

		<guid isPermaLink="false">http://brpwebdesign.com/blog/?p=26</guid>
		<description><![CDATA[
Cascading Stylesheets are used to determine the presentation settings for a web page.  Any self respecting web developer is well versed in this language as the basics are easy to catch on to and are immensely useful.  I&#8217;ve noticed lately that a lot of developers aren&#8217;t taking some of the easy shortcuts they [...]]]></description>
			<content:encoded><![CDATA[<div id="blog">
<p>Cascading Stylesheets are used to determine the presentation settings for a web page.  Any self respecting web developer is well versed in this language as the basics are easy to catch on to and are immensely useful.  I&#8217;ve noticed lately that a lot of developers aren&#8217;t taking some of the easy shortcuts they ought to be. Below, I&#8217;ve included some functionality of CSS I believe every web developer should be aware of.</p>
<h3 class="heading">CSS Shorthand</h3>
<p>When styling certain of elements it is helpful to use the shorthand syntax of a few key elements.  You can use this syntax for backgrounds, fonts, borders, and some more.  This isn&#8217;t anything complicated but will accumulate to a lot of time saved.  This quick example will explain everything.</p>
<p></p>
<div style="float:right;">
<p>Easy way!</p>
<div class="code">
<div class="css">
<p><code>font: bold italic small-caps 120% verdana,sans-serif</code></p>
<p><code>background: #FFF url(images/bg.jpg) top left no-repeat;</code></p>
<p><code>border: 1px solid #000;</p>
<p></code>
            </div>
</div></div>
<p>Long way&#8230;</p>
<div class="code">
<div class="css">
<p><code> font-weight: bold;<br />
              font-style: italic;<br />
              font-size: 12px;<br />
              line-height: 120%;<br />
              font-variant: small-caps;<br />
              font-family: verdana,sans-serif;</p>
<p></code></div>
</div>
<div class="clear">&nbsp;</div>
<h3 class="heading">Multiple Class Declerations</h3>
<p>Most new developers are unaware that you can assign multiple class assignments in your html, this is an extremely effective tool.  Here&#8217;s a great example of when you may want to use something like this:</p>
<div class="code" style="float:left;">
<div class="html">
<p><code>&lt;div class="<strong>product box</strong>"&gt;&amp;nbsp;&lt;/div&gt;</code></p>
</p></div>
</div>
<div class="code" style="float:right;">
<div class="css">
<p><code>.product { float:right; }<br />
              .box { border:2px solid #000; }</p>
<p></code>
          </div>
</div>
<div class="clear">&nbsp;</div>
<p>As you start growing a personal library of commonly used classes it becomes much quicker to create a new page for the site.  Stop creating a third class when your problems may easily be solved by applying two classes you&#8217;ve already created.  The important thing to make sure of is that you use a space to separate the classes, <strong>do not use a comma</strong>.  If any of the rules you&#8217;ve set overlap each other the rule set nearest to the bottom of the document will take precedence.</p>
<h3 class="heading">CSS Media Types</h3>
<p>This isn&#8217;t something you&#8217;ll need for the small websites.  When you&#8217;re dealing with large clients it&#8217;s important to cover all of your bases.  Make sure to understand the different media types.</p>
<div class="code" style="width:630px;">
<div class="css">
<p><code> &#60;link type=&quot;text/css&quot; rel=&quot;stylesheet&quot; href=&quot;stylesheet.css&quot; <strong>media=&quot;screen&quot;</strong> /&#62;<br />
              &#60;link type=&quot;text/css&quot; rel=&quot;stylesheet&quot; href=&quot;printstyle.css&quot; <strong>media=&quot;print&quot;</strong> /&#62; </code></p>
</p></div>
</div>
<p>Here are some short descriptions to get you introduced.  These are taken straight from <a href="http://www.w3.org/TR/CSS2/media.html">W3C</a>.</p>
<div class="css-media">
<p><strong>all</strong><br />
            Suitable for all devices. </p>
</p></div>
<div class="css-media">
<p><strong>braille</strong><br />
            Intended for braille tactile feedback devices. </p>
</p></div>
<div class="css-media">
<p><strong>projection</strong></p>
<p>Intended for projected presentations, for example projectors. </p>
</p></div>
<div class="css-media">
<p><strong>screen</strong><br />
            Intended primarily for color computer screens. </p>
</p></div>
<div class="css-media">
<p><strong>speech</strong><br />
            Intended for speech synthesizers.</p>
</p></div>
<div class="css-media">
<p><strong>handheld</strong><br />
            Intended for handheld devices (typically small screen, limited bandwidth). </p>
</p></div>
<div class="css-media">
<p><strong>print</strong><br />
            Intended for paged material and for documents viewed on screen in print preview mode. </p>
</p></div>
<div class="css-media">
<p><strong>tty</strong><br />
            Intended for media using a fixed-pitch character grid (such as teletypes, terminals, or portable devices with limited display capabilities). </p>
</p></div>
<div class="css-media">
<p><strong>tv</strong><br />
            Intended for television-type devices (low resolution, color, limited-scrollability screens, sound available). </p>
</p></div>
<div class="clear">&nbsp;</div>
<p></p>
<h3 class="heading">Image &amp; Text Replacement</h3>
<p>        <a class="button-example">&nbsp;</a></p>
<p>Image and text replacement has been revolutionized through the introduction of CSS.  Despite this I find old and antiquated Javascript techniques used to this very day.  In almost every scenario this is a horrible technique and should never be used.  I&#8217;ve included an example on the right.  If this is news to you then your life is about to be changed&#8230; well part of it anyways.</p>
<p></p>
<p><strong>How it&#8217;s done:</strong></p>
<div style="float:left;width:310px;">
<div class="code">
<div class="html"><code></p>
<p>&lt;a class="button-example"&gt;&amp;nbsp;&lt;/a&gt;</p>
<p>              </code> </div>
</div>
<p>The Hero (button.jpg)</p>
<p>          <img src="images/button-example.jpg"></p>
<p><strong>Seriously</strong>, <em>it&#8217;s that simple</em>.  When doing it this way you can also start to get JQuery involved, more about that later.</p>
</p></div>
<div class="code" style="float:right;">
<div class="css">
<p><code>a.button-example {<br />
              &nbsp;&nbsp;&nbsp;display:block;<br />
              &nbsp;&nbsp;&nbsp;width:120px;<br />
              &nbsp;&nbsp;&nbsp;height:30px;<br />
              &nbsp;&nbsp;&nbsp;background:url(images/button.jpg) top left no-repeat;<br />
              }</p>
<p>              a.button-example:hover {<br />
              &nbsp;&nbsp;&nbsp;background-position:bottom left;<br />
              }</code></p>
</div>
</div>
</div>
<div class="clear">&nbsp;</div>
]]></content:encoded>
			<wfw:commentRss>http://brpwebdesign.com/blog/?feed=rss2&amp;p=26</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Site Launch</title>
		<link>http://brpwebdesign.com/blog/?p=1</link>
		<comments>http://brpwebdesign.com/blog/?p=1#comments</comments>
		<pubDate>Fri, 23 Oct 2009 23:57:11 +0000</pubDate>
		<dc:creator>Brad Pyne</dc:creator>
				<category><![CDATA[Web Site Updates]]></category>

		<guid isPermaLink="false">http://brpwebdesign.com/blog/?p=1</guid>
		<description><![CDATA[Well I&#8217;ve been putting it off for quite some time but I&#8217;ve finally completed my portfolio.  This is the third version of this website and my first ever blog!  Please check out some of my work and feel free to contact me if you are interested in working with me.
In this blog I&#8217;ll be talking [...]]]></description>
			<content:encoded><![CDATA[<p>Well I&#8217;ve been putting it off for quite some time but I&#8217;ve finally completed my portfolio.  This is the third version of this website and my first ever blog!  Please check out some of my work and feel free to contact me if you are interested in working with me.</p>
<p>In this blog I&#8217;ll be talking about&#8230;</p>
<p><strong>Web / Graphic Design</strong><br />
I&#8217;m constantly learning new ways to make a <a href="../webdesign.html"></a><a href="../web-design.html">design</a> look better.  This is where I&#8217;ll explain some of the different things I learn, some of the tools I find, and some of my favorite designs.</p>
<p><strong>Search Engine Optimization (SEO)</strong><br />
Recently I&#8217;ve started to branch out from web design and have developed a strong interest in search engine optimization.  In fact this is going to be one of my first attempts at <a href="../seo.html">SEO</a> and plan on having many more in the future.</p>
<p><strong>Anything I Feel Like!</strong><br />
It is my blog after all.</p>
]]></content:encoded>
			<wfw:commentRss>http://brpwebdesign.com/blog/?feed=rss2&amp;p=1</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
