<?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>israeljernigan.com &#187; 2007</title>
	<atom:link href="http://www.israeljernigan.com/2007/feed" rel="self" type="application/rss+xml" />
	<link>http://www.israeljernigan.com</link>
	<description>personal web blogger</description>
	<lastBuildDate>Sat, 17 Oct 2009 16:28:47 +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>Reusing Images and Repetitive Content with CSS</title>
		<link>http://www.israeljernigan.com/reusing-images-and-repetitive-content-with-css</link>
		<comments>http://www.israeljernigan.com/reusing-images-and-repetitive-content-with-css#comments</comments>
		<pubDate>Fri, 16 Nov 2007 15:00:00 +0000</pubDate>
		<dc:creator>Israel Jernigan</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[accessability]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[image-background]]></category>
		<category><![CDATA[usability]]></category>
		<category><![CDATA[z-index]]></category>

		<guid isPermaLink="false">http://www.israeljernigan.com/reusing-images-and-repetitive-content-with-css</guid>
		<description><![CDATA[I work with websites that have a need for alot of images and repetitive content. One of the needs I&#8217;ve had to work with is that of not wanting to change the original image once it&#8217;s been uploaded, if the change is only temporary.
An example would be where you would need to make product links [...]]]></description>
			<content:encoded><![CDATA[<p>I work with websites that have a need for alot of images and repetitive content. One of the needs I&#8217;ve had to work with is that of not wanting to change the original image once it&#8217;s been uploaded, if the change is only temporary.</p>
<p>An example would be where you would need to make product links visually say &#8220;on sale&#8221;. And to do that without having to recreate thousands of images and reupload them.<br />
A preview of what we are trying to achieve.</p>
<p><img src="/post-content/onsale/saleExample.jpg" alt="Image change example" class="left" /></p>
<h3 class="clear">A few things that I want to keep in mind.</h3>
<ol>
<li>Usability for client</li>
<li>Reusable code/images</li>
<li>Accessibility</li>
<li>Valid xhtml</li>
</ol>
<p><span id="more-20"></span></p>
<p class="note">Note: Gladly you won&#8217;t need to compromise with any of these items to achieve the goal.</p>
<h3>Let&#8217;s start with the basic html we will need.</h3>
<p class="note">Note: &#8216;  »»&#8217; is for readability on this page, they are not part of the code.</p>
<pre>&lt;a href="#" title="View Item 602. On Sale Now!" class="box2"&gt;  »»&lt;img src="/post-content/onsale/602.jpg" alt="View Item 602. On Sale Now!"  /&gt;  »»

&lt;img src="/post-content/onsale/saleThmb.png" alt="This item is on sale!"   »»

height="0" width="0" class="sale" border="0"  /&gt;&lt;/a&gt;</pre>
<p>We have a <strong>link </strong>that has two images inside of it. The first image is the main image of the actual product we are trying to be linked. The second image is what we are going to use for the &#8220;on sale&#8221; part of the final link.</p>
<p>&#8220;Why does the second image have a <strong>height</strong> and <strong>width</strong> of 0&#8243;, you say? Ah, we&#8217;ll get to that in a bit.</p>
<p>Let&#8217;s get to the css first. We&#8217;ll start with the css for the <strong>link</strong>.</p>
<pre>.box2 {height:120px;

margin:6px 6px 0px 0px;

width:120px;

z-index:50;

position:relative;

float:left;

}</pre>
<p>We have a set <strong>height</strong> and <strong>width</strong> as well as a nice <strong>margin</strong> for the link. The margin is if there are going to be multiple links next to each other. They will line up nicely.</p>
<h3>What we are using z-index for</h3>
<p><img src="/post-content/onsale/z-index.jpg" alt="z-index layers example" class="left" /></p>
<p class="clear">I have set a <strong>z-index</strong> for the link. The reason that it is set at 50 is because I like to have some leeway with which way I can go on my z-index, and I don&#8217;t like to go into the negatives or go up or down by 1(it&#8217;s hard to check for errors). Also if you want z-index to work you will need to set a position for that element. I am using relative positioning.</p>
<h3>Now the code for the images</h3>
<p>Now let&#8217;s look at the css for the images. Starting with the first and then the second.</p>
<pre>
.box2 img{z-index:45;

position:relative;

height:120px;

width:120px;

border:0px;

}</pre>
<pre>
.box2 img.sale{position:absolute;

z-index:55;

top:0px;

left:0px;

border:0px;

height:120px;

width:120px;

}</pre>
<p>Now sense we didn&#8217;t want to recreate the image with the &#8220;on sale&#8221; on the original image we will need to put it on top of the other image. We accomplish this with a <strong>transparent png</strong>(or you could use gif) and <strong>z-index</strong>. We put the z-index for the image we want to be on top at a higher z-index, and the lower image to have a lower z-index. (Makes sense) We also set the position of the second image to <strong>absolute</strong>. This allows us to place that image wherever we want inside the link. And if we had not set the link to have a position the second image would not stay inside the link. Once we set the position we can place the image at the top and left of the link, with <strong>top</strong> and <strong>left</strong> set at <strong>0</strong>. Finally we set the <strong>height</strong> and <strong>width</strong> of the second image with css.</p>
<p>Now the reason we set the <strong>height</strong> and <strong>width</strong> of the second image in the xhtml to <strong>0</strong> is so that if the css or images are disabled the image will not be visible. I would rather my layout break, and break the way I want it to, than have an extra image laying around on the html page.</p>
<style type="text/css" media="screen">   a.box2 { float:left; height:120px; margin:6px 6px 0px 0px; width:120px; z-index:50; position:relative;} a.box2:link { border:none; }  a.box2 img { z-index:45; position:relative; height:120px; width:120px; border:0px; } a.box2 img.sale { position:absolute; z-index:55; top:0px; left:0px; border:0; height:120px; width:120px; } .footnote { color:#992200; } </style>
<p><a href="#" title="View Item 602." class="box2"><img src="/post-content/onsale/602.jpg" alt="View Item 602." /><img src="/post-content/onsale/saleThmb.png" alt="Item 602 is on sale!" class="sale" border="0" height="0" width="0" /></a></p>
<p class="clear">Viola! You know have reusable images and code for your product links. This will work in IE, Safari, and Mozilla browsers. The xhtml validates, and it&#8217;s totally accessable.</p>
<p>You can view the final result and copy the code <a href="/post-content/onsale/" title="The final result of this post is here">at this link.</a><br />
<a href="/post-content/onsale/" title="View the completed result of this post" class="big-button">View<br />
Final Result</a></p>
<p><a href="/post-content/onsale/saleExample.zip" title="Download example files here" class="big-button">Download<br />
Example Files</a></p>
<p>I am writing an article about a more advanced way to do this, and it will be posted soon. So check back within the next week!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.israeljernigan.com/reusing-images-and-repetitive-content-with-css/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Help for bugs/issues with CSS and Internet Explorer</title>
		<link>http://www.israeljernigan.com/help-for-bugsissues-with-css-and-internet-explorer</link>
		<comments>http://www.israeljernigan.com/help-for-bugsissues-with-css-and-internet-explorer#comments</comments>
		<pubDate>Fri, 09 Nov 2007 15:12:56 +0000</pubDate>
		<dc:creator>Israel Jernigan</dc:creator>
				<category><![CDATA[Accessability]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[bugs]]></category>
		<category><![CDATA[css]]></category>

		<guid isPermaLink="false">http://www.israeljernigan.com/help-for-bugsissues-with-css-and-internet-explorer</guid>
		<description><![CDATA[This is an attempt at creating a list of known issues/bugs with Internet Explorer and CSS, and documentation/help for those bugs. I hope that you find it helpful. I&#8217;ve been needing to research some of these, so I thought I should document and share. Feel free to submit your finds as well.
Articles / Websites to [...]]]></description>
			<content:encoded><![CDATA[<p>This is an attempt at creating a list of known issues/bugs with Internet Explorer and CSS, and documentation/help for those bugs. I hope that you find it helpful. I&#8217;ve been needing to research some of these, so I thought I should document and share. Feel free to submit your finds as well.</p>
<h3>Articles / Websites to Help you Learn More</h3>
<ul>
<li>hasLayout (you should learn about this)
<ul>
<li><a href="http://www.satzansatz.de/cssd/onhavinglayout.html" title="What hasLayout is and why we need to know." target="_blank">hasLayout explained</a></li>
<li><a href="http://www.positioniseverything.net/explorer/inherited_margin.html" title="Documentation of hasLayout by Microsoft" target="_blank">Microsoft documentation on hasLayout</a></li>
</ul>
</li>
</ul>
<p><span id="more-18"></span></p>
<ul>
<li>Testing Bugs
<ul>
<li><a href="http://www.brunildo.org/test/" title="Simple and easy to see live examples." target="_blank">Simple live examples of issues involving IE</a></li>
<li><a href="http://www.positioniseverything.net/index.php" title="Definitly a great resource for new bugs" target="_blank">User submitted and Site related demos</a> (Very well explained)</li>
</ul>
</li>
<li>What&#8217;s been fixed in IE 7
<ul>
<li><a href="http://blogs.msdn.com/ie/archive/2005/07/29/445242.aspx" title="Microsoft developer blog list of bugs fixed" target="_blank">List on microsoft developer blog of known IE 6 bugs that are fixed</a> (Not a comprehensive list)</li>
</ul>
</li>
<li>Lists of bugs/issues
<ul>
<li><a href="http://www.macedition.com/cb/ie5macbugs/index.html" title="Help on figuring out IE5 bugs" target="_blank">Help on figuring out IE5 Mac bugs</a></li>
<li><a href="http://www.gtalbot.org/BrowserBugsSection/MSIE6Bugs/" title="IE6 bugs, very big list.">Another list of IE bugs with a short description explaining each.</a></li>
<li><a href="http://www.quirksmode.org/bugreports/" title="Great resource of documentation on bugs" target="_blank">User submitted list of issues and bugs</a> (kept current, not just IE)</li>
<li><a href="http://www.gtalbot.org/BrowserBugsSection/" title="Very nice long list of IE bugs" target="_blank">List of links to sites about bugs</a></li>
<li><a href="http://www.positioniseverything.net/explorer.html" title="Great resource for figuring out where to go." target="_blank">Guides on what to do and how to fix issues with IE </a></li>
<li><a href="http://websitetips.com/css/solutions/" title="Kind of confusing list of resources, but the resources are good" target="_blank">Not easy to navigate, but a good list of resources for issues with browsers</a></li>
</ul>
</li>
<li>CSS guides and tutorials
<ul>
<li><a href="http://www.thenoodleincident.com/tutorials/css/index.html" title="Guides on learning CSS" target="_blank">Clean and easy to read guides about CSS</a></li>
<li><a href="http://www.positioniseverything.net/index.php" title="Great website for finding your problem" target="_blank">Articles and Guides on how to solve IE bugs</a></li>
<li><a href="http://www.communitymx.com/content/article.cfm?cid=C37E0" title="A good website to help find where you need to go with your CSS" target="_blank">How to figure out which IE bug you have</a></li>
<li><a href="http://www.zeldman.com/2006/10/27/ie7fixes1/" title="Part 1 of the series, but quite insitful for figuring out IE" target="_blank">Some more current examples of how to solve bugs in IE</a></li>
</ul>
</li>
<li>Reporting Bugs/Forums about Bugs
<ul>
<li><a href="http://www.quirksmode.org/bugreports/" title="One of the best resources I've found for browser bugs" target="_blank">Submit your finds, search for issues</a> (quite comprehensive, very helpful)</li>
<li><a href="http://webbugtrack.blogspot.com/" title="User submitted and reported bugs and issues with all browsers" target="_blank">Web Bug Track, user submitted</a> (great rundown of specific issues)</li>
</ul>
</li>
</ul>
<p>I hope these provide you with a great resource for figuring out those ridiculous Internet Explorer bugs. They have helped me. <img src='http://www.israeljernigan.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.israeljernigan.com/help-for-bugsissues-with-css-and-internet-explorer/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>The Lawsuit Against Target And Accessibility Rules</title>
		<link>http://www.israeljernigan.com/the-lawsuit-against-target-and-accessibility-rules</link>
		<comments>http://www.israeljernigan.com/the-lawsuit-against-target-and-accessibility-rules#comments</comments>
		<pubDate>Tue, 06 Nov 2007 15:28:54 +0000</pubDate>
		<dc:creator>Israel Jernigan</dc:creator>
				<category><![CDATA[Accessability]]></category>
		<category><![CDATA[accessibility]]></category>
		<category><![CDATA[target]]></category>
		<category><![CDATA[web standards]]></category>

		<guid isPermaLink="false">http://www.israeljernigan.com/the-lawsuit-against-target-and-accessibility-rules</guid>
		<description><![CDATA[So I&#8217;ve been trying to follow the lawsuit against Target. And I remember when I first heard about it I started thinking, &#8220;I wonder where this will lead,&#8221; hoping that it wouldn&#8217;t create a bunch of rules and regulations I have to abide by when creating websites.
There are plenty of standards that I try to [...]]]></description>
			<content:encoded><![CDATA[<p>So I&#8217;ve been trying to follow the <a href="http://www.computerworld.com/action/article.do?command=viewArticleBasic&amp;articleId=9041002&amp;intsrc=news_ts_head" title="A recent news story about the lawsuit" target="_blank">lawsuit against Target</a>. And I remember <a href="http://www.boxofchocolates.ca/archives/2006/02/09/taking-aim-at-target-dot-com" title="One of the first posts about the lawsuit." target="_blank">when I first heard about it</a> I started thinking, &#8220;I wonder where this will lead,&#8221; hoping that it wouldn&#8217;t create a bunch of rules and regulations I have to abide by when creating websites.</p>
<p>There are plenty of standards that I try to abide by as a web developer.</p>
<ul>
<li><a href="http://www.w3.org/Style/CSS/" title="Here's what all the fuss is about with Cascading Style Sheets." target="_blank">CSS</a> &#8211; <a href="http://jigsaw.w3.org/css-validator/" title="CSS Validation Tool" target="_blank">http://jigsaw.w3.org/css-validator/</a></li>
<li><a href="http://validator.w3.org/feed/about.html" title="What a feed validator does and why." target="_blank">RSS</a> &#8211; <a href="http://validator.w3.org/feed/" title="RSS feed Validation Tool" target="_blank">http://validator.w3.org/feed/</a></li>
<li><a href="http://www.w3.org/TR/xhtml1/" title="What is XHTML? It is explained in gross detail here." target="_blank">XHTML </a>- <a href="http://validator.w3.org/" title="HTML Validaiton Tool" target="_blank">http://validator.w3.org/</a></li>
<li><a href="http://validator.w3.org/docs/checklink.html" title="What the Link Checker does." target="_blank">Link Checker</a> &#8211; <a href="http://validator.w3.org/checklink" title="Link Validaiton Tool" target="_blank">http://validator.w3.org/checklink/</a></li>
<li><a href="http://www.access-board.gov/sec508/standards.htm" title="The standards used when creating things for federal means must be usable by people with disabilities." target="_blank">Section 508</a> &#8211; <a href="http://www.contentquality.com/" title="Section 508 Validaiton Tool" target="_blank">http://www.contentquality.com/</a></li>
<li><a href="http://www.w3.org/TR/WCAG10/" title="How to make websites accessable to people with disabilities." target="_blank">WCAG</a> 1, 2 &amp; 3 &#8211; <a href="http://www.contentquality.com/fulloptions.asp?rptmode=2" title="WCAG Validation Tool for accessability" target="_blank">http://www.contentquality.com/</a></li>
</ul>
<p>My fear is that this will open a door for the government to have more control over how we can use the internet and what we can use it for. There are already standards in place, like those above, that I (and many other web developers) try and abide by. I hope that Target ignoring these standards won&#8217;t create rules that infringe upon my freedom to create websites.<br />
<span id="more-17"></span><br />
I&#8217;ve heard rumors of there being lobbying for all adult websites to have one domain suffix, like .xxx. I&#8217;m not necessarily for adult related websites or their content, but I am against restricting what can be on the internet. To me it would be restricting the ultimate public communication.</p>
<p>If a website doesn&#8217;t want to be accessible to a certain  people group or people who are disabled, that&#8217;s their choice. They&#8217;ll just lose some of their customer base. Now if they are creating something that is to be used by and for the government, they need to abide by that government&#8217;s rules. But there is a fine line where that begins and ends.</p>
<p>My argument is this. Does a Spanish newspaper have to create an English version of their newspaper, or even a braille version for that matter?   Will I be able to view a website from the United Kingdom from my house in New York if it doesn&#8217;t conform to U.S. standards? Where is the line  that dictates how much or how little is required? The more the government gets involved because of stupid mistakes or <span class="secondary-bf"></span><span class="secondary-bf">inconsiderations</span> by big companies, the more leeway the government gets into controlling the internet. I&#8217;m not saying that a certain people group doesn&#8217;t have rights, but when did the world wide web become a place of regulations and restrictions?</p>
<p>Taxing  domains, restricting what can be put on a certain domain suffix (.com), or making me cater to a certain people group is dangerous ground for the government. Will the future hold that I have to make my website accessible to multiple languages if I host my website in U.S. vs. somewhere else ? If I have video on my website will I have to have a text version as well? Will there be restrictions as to what I can write in a blog post? I hope that this lawsuit will end well, but I fear that, very soon, restrictions will limit the internet more than I&#8217;d like.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.israeljernigan.com/the-lawsuit-against-target-and-accessibility-rules/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using PHP to Easily Create Radio Lists and Drop Downs</title>
		<link>http://www.israeljernigan.com/using-php-to-easily-create-radio-lists-and-drop-downs</link>
		<comments>http://www.israeljernigan.com/using-php-to-easily-create-radio-lists-and-drop-downs#comments</comments>
		<pubDate>Mon, 22 Oct 2007 16:05:44 +0000</pubDate>
		<dc:creator>Israel Jernigan</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[drop down]]></category>
		<category><![CDATA[php integration]]></category>
		<category><![CDATA[radio list]]></category>

		<guid isPermaLink="false">http://www.israeljernigan.com/using-php-to-easily-create-radio-lists-and-drop-downs</guid>
		<description><![CDATA[One thing that I find myself doing continuously is creating forms. From forms that submit info into a database, to forms that send emails. I constantly am doing repetitive processes.
Most of the time I am using server side PHP code to create or validate part of the form. So I created a few server side [...]]]></description>
			<content:encoded><![CDATA[<p>One thing that I find myself doing continuously is creating forms. From forms that submit info into a database, to forms that send emails. I constantly am doing repetitive processes.</p>
<p>Most of the time I am using server side PHP code to create or validate part of the form. So I created a few server side functions that I have found help my process along. Two things that I seem to need often are <strong>radio lists</strong> and <strong>drop down options</strong>.  I needed them to be as dynamic as possible. (To work with javascript, labels, css, validation, and database information)</p>
<p>I created two functions: one for radio buttons, and one for drop down options. I am going to list the entire functions and than explain the different aspects of them.<br />
<span id="more-15"></span></p>
<h3>Radio List Function</h3>
<pre>function Fradio($a,$name,$c=FALSE,$o=FALSE){
//a=array(array('v'=&gt;'value','l'=&gt;'label','o'=&gt;'extra/options/javascript'))
//name=radio form's name
//c=choice
//o=other values [true/false]  

$x=0;//the count

if(is_array($a)){

if(!$o){//if no individual options for each input field, like javascript

foreach($a as $v){

$x=$x+1;

$selected = ($c == $v['v']) ? 'checked="checked"' : '';  

$line .= ' &lt;label for="'.$name.$x.'"&gt;

&lt;input type="radio" name="'.$name.'" id="'.$name.$x.'" '.$selected.' value="'.$v['v'].'" /&gt;

'.$v['l'].'

&lt;/label&gt;';

}

}else{

foreach($a as $v){

$selected = ($c == $v['v']) ? 'checked="checked"' : '';

$line .= ' &lt;label for="'.$name.$x.'"&gt;

&lt;input type="radio" name="'.$name.'" id="'.$name.$x.'" '.$selected.' value="'.$v['v'].'" '.$v['o'].' /&gt;

'.$v['l'].'

&lt;/label&gt;';

}

}

return $line;

}

return false;

}</pre>
<h3>Drop Down Function</h3>
<pre>function Fdd($a,$name,$c=FALSE,$o=FALSE){
//a=array(array('v'=&gt;'value','l'=&gt;'label'))
//name=dropdown form's name
//c=choice
//o=other values [extra/options/javascript]  

if(is_array($a)){  

$line = '&lt;select id="'.$name.'" name="'.$name.'" '.$o.'&gt;';

foreach($a as $v){

$selected = ($c == $v['v']) ? 'selected="selected"' : '';

$line .= '&lt;option value="'.$v['v'].'" '.$selected.' &gt;'.$v['l'].'&lt;/option&gt;';

}

$line .= '&lt;/select&gt;';

return $line;

}

return false;

}</pre>
<p>They work using arrays of information, I thought this would be the best way for me to create data and cycle through it. I will start by showing you a basic array of information, and what basic information the functions require.</p>
<p>To make this easier to read I&#8217;ve separated each array(choice) into a variable. You can easily create this array from a mysql result set.</p>
<pre>$choice1 = array('v'=&gt;'value1','l'=&gt;'label1','o'=&gt;'option1');

$choice2 = array('v'=&gt;'value2','l'=&gt;'label2','o'=&gt;'option2');

$choice3 = array('v'=&gt;'value3','l'=&gt;'label3','o'=&gt;'option3');

$array = array($choice2,$choice2,$choice3);</pre>
<p>If you were trying to use mysql you could do something like this.</p>
<pre>while($row = mysql_fetch_row($resultset)){

$array[] = array('v'=&gt;$row["value"],'l'=&gt;$row["label"],'o'=&gt;$row["option"]);

}</pre>
<p>Than you can store your radio list in a variable or simply display the function.</p>
<pre>echo Fradio($array,'radioName','choice selected');</pre>
<p>Now there are four variables that can be passed into this function and two of them are required. From left to right they are this: the array containing the values for the form tag(required), the name being used for the form tag(required), the choice selected(can be used for cms, or error correction), and lastly set this to true if any extra options are to be used(rarely needed, but allows for the use of javascript).</p>
<p>Both functions use the same format except on one part. Because of the way drop downs work, you cannot use javascript on each individual option tag(it won&#8217;t work correctly in all browsers, and doesn&#8217;t validate). Instead you must use it on the select tag. For the drop down function, the variable isn&#8217;t a boolean value, it&#8217;s the actual javascript. There is no need to put it in the array like the radio function. The radio function accepts a boolean value for that variable, and you actually put the javascript in the array along with the other radio button info.</p>
<p>Both functions will return false if the first variable is not an array. If you would like to comment or make suggestions feel free to post below. Feel free to use this, and I hope it helps.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.israeljernigan.com/using-php-to-easily-create-radio-lists-and-drop-downs/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Today is Blog Action Day &#8211; The Environment</title>
		<link>http://www.israeljernigan.com/today-is-blog-action-day-the-environment</link>
		<comments>http://www.israeljernigan.com/today-is-blog-action-day-the-environment#comments</comments>
		<pubDate>Mon, 15 Oct 2007 19:52:42 +0000</pubDate>
		<dc:creator>Israel Jernigan</dc:creator>
				<category><![CDATA[Environment]]></category>
		<category><![CDATA[awareness]]></category>
		<category><![CDATA[blog action day]]></category>

		<guid isPermaLink="false">http://www.israeljernigan.com/today-is-blog-action-day-the-environment</guid>
		<description><![CDATA[Today I am writing about the environment. I am trying to become more environmentally aware, and have been trying to think of some ways that I can do that in my profession. So I have decided to write about it for Blog Action Day.
One simple thing that I&#8217;ve started doing is using hosting that has [...]]]></description>
			<content:encoded><![CDATA[<p>Today I am writing about the environment. I am trying to become more environmentally aware, and have been trying to think of some ways that I can do that in my profession. So I have decided to write about it for <a href="http://www.blogactionday.org" title="Blog Action Day: To Raise Awareness to the World" target="_blank">Blog Action Day</a>.</p>
<p><a href="http://www.dreamhost.com/green.cgi" title="Green Web Hosting by Dreamhost"><img src="https://secure.newdream.net/green1.gif" alt="Green Web Hosting! This site hosted by DreamHost." height="32" width="100" /></a>One simple thing that I&#8217;ve started doing is using hosting that has gone green.  I&#8217;ve found this is really easy, and doesn&#8217;t require that much work on my part, but it can make a huge difference. You can even use it to promote your website or as a selling tool to your client.</p>
<h3>Be More Aware</h3>
<p>I&#8217;ve had a desire to be more recycle minded. So I&#8217;ve tried to take that more into account with what I do and where I work. So I&#8217;ve started to do a few things&#8230;<br />
<span id="more-14"></span></p>
<ol>
<li style="padding-bottom: 1em">I sometimes eat breakfast at work, so I try and use real dishes whenever I can. I try and <a href="http://answers.yahoo.com/question/index?qid=20070521211056AARzdf2" title="Answers about stryofoam" target="_blank">never</a> use <a href="http://www.computerworld.com/blogs/node/1960" title="Some reasons why" target="_blank">styrofoam</a>. You cannot easily recycle stryofoam.</li>
<li style="padding-bottom: 1em">When leaving the office or home for long periods I unplug all of my appliances. That includes computers, printers, kitchenware, tv, etc. Anything that can suck electricity while it&#8217;s &#8216;off&#8217; is something I have been trying to be more mindful of.</li>
<li style="padding-bottom: 1em">Also recycle <a href="http://www.recycle4charity.com/store.tpl?rnd=7795&amp;cart=1ABEF64E-B664-493F-91A4-4957485D10BC" title="Take out the ink!" target="_blank">printer cartridges</a> and <a href="http://www.recycle4charity.com/Results.tpl?rnd=4648&amp;cart=1ABEF64E-B664-493F-91A4-4957485D10BC&amp;category=9&amp;startat=1" title="Recycle those cell phones!" target="_blank">cell phones</a>. This is a simple thing you can do. You might even be able to find an office supply store that have drop boxes for just this purpose.</li>
<li style="padding-bottom: 1em">A great way to save is to use email for more than just personal messages. Use it for invoicing, record keeping, organization; most email applications have great calendar and task features that you can use instead of those paper substitutes.</li>
<li style="padding-bottom: 1em">And lastly I try and encourage my clients to use ftp when transferring files rather than on a cd through the mail. I&#8217;ve found that it&#8217;s not only faster, but requires less work to do. No need to make last minute trips to the post office Just upload and go.</li>
</ol>
<h3>Change is good</h3>
<p>So those are a few tips I hope will start you thinking about what you can do in your personal life to make a change to help the environment. Be open to change. Be aware that the earth is changing. Be mindful of what you can do.Here are some more <a href="http://freelanceswitch.com/working/29-simple-ways-to-become-a-more-environmentally-friendly-freelancer-help-us-donate-500-to-charity/" title="Simple Ideas to Change Your World" target="_blank">great tips</a> that you should check out. They are really good ideas that you can easily apply to your everyday routine. Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.israeljernigan.com/today-is-blog-action-day-the-environment/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>CSS Off Contest &#8211; Wikinetic &#8211; The Judging Block</title>
		<link>http://www.israeljernigan.com/css-off-contest-wikinetic-the-judging-block</link>
		<comments>http://www.israeljernigan.com/css-off-contest-wikinetic-the-judging-block#comments</comments>
		<pubDate>Fri, 12 Oct 2007 13:45:22 +0000</pubDate>
		<dc:creator>Israel Jernigan</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS Off]]></category>
		<category><![CDATA[contest]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[cssoff.com]]></category>

		<guid isPermaLink="false">http://www.israeljernigan.com/css-off-contest-wikinetic-the-judging-block</guid>
		<description><![CDATA[So, I love critique. It is always unexpected, and you learn from it. Even if you hate to admit it, you do learn. That&#8217;s why I love CSS Off so much! But now to recap some things that were said about my entry. Here is the link where my critique is, I&#8217;m the last.
But first, [...]]]></description>
			<content:encoded><![CDATA[<p>So, I love critique. It is always unexpected, and you learn from it. Even if you hate to admit it, you do learn. That&#8217;s why I love CSS Off so much! But now to recap some things that were said about my entry. <a href="http://cssoff.com/entries/wikinetic/index.php" title="I'm number 8 on the list" target="_blank">Here is the link</a> where my critique is, I&#8217;m the last.</p>
<p>But first, <strong>my entry was the smallest size! </strong>I&#8217;d say I&#8217;m proud of that. <img src='http://www.israeljernigan.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>Most of the things I knew would be on there. Like, late, not working in safari, bad border on ratings, bad text-resizing, css not validating because of font instead of font-family(stupid mistake), basic browser inconsistencies, and hard to read code. ugh&#8230;thanks for pointing those out guys.<br />
<span id="more-13"></span><br />
Some pluses that were given to my attempt, were much appreciated.  Like, my use of tables(I used them for showing data, not layout), my integration of a print stylesheet, attempt at drop shadow on border of table, good use of header tags(h1, h3), and use of ems for font-size. I&#8217;m glad the judges paid so close attention to the details.</p>
<p>It was mentioned by one of the judges that the site didn&#8217;t work on the iPhone. That made me laugh. Now if only I had the money to buy an iPhone. But he did say that they were not judging the way it looked on the iPhone. Which I am glad they didn&#8217;t.</p>
<p>Well, after reading what they had to say, I had to take a step back and figure out why those things happened. And the first thing that came to mind was time. These competitions are becoming harder for me because of that. I love the challenge, but it&#8217;s so hard to take an entire day(usually a weekday) and make a website. I guess I want to be with my wife more than I want to spend my day doing this. (she doesn&#8217;t usually want me to spend my entire Saturday coding when I do that all day during the week)</p>
<p>I get so passionate when I am coding css. I love it. The diversity, the challenge, the unique ideas, the pain, and the attempt at perfection. I can&#8217;t help but enjoy every minute of it. This is what I love, and I think that&#8217;s weird.</p>
<p>Well if you want to see my entry, you can <a href="http://cssoff.com/entries/wikinetic/08-0916-1202am-israel/index.htm" title="This is my entry for the CSS Off contest" target="_blank">check it out here</a>. Check it out, and look for to my next entry.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.israeljernigan.com/css-off-contest-wikinetic-the-judging-block/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cool CSS Matted Border Effect</title>
		<link>http://www.israeljernigan.com/cool-css-double-border-effect</link>
		<comments>http://www.israeljernigan.com/cool-css-double-border-effect#comments</comments>
		<pubDate>Thu, 04 Oct 2007 20:28:57 +0000</pubDate>
		<dc:creator>Israel Jernigan</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[border]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.israeljernigan.com/cool-css-double-border-effect</guid>
		<description><![CDATA[
So I thought I would share a simple trick that creates a really clean effect. It&#8217;s what I call a double border. I don&#8217;t like adding borders onto the actual images I put on websites, so I&#8217;ve experimented with using css to create the borders. What I&#8217;ve found is that css rocks at doing this!
Basically [...]]]></description>
			<content:encoded><![CDATA[<p class="left" style="border: 1px solid black; padding: 2px; background-color: #efefef; width: 75px; display: block; margin-right: 1.5em"><img src="http://israeljernigan.com/post-content/border/me.png" alt="Cool Border" height="100" width="75" /></p>
<p>So I thought I would share a simple trick that creates a really clean effect. It&#8217;s what I call a double border. I don&#8217;t like adding borders onto the actual images I put on websites, so I&#8217;ve experimented with using css to create the borders. What I&#8217;ve found is that css rocks at doing this!</p>
<p>Basically you put a <strong>&lt;div&gt;</strong> tag around the image you want to add a border to. And add css to the div, not the image. That way we can still control the image, but we have much more variation with what we can do with borders.</p>
<p>Here is what the<strong> &lt;div&gt;</strong> and <strong>&lt;img&gt;</strong> html would look like.<br />
<span id="more-11"></span></p>
<pre>
&lt;div class="border-cool-out"&gt;
&lt;img src="/post-content/border/me.png" alt="Cool Border" »»
height="100" width="75" /&gt;
&lt;/div&gt;</pre>
<p>And then the really simple css for the double border. basically all you need to do is give the class the width of the image, and however much border you want. Than add a background-color and padding. That will create the extra border to give it a double border effect.</p>
<pre>
&lt;style&gt;
.border-cool-out{
  border:1px solid black;
  background-color:#efefef;
  width:75px;
  padding:2px;
}
&lt;/style&gt;</pre>
<p>I hope you enjoyed this really easy, but cool way to create stylish and great looking borders. Here is another example.</p>
<p style="border: 1px solid #890001; padding: 5px; background-color: #efefef; width: 350px; display: block; height: 100px; font-size: 1em; color: #999999"> <img src="http://israeljernigan.com/post-content/border/me2.png" alt="Cool Border" style="float: left; margin-right: 1.5em" height="100" width="75" />I thought it might be cool to show an interesting example of how this could be used. Other than as a double border. Enjoy! <img src='http://www.israeljernigan.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.israeljernigan.com/cool-css-double-border-effect/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Learning to create css layout: Part 2 of 2</title>
		<link>http://www.israeljernigan.com/learning-to-create-css-layout-part-2-of-2</link>
		<comments>http://www.israeljernigan.com/learning-to-create-css-layout-part-2-of-2#comments</comments>
		<pubDate>Tue, 25 Sep 2007 21:12:18 +0000</pubDate>
		<dc:creator>Israel Jernigan</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[layout]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[xhtml]]></category>

		<guid isPermaLink="false">http://www.israeljernigan.com/learning-to-create-css-layout-part-2-of-2</guid>
		<description><![CDATA[Okay, so this has taken awhile for me to get around to writing.
This is the second part to the learning to create css layout series. This part focuses on how to make the menu. The last part left off here.
We are going to create the menu from an unordered list. The main reason we do [...]]]></description>
			<content:encoded><![CDATA[<p>Okay, so this has taken awhile for me to get around to writing.</p>
<p>This is the second part to the learning to create css layout series. This part focuses on how to make the menu. The last part <a href="http://www.israeljernigan.com/post-content/tutorial/basic_css_02.htm" title="First part of series" target="_blank">left off here</a>.</p>
<p>We are going to create the menu from an unordered list. The main reason we do this, is because of semantics. When css is disabled or someone is using a screen reader it&#8217;s helps in navigation. But also it is because the menu is a list or grouping of links.</p>
<p>So lets start with the xhtml.</p>
<pre>
&lt;ul&gt;
&lt;li&gt;&lt;a href="#" class="active"&gt;Main 1&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#"&gt;Main 2&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#"&gt;Main 3&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#"&gt;Main 4&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#" class="last"&gt;Main 5&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</pre>
<p>Which is pretty simple. Much cleaner than separate &lt;td&gt; for each link. <span id="more-10"></span>Each link is nested inside a list tag. And whichever page you are on the anchor tag has a class of {active} attributed to it. This is strictly for declaring css on that element to help distinguish it from the other menu items. And you might have noticed a class of {last}, which is being used for controlling graphical elements on the end anchor tag.</p>
<p>That&#8217;s pretty simple and it can be controlled quite extensively with css. Here is the css that controls the way the unordered list is setup and displayed.</p>
<pre>
#menu ul{
margin: 0;
padding: 0;
width: auto;
}
#menu ul li{
display:inline;
}</pre>
<p>We have put the unordered list inside the {menu} div. We can set specific rules for just this div by attributing <strong>#menu</strong> before all of the elements we want to control inside that div. That way it won&#8217;t affect any other tags on the page that are not in that div.</p>
<p>We get rid of the default values that are atrributed to an unordered list by setting <strong>margin</strong> and <strong>padding</strong> to 0. Also each list item inside the unordered list is set to <strong>display inline</strong> instead of block. What this does is align the elements to sit beside each other instead of on top of each other.</p>
<p>Now here is the gritty part of the menu, and where you can really effect the colors, size and many other aspects.</p>
<pre>
#menu a{
border:1px solid #333;
border-right: none;
color: black;
display:block;
float:left;
margin-left:-1px;
padding:5px 0;
text-align:center;
text-decoration: none;
width:20%;
}
#menu a.last{
border-right:1px solid #333;
margin-right:-1px;
}
#menu a:hover{
background-color:#181818;
color:#EAEAEA;
}
#menu a.active{
background-color:#181818;
color:#EAEAEA;
}�</pre>
<p>Okay, hopefully you are not overwhelmed. I will try and explain the important parts of what this css does. First we assign a <strong>border</strong> to each link as well as set the <strong>right border</strong> to be 0px by using the word <strong>none</strong>. This makes the border be the same width across the entire menu. And because we got rid of the right border, the last anchor tag needs to have it put back on. So that&#8217;s where <strong>a.last</strong> comes to play. We apply a <strong>1px border</strong> back onto that element.</p>
<p>Normally anchor tags are inline elements, but we want them make them have cool hover states and have the entire height of the link clickable. So, we need to set <strong>display to block</strong>, and have them <strong>float left</strong>. What this does is allow you to set a height and makes the extra space on the element clickable, not just the text. Which is really user friendly, and allows for easier navigation.</p>
<p>When working with css and making things line up correctly you need to be aware of your elements width. Because we added a border to each link we need to offset the width of the element so that it is what it was before the border. Since each element has 1px extra, because of the border, we can set the <strong>margin-left</strong> to -1px. And on the <strong>a.last</strong> element we can add margin-right -1px (since it needs 2px taken off).</p>
<p>The biggest reason for this is so when we set the width of the links it is correct. Because we have 5 links we can set the <strong>width to %20</strong>. If we hadn&#8217;t taken off 1px with <strong>margin</strong>, the links would not display correctly.</p>
<p>Now we just add some simple decoration with <strong>padding</strong>. And we are using <strong>shorthand</strong> css here. The first number effects the top and bottom, and the second number effects left and right. Then we add some colors and set the :hover and :active <em>pseudo elements</em>. So, when you rollover the links, they behave like you expect.</p>
<p>It&#8217;s that simple. Once you have created a few sites using css. You will begin to understand how easy it is to effect entire websites.<br />
Hopefully this tutorial has shed some light on how to create a css layout that you would normally have done with tables. The final example has some extra css thrown in to help show how to create a more complete look.</p>
<p><a href="/post-content/tutorial/basic_css.htm" class="big-button" title="View live example">View Completed Example</a></p>
<p>If you have any suggestions or questions please feel free to share your thoughts.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.israeljernigan.com/learning-to-create-css-layout-part-2-of-2/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS Menu Contest</title>
		<link>http://www.israeljernigan.com/css-menu-contest</link>
		<comments>http://www.israeljernigan.com/css-menu-contest#comments</comments>
		<pubDate>Wed, 19 Sep 2007 20:46:14 +0000</pubDate>
		<dc:creator>Israel Jernigan</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[contest]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[menu]]></category>

		<guid isPermaLink="false">http://www.israeljernigan.com/css-menu-contest</guid>
		<description><![CDATA[So yesterday, I found a link to cssmenumaker for a css menu contest. I couldn&#8217;t help myself. I could win an iphone! Who doesn&#8217;t want to win an iphone?
So I whipped a few examples up. They aren&#8217;t like spectacular or anything, but I though that you might like to see them. I might make a [...]]]></description>
			<content:encoded><![CDATA[<p>So yesterday, I found a link to <a href="http://cssmenumaker.com/" title="CSS menu maker" target="_blank">cssmenumaker</a> for a <a href="http://cssmenumaker.com/contest.php" title="CSS menu maker contest" target="_blank">css menu contest</a>. I couldn&#8217;t help myself. I could win an iphone! Who doesn&#8217;t want to win an iphone?</p>
<p>So I whipped a few examples up. They aren&#8217;t like spectacular or anything, but I though that you might like to see them. I might make a few more entries later this month. Enjoy!</p>
<ul class="notype">
<li>
<h3>White</h3>
</li>
<li><a href="http://israeljernigan.com/dev/menu-ideas/white/" title="white - css menu demo"><img src="http://israeljernigan.com/dev/menu-ideas/white/demo.png" alt="white - css menu idea" /></a></li>
<li><a href="http://israeljernigan.com/dev/menu-ideas/white/" title="white - demo the menu" class="big-button">Demo menu</a></li>
</ul>
<hr />
<ul class="notype">
<li>
<h3>Blue</h3>
</li>
<li><a href="http://israeljernigan.com/dev/menu-ideas/blue/" title="blue - css menu demo"><img src="http://israeljernigan.com/dev/menu-ideas/blue/demo.png" alt="blue - css menu idea" /></a></li>
<li><a href="http://israeljernigan.com/dev/menu-ideas/blue/" title="blue - demo the menu" class="big-button">Demo menu</a></li>
</ul>
<p><span id="more-9"></span></p>
<hr />
<ul class="notype">
<li>
<h3>Green</h3>
</li>
<li><a href="http://israeljernigan.com/dev/menu-ideas/green/" title="green - css menu demo"><img src="http://israeljernigan.com/dev/menu-ideas/green/demo.png" alt="green - css menu idea" /></a></li>
<li><a href="http://israeljernigan.com/dev/menu-ideas/green/" title="green - demo the menu" class="big-button">Demo menu</a></li>
</ul>
<hr />
<ul class="notype">
<li>
<h3>Daisy</h3>
</li>
<li><a href="http://israeljernigan.com/dev/menu-ideas/daisy/" title="daisy - css menu demo"><img src="http://israeljernigan.com/dev/menu-ideas/daisy/demo.png" alt="daisy - css menu idea" /></a></li>
<li><a href="http://israeljernigan.com/dev/menu-ideas/daisy/" title="daisy - demo the menu" class="big-button">Demo menu</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.israeljernigan.com/css-menu-contest/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS Off Contest &#8211; Wikinetic</title>
		<link>http://www.israeljernigan.com/css-off-contest-wikinetic</link>
		<comments>http://www.israeljernigan.com/css-off-contest-wikinetic#comments</comments>
		<pubDate>Sun, 16 Sep 2007 15:28:03 +0000</pubDate>
		<dc:creator>Israel Jernigan</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS Off]]></category>
		<category><![CDATA[contest]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[cssoff.com]]></category>

		<guid isPermaLink="false">http://www.israeljernigan.com/css-off-contest-wikinetic</guid>
		<description><![CDATA[So, earlier this year I was looking for CSS contests and the like, and I finally found one last June. It&#8217;s called CSS Off.
Convert a .psd into HTML making use of web standards, in 24 hours or less.
 excerpt from CSS Off
So I entered their first contest and thought I did extremely well. Here was [...]]]></description>
			<content:encoded><![CDATA[<p>So, earlier this year I was looking for CSS contests and the like, and I finally found one last June. It&#8217;s called <a href="http://www.cssoff.com" title="CSS Off contest website" target="_blank">CSS Off</a>.</p>
<blockquote><p>Convert a .psd into HTML making use of web standards, in 24 hours or less.<br />
<em style="font-size: 10px"> excerpt from CSS Off</em></p></blockquote>
<p>So I entered their first contest and thought I did extremely well. <a href="http://israeljernigan.com/cssoff/jabroni/" title="CSS Off Contest - Jabroni | wrestling like the pros" target="_blank">Here was my entry</a>. I didn&#8217;t win, but I thought that their feedback was very helpful and valid. All in all it was a great experience.</p>
<p>So I wanted to enter the next one, but I wasn&#8217;t until this month. I woke up yesterday and realized that the contest had started. So I began. I didn&#8217;t feel at all like I came near to completion, and I think that <a href="http://www.israeljernigan.com/cssoff/" title="CSS Off Contest - Wikinetic | Reviews for you and me" target="_blank">my entry</a> was late (so it won&#8217;t count&#8230;argh!).</p>
<p><a href="http://israeljernigan.com/cssoff/dev/wikinetic.jpg" title="Here is a bigger version of the comp" class="left" style="border: 1px solid #d1d1d1; margin: 0pt 1em 1em 0pt; padding: 1px"><img src="http://israeljernigan.com/cssoff/dev/wikinetic.png" alt="Wikinetic Picture" style="border: 0px none " /></a>This is what is what they gave us to work with, and what it was supposed to be based on. We had some liberty to be creative with it.<span id="more-8"></span></p>
<p class="clear">But here are some things I&#8217;ve learned from this experience, and thought I would share.</p>
<ol>
<li><strong>Allow more time for looking over everything before you submit your files. I didn&#8217;t give myself room to breath. So in the end I forgot&#8230;</strong><br />
That I needed to zip the files, to code correct ratings(actual stars, not a fake image), and verify my XHTML and CSS. Luckily my XHTML was fine, but I made a stupid mistake with my CSS. I used &#8216;font&#8217; instead of &#8216;font-family&#8217;&#8230;ugh, a stupid mistake.</li>
<li><strong>Don&#8217;t stress so much over the details</strong><br />
I tend to be a perfectionist when it comes to .psd comps and css. I want everything to look exactly the same. But I am starting to realize that I am killing myself every time I try and do that. Hopefully I can learn to find some balance.</li>
<li><strong>Lastly, know your limits.</strong><br />
One of the challenges of this contest was that the footer design was left out of the comp. (argh!) So to say the least I was frustrated. I don&#8217;t always have a design touch, especially for someone else&#8217;s design. So to take it and make a footer for it was very difficult for me. I worked way to long on different variations, and wasted valuable time, that could have been spent verifying code, etc. So, in retrospect I will try and do my best, but I must know my limits and where to stop trying different ways over and over and over. (I think I shot myself in the foot trying to many ways)</li>
</ol>
<p>So, <a href="http://www.israeljernigan.com/cssoff/" title="CSS Off Contest - Wikinetic | Reviews for you and me" target="_blank">here is the site</a> I submitted. If you think it rocks, tell me! If you think it sucks, tell me! I wore myself out doing it, and probably won&#8217;t do the next unless I have more time in  the day. Thanks CSS Off for the opportunity, and I hope my entry is at least looked at&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.israeljernigan.com/css-off-contest-wikinetic/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Facebook / Paypal integration and contest</title>
		<link>http://www.israeljernigan.com/facebook-and-paypal-integration-and-contest</link>
		<comments>http://www.israeljernigan.com/facebook-and-paypal-integration-and-contest#comments</comments>
		<pubDate>Thu, 06 Sep 2007 14:13:37 +0000</pubDate>
		<dc:creator>Israel Jernigan</dc:creator>
				<category><![CDATA[API]]></category>
		<category><![CDATA[contest]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[integration]]></category>
		<category><![CDATA[paypal]]></category>

		<guid isPermaLink="false">http://www.israeljernigan.com/facebook-and-paypal-integration-and-contest</guid>
		<description><![CDATA[Okay, so I didn&#8217;t write part 2 of the css layout tutorial. I have a really good excuse. I found out that Paypal was having a contest for $10,000! And I couldn&#8217;t resist.
The contest was to use Facebook&#8217;s new developer api(which I have never used) and integrate it with Paypal. So that&#8217;s what I&#8217;ve been [...]]]></description>
			<content:encoded><![CDATA[<p>Okay, so I didn&#8217;t write part 2 of the css layout tutorial. I have a really good excuse. I found out that Paypal was having a contest for $10,000! And I couldn&#8217;t resist.</p>
<p>The contest was to use Facebook&#8217;s new developer api(which I have never used) and integrate it with Paypal. So that&#8217;s what I&#8217;ve been doing for the past 3 weeks. I created two applications, and submitted them both to the contest, but doubt I&#8217;ll win. They haven&#8217;t shown the winners, but they would have contacted me by now if I had won. (bummer)</p>
<p><a href="http://www.facebook.com/apps/application.php?id=4249587420" title="Check out JunkYard on Facebook" target="_blank" class="left" style="margin-left: 1em"><img src="http://www.israeljernigan.com/images/facebook-junkyard.png" title="Check out JunkYard on Facebook" alt="Check out JunkYard on Facebook" style="border: 0px none " /></a><a href="http://www.facebook.com/apps/application.php?id=4529923045" title="Check out Birthday Wish List on Facebook" target="_blank" class="right" style="margin-right: 1em"><img src="http://www.israeljernigan.com/images/facebook-birthdaywish.png" title="Check out Birthday Wish List on Facebook" alt="Check out Birthday Wish List on Facebook" style="border: 0px none " /></a></p>
<p class="clear">&nbsp;</p>
<p>Here are the links to the two apps. The first is a marketplace type app, but you can integrate your Paypal account so that you can really <a href="http://www.facebook.com/apps/application.php?id=4249587420" title="Check out JunkYard on Facebook" target="_blank">sell your junk on Facebook</a>. [This took 2 weeks]<br />
<span id="more-7"></span><br />
The other app is a wish list for your birthday. It integrates Paypal by adding a donate button to your profile as a <a href="http://www.facebook.com/apps/application.php?id=4529923045" title="Check out Birthday Wish List on Facebook" target="_blank">wish for your birthday</a>. [This took 2 days]</p>
<p>I will have the next part of the css layout tutorial coming very soon, now that this is over with. Check out my apps, and tell me what you think.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.israeljernigan.com/facebook-and-paypal-integration-and-contest/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Learning to create css layout: Part 1 of 2</title>
		<link>http://www.israeljernigan.com/learning-to-create-css-layout-part-1-of-2</link>
		<comments>http://www.israeljernigan.com/learning-to-create-css-layout-part-1-of-2#comments</comments>
		<pubDate>Fri, 03 Aug 2007 19:29:22 +0000</pubDate>
		<dc:creator>Israel Jernigan</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[layout]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[xhtml]]></category>

		<guid isPermaLink="false">http://israeljernigan.com/learning-to-create-css-layout-part-1-of-2</guid>
		<description><![CDATA[For those of you out there who are still wondering how to transition from table design to css design, I am going to try and rescue you.
I will take you through a new thought process, and explain how you would do something in tables and then convert it to css.
Hopefully you will find this helpful. [...]]]></description>
			<content:encoded><![CDATA[<p>For those of you out there who are still wondering how to transition from table design to css design, I am going to try and rescue you.</p>
<p>I will take you through a new thought process, and explain how you would do something in tables and then convert it to css.</p>
<p>Hopefully you will find this helpful. Here are the links providing the two examples in their entirety: <a href="/post-content/tutorial/basic.htm" title="Table Layout example">table layout</a>, <a href="/post-content/tutorial/basic_css.htm" title="Css Layout example">css layout</a>.</p>
<h2>Let&#8217;s Begin</h2>
<p>Let&#8217;s say you need to create a simple 2 column layout. Nothing fancy, but you want to apply css as much as possible because your new boss says it&#8217;s the only way to go.</p>
<p>Let&#8217;s start with a basic diagram of what you need.<br />
<span id="more-6"></span>
<ul>
<li>header</li>
<li>menu</li>
<li>body &#8211; with 2 columns</li>
<li>footer</li>
</ul>
<p><img src="/post-content/tutorial/images/tut_01_basic.jpg" alt="Basic Layout" class="left" /></p>
<p class="clear">&nbsp;</p>
<p>With tables you would probably break it up into 4 rows with tables inside each row representing each section. Like below.</p>
<p><img src="/post-content/tutorial/images/tut_01_table.jpg" alt="Table Layout" class="left" /></p>
<p class="clear">&nbsp;</p>
<p>You would have a row for the header, menu, content, and footer. There would be another table inside the menu with however many rows for the buttons. Inside the content row there would be a table with 2 rows, and a table in each of those rows. (these are the deepest tables, 3 tables deep) In the last row, another table for the footer so it aligned with the right column.</p>
<p>Now this is fine and dandy, but your boss &#8211; bless him &#8211; must have it done in css. So I will explain what we&#8217;ll need for the layout. You would probably break it up into 4 divs (instead of 4 rows within a table) Like below.</p>
<p><img src="/post-content/tutorial/images/tut_01_basic.jpg" alt="Basic Layout" class="left" /></p>
<p class="clear">&nbsp;</p>
<p>(This image is vaguely familiar) We can use the basic layout we thought of to guide our css layout. You would have a div for each part: the header, menu, content, and footer. Like so.</p>
<pre>&lt;div id=”header”&gt;
&lt;/div&gt;
&lt;div id=”menu”&gt;
&lt;/div&gt;
&lt;div id=”content”&gt;
&lt;/div&gt;
&lt;div id=”footer”&gt;
&lt;/div&gt;</pre>
<p><a href="/post-content/tutorial/basic_css_01.htm" title="First Example file">Example File.</a> Here is the file you can start from if you want to follow along.</p>
<p>Now we will add divs inside those to help create the menu items and columns. Be sure when you use id&#8217;s {id=&#8221;header&#8221;} to not use the same name more than once on a page. This will help create more valid code. When you use class&#8217;s {class=&#8221;left&#8221;} you can use them as many times as you want.</p>
<p>Inside the content div add a div for each column, like so.</p>
<pre>&lt;div id=”content”&gt;
&lt;div id=”col_1”&gt;
&lt;/div&gt;
&lt;div id=”col_2”&gt;
&lt;/div&gt;
&lt;/div&gt;</pre>
<p>Now that&#8217;s all the div&#8217;s we need. Hurrah!! We will add the menus and content soon. Now for some css. I know it doesn&#8217;t look like much now, but that&#8217;s the beauty of css. You can change the css and the html code doesn&#8217;t need to change. A good point to remember is that css is awesome at making it where all you need to do is change one file and all of your pages are changed.</p>
<p>Put this code right before the end of the head tag. We are creating css that will be used for computers so we set the style media attribute to screen. You would use the media attribute to apply css to print, handhelds, etc.</p>
<p>I will explain the reason for each bit of code below.</p>
<pre>&lt;style type="text/css" media="screen"&gt;/*set default values*/
body{
margin:0 auto;
width:756px;
}</pre>
<p>To make the content align in the middle you can set the margin <em>property</em> in the body <em>selector</em>, like so {margin:0 auto} the first <em>value</em> represents the top and bottom margin and the second value the left and right. And we assign the width to be 756px.</p>
<pre>
a:link{
color:blue;
}
a:visited{
color:purple;
}
a:hover{
background-color:#ABABAB;
}
a:active{
color:red;
}</pre>
<p>We also want to set some basic default styles that will apply to every link. CSS allows you to alter link states. These next few values are called <em>psuedo classes</em>, and I am using them on the anchor selectors. {a:link} is the unvisited state. {a:visited} is the visited state. {a:hover} is the rollover/hover state. {a:active} this is the on-click/activated state. Some of these rules can be applied to other html elements, but they are used primarily for the anchor tag. <a href="http://meyerweb.com/eric/css/link-specificity.html" title="Link Specificity: meyerweb.com">Here is a reference</a> that explains this is much more detail.</p>
<pre>
.left{
float:left;
}
.right{
float:right;
}</pre>
<p>I have created 2 <em>class selectors</em> called left &amp; right. { I will explain what they do in a little bit.} In css, you use a dot in front of the class name, that&#8217;s called a <em>class selector</em>. With id&#8217;s you put a pound-sign in front of the name, that&#8217;s called an <em>id selector</em>.</p>
<pre>/*set layout values*/
#container{
}
#header{
height:150px;
line-height:150px;
position:relative;text-align:center;
}
#menu{
position:relative;
background-color:#EAEAEA;
}
#content{
position:relative;
}
#col_1{
width:25%;
}
#col_2{
width:75%;
}
#footer{
color:#ccc;
font-size:10px;
padding-left:25%;
text-align:center;
}
&lt;/style&gt;</pre>
<p>Then I&#8217;ve applied id&#8217;s to all of the divs I made to create the layout. I won&#8217;t explain them in gross detail, but I will explain why I did certain parts. In the {#header} id selector I made the line-height property the same as the height. That is a very simple way of aligning text vertically. In {#col_1 &amp; #col_2} I gave the divs their widths in percentages just like I did for the tables. But if you look at the page it doesn&#8217;t line up correctly. And that&#8217;s because we need to make them float next to each other. The easiest way to do this is to use the class selector that we just talked about, called {.left}. Apply this style to each column {put this in each column div tag » class=&#8221;left&#8221;}. This will make them line up next to each other. And since their widths don&#8217;t equal more than 100%, they will float perfectly next to each other. And lastly in {#footer} I added a padding-left:25%, since that&#8217;s the width of the 1st column,  to the id selector so that it would align correctly with the second column.</p>
<p>Now this is where we are at. <a href="/post-content/tutorial/basic_css_02.htm" title="First Example file">Example File 2.</a></p>
<p>You can view the finished html page here.</p>
<p><a href="/post-content/tutorial/basic_css.htm" class="big-button" title="View live example">View Example</a></p>
<p><a href="http://www.israeljernigan.com/learning-to-create-css-layout-part-2-of-2" title="Part 2 of learning css">Here is part 2</a>, where I explain how the menus work. Enjoy for now, and feel free to ask any questions.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.israeljernigan.com/learning-to-create-css-layout-part-1-of-2/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
