<?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>ASKllora.com &#187; Coding</title>
	<atom:link href="http://www.askllora.com/category/coding/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.askllora.com</link>
	<description>Making Money Online and Helping Others Too!</description>
	<lastBuildDate>Thu, 22 Oct 2009 07:14:50 +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 Sticky Footers</title>
		<link>http://www.askllora.com/css-sticky-footers/</link>
		<comments>http://www.askllora.com/css-sticky-footers/#comments</comments>
		<pubDate>Tue, 19 May 2009 17:33:18 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[css footer]]></category>
		<category><![CDATA[sticky footer]]></category>

		<guid isPermaLink="false">http://www.askllora.com/?p=219</guid>
		<description><![CDATA[Recently I had the need to have a footer which would stick to the bottom of the screen when there wasn&#8217;t enough content on screen to keep the footerÂ atÂ the bottom of the pageÂ (aka a sticky footer)Â and rather than break my head over how to achieve this without the use of JS, I decided to do [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I had the need to have a footer which would stick to the bottom of the screen when there wasn&#8217;t enough content on screen to keep the footerÂ atÂ the bottom of the pageÂ (<em>aka a sticky footer)</em>Â and rather than break my head over how to achieve this without the use of JS, I decided to do a quick <a href="http://www.google.com/search?q=sticky+footers&amp;rls=com.microsoft:en-us&amp;ie=UTF-8&amp;oe=UTF-8&amp;startIndex=&amp;startPage=1" target="_blank">Google Search</a>. Here are some interesting results I&#8217;ve come across:</p>
<ul>
<li><a href="http://ryanfait.com/sticky-footer/" target="_blank">Ryan Fiat&#8217;s Sticky Footer</a>: Good sticky footer, except one problem. Unless a DIV does not have a height defined, the sticky footer fails to recognize how big the content DIV is and therefore we end up with overlapping DIV&#8217;s.</li>
<li><a href="http://www.cssstickyfooter.com/" target="_blank">CSS Sticky Footer</a>: This sticky footer I&#8217;ve ran across before, and now checking it out again, this is a good sticky footer to use. However, the only issue it has is the fact it uses several hacks in orderÂ to be compatible with the major browsers it supports.</li>
<li><a href="http://www.google.com/search?q=sticky+footers&amp;rls=com.microsoft:en-us&amp;ie=UTF-8&amp;oe=UTF-8&amp;startIndex=&amp;startPage=1">&#8230;and Several More</a>: While there are other attempts at figuring out the sticky footer issue, there really is no point to list them since none of them are perfect in terms of cross-browser compatibility.</li>
</ul>
<p>That being said, I find the CSS Sticky Footer is currently the best way to address the sticky footer issue. While for some, this code&#8217;s use of CSS hacks isn&#8217;t quite &#8216;<em>delicate</em>&#8216;, it still does the trick and therefore I recommend anyone who comes across this issue to use the 2009 CSS Sticky Footer. It&#8217;ll save you both time and frustration in your coding process.</p>
<img src="http://www.askllora.com/?ak_action=api_record_view&id=219&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.askllora.com/css-sticky-footers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>It&#8217;s a Love/Hate Relationship with IE</title>
		<link>http://www.askllora.com/its-a-lovehate-relationship-with-ie/</link>
		<comments>http://www.askllora.com/its-a-lovehate-relationship-with-ie/#comments</comments>
		<pubDate>Thu, 19 Mar 2009 17:16:25 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[ie8]]></category>
		<category><![CDATA[internet explorer 8]]></category>

		<guid isPermaLink="false">http://www.askllora.com/?p=216</guid>
		<description><![CDATA[Don&#8217;t you just love it when you thought you just finished doing a perfect coding job and then go to test it out in Internet Explorer, you find once again that %&#38;$# browser simply does not display what you want it to.
Today is the official day Microsoft released their so-called &#8220;final&#8221; version of Internet Explorer [...]]]></description>
			<content:encoded><![CDATA[<p>Don&#8217;t you just love it when you thought you just finished doing a perfect coding job and then go to test it out in Internet Explorer, you find once again that %&amp;$# browser simply does not display what you want it to.</p>
<p>Today is the official day Microsoft released their so-called &#8220;final&#8221; version of Internet Explorer 8. While I haven&#8217;t downloaded it yet, I have used the beta versions and I have to say, even though I have strong opinions about IE, there&#8217;s a few features I like about it. No, I don&#8217;t mean the InPrivate browsing <img src='http://www.askllora.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> , what I was referring to is the browsers better support of W3C Standards and parsing bugs that have been an annoyance to coders for too long.</p>
<p>I won&#8217;t list all the features of Internet Explorer 8, however, as we all know, Wikipedia is our #1 trusted source, so head over to the link below to read all the features of IE8.</p>
<p style="padding-left: 30px;"><a href="http://en.wikipedia.org/wiki/Internet_Explorer_8" target="_blank">http://en.wikipedia.org/wiki/Internet_Explorer_8</a></p>
<img src="http://www.askllora.com/?ak_action=api_record_view&id=216&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.askllora.com/its-a-lovehate-relationship-with-ie/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using cURL with FTP and Usernames With An @ (AT) Sign</title>
		<link>http://www.askllora.com/using-curl-with-ftp-and-usernames-with-an-at-sign/</link>
		<comments>http://www.askllora.com/using-curl-with-ftp-and-usernames-with-an-at-sign/#comments</comments>
		<pubDate>Sat, 31 Jan 2009 20:15:18 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Coding]]></category>

		<guid isPermaLink="false">http://www.askllora.com/?p=211</guid>
		<description><![CDATA[I recently came across an issue when implementing an FTP file upload function via CURL. Because my FTP username was â€˜alex@mydomain.comâ€™ I had a hard time connecting because the code would think everything after the @ sign was part of the host &#8211; which it obviously wasnâ€™t.
Doing a bit of Google searching I found other [...]]]></description>
			<content:encoded><![CDATA[<p>I recently came across an issue when implementing an <a href="http://www.web-development-blog.com/archives/tutorial-ftp-upload-via-curl/" target="_blank">FTP file upload function via CURL.</a> Because my FTP username was â€˜alex@mydomain.comâ€™ I had a hard time connecting because the code would think everything after the @ sign was part of the host &#8211; which it obviously wasnâ€™t.</p>
<p>Doing a bit of Google searching I found other newbie coders also had this issue, so here is the solution I created if anyone happens to come here from Google:</p>
<pre lang="php">
$ch = curl_init();
$target3 = "C:/www/upload/".$target2;
$fp = f*open($target3, 'r');
$ftpurl = "ftp.servername.com/";
$ftpusr = urlencode("user@mydomain.com");
$ftppass = "mycrazypassword";
curl_setopt($ch, CURLOPT_URL, 'ftp://'.$ftpusr.':'.$ftppass.'@'.$ftpurl.$target3);
curl_setopt($ch, CURLOPT_UPLOAD, 1);
curl_setopt($ch, CURLOPT_INFILE, $fp);
curl_setopt($ch, CURLOPT_INFILESIZE, filesize($target3));
</pre>
<p>**Note: for the <em>fopen</em> function, I had to list it as <em>f*open</em> because it would not let me post it for some reason.</p>
<img src="http://www.askllora.com/?ak_action=api_record_view&id=211&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.askllora.com/using-curl-with-ftp-and-usernames-with-an-at-sign/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Do Websites Need to Look the Same in Every Browser?</title>
		<link>http://www.askllora.com/do-websites-need-to-look-the-same-in-every-browser/</link>
		<comments>http://www.askllora.com/do-websites-need-to-look-the-same-in-every-browser/#comments</comments>
		<pubDate>Thu, 02 Oct 2008 21:44:56 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[websites]]></category>

		<guid isPermaLink="false">http://www.askllora.com/?p=169</guid>
		<description><![CDATA[Every coder who deals with cross-browser compatibility issues probably wants to know the answer to this question, so here it is: Do Websites Need to Look the Same in Every Browser?
Enjoy!  
]]></description>
			<content:encoded><![CDATA[<p>Every coder who deals with cross-browser compatibility issues probably wants to know the answer to this question, so here it is: <a href="http://dowebsitesneedtolookexactlythesameineverybrowser.com/" target="_blank">Do Websites Need to Look the Same in Every Browser?</a></p>
<p>Enjoy! <img src='http://www.askllora.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<img src="http://www.askllora.com/?ak_action=api_record_view&id=169&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.askllora.com/do-websites-need-to-look-the-same-in-every-browser/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Big Mistake by Wordpress 2.6 on Image Handling</title>
		<link>http://www.askllora.com/big-mistake-by-wordpress-26-on-image-handling/</link>
		<comments>http://www.askllora.com/big-mistake-by-wordpress-26-on-image-handling/#comments</comments>
		<pubDate>Mon, 04 Aug 2008 19:02:38 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Coding]]></category>

		<guid isPermaLink="false">http://www.askllora.com/?p=38</guid>
		<description><![CDATA[I have not upgraded my blog to Wordpress 2.6 yet, but after installing WP 2.6 on some of my clients&#8217; blogs, I had a complaint from one saying that there was no &#8220;Insert/Edit Image&#8221; button as there is in Wordpress 2.5x. I checked it out and sure enough, that lovely image button was gone. I [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-medium wp-image-39" style="float: right;" title="2180783462_e9fc72ea1c" src="http://www.askllora.com/wp-content/uploads/2008/08/2180783462_e9fc72ea1c-300x225.jpg" alt="" width="300" height="225" />I have not upgraded my blog to Wordpress 2.6 yet, but after installing WP 2.6 on some of my clients&#8217; blogs, I had a complaint from one saying that there was no &#8220;Insert/Edit Image&#8221; button as there is in Wordpress 2.5x. I checked it out and sure enough, that lovely image button was gone. I researched this a bit and found out that whether it is by accident or some specific reason, Wordpress has indeed removed this button.</p>
<p>This creates a problem for those who use custom themes and have upgraded to the 2.6 version. The images don&#8217;t align properly!! In order to fix this, the easiest way is to go into the default themes&#8217; stylesheet and find the image and image caption section and copy it into your own stylesheet.</p>
<p>As I have already done this for one blog, the code you need to add to your custom stylesheet is</p>
<blockquote>
<pre>/* Begin Images */
p img {
padding: 0;
max-width: 100%;
}</pre>
<pre></pre>
<pre>img.centered {
display: block;
margin-left: auto;
margin-right: auto;
}</pre>
<pre>img.alignright {
padding: 4px;
margin: 0 0 2px 7px;
display: inline;
}</pre>
<pre>img.alignleft {
padding: 4px;
margin: 0 7px 2px 0;</pre>
<pre>display: inline;
}</pre>
<pre>.alignright {
float: right;
}</pre>
<pre>.alignleft {
float: left
}
/* End Images */</pre>
<pre>/* Captions */
.aligncenter,
div.aligncenter {
display: block;
margin-left: auto;
margin-right: auto;
}</pre>
<pre>.wp-caption {
border: 1px solid #ddd;
text-align: center;
background-color: #f3f3f3;
padding-top: 4px;
margin: 10px;
-moz-border-radius: 3px;
-khtml-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
}</pre>
<pre>.wp-caption img {
margin: 0;
padding: 0;
border: 0 none;
}</pre>
<pre>.wp-caption p.wp-caption-text {
font-size: 11px;
line-height: 17px;
padding: 0 4px 5px;
margin: 0;
}
/* End captions */</pre>
</blockquote>
<p>That&#8217;s it! The &#8220;new&#8221; and only way to add images is through the &#8220;Add Media&#8221; bar which is somewhat slow for some and annoying for many, but at least now it will do what you tell it to do. I will be keeping touch on how to add that &#8220;Add/Edit Image&#8221; button because if I&#8217;m going to upgrade to 2.6, it will definitely be a button I will need.</p>
<img src="http://www.askllora.com/?ak_action=api_record_view&id=38&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.askllora.com/big-mistake-by-wordpress-26-on-image-handling/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
