<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Ah Ha Moments &#8211; Handcrafted CSS</title>
	<atom:link href="http://lostechies.com/ryanrauh/2011/10/17/ah-ha-moments-handcrafted-css/feed/" rel="self" type="application/rss+xml" />
	<link>http://lostechies.com/ryanrauh/2011/10/17/ah-ha-moments-handcrafted-css/</link>
	<description>Just another LosTechies site</description>
	<lastBuildDate>Tue, 19 Mar 2013 10:04:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.2</generator>
	<item>
		<title>By: Anonymous</title>
		<link>http://lostechies.com/ryanrauh/2011/10/17/ah-ha-moments-handcrafted-css/#comment-28</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Thu, 27 Oct 2011 20:34:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/ryanrauh/?p=28#comment-28</guid>
		<description>This was an ah-hah moment for me, too, when I learned about this. That was maybe 2-3 years ago and I still use it all the time.</description>
		<content:encoded><![CDATA[<p>This was an ah-hah moment for me, too, when I learned about this. That was maybe 2-3 years ago and I still use it all the time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ashic Mahtab</title>
		<link>http://lostechies.com/ryanrauh/2011/10/17/ah-ha-moments-handcrafted-css/#comment-24</link>
		<dc:creator>Ashic Mahtab</dc:creator>
		<pubDate>Wed, 19 Oct 2011 13:30:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/ryanrauh/?p=28#comment-24</guid>
		<description>Awesome awesome tutorial that&#039;s all a bunch of aha moments:
http://www.barelyfitz.com/screencast/html-training/css/positioning/</description>
		<content:encoded><![CDATA[<p>Awesome awesome tutorial that&#8217;s all a bunch of aha moments:<br />
<a href="http://www.barelyfitz.com/screencast/html-training/css/positioning/" rel="nofollow">http://www.barelyfitz.com/screencast/html-training/css/positioning/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://lostechies.com/ryanrauh/2011/10/17/ah-ha-moments-handcrafted-css/#comment-23</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Wed, 19 Oct 2011 13:01:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/ryanrauh/?p=28#comment-23</guid>
		<description>Haha spoiler alert, that&#039;s going to be another blog post actually.</description>
		<content:encoded><![CDATA[<p>Haha spoiler alert, that&#8217;s going to be another blog post actually.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joey Vano</title>
		<link>http://lostechies.com/ryanrauh/2011/10/17/ah-ha-moments-handcrafted-css/#comment-22</link>
		<dc:creator>Joey Vano</dc:creator>
		<pubDate>Wed, 19 Oct 2011 03:22:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/ryanrauh/?p=28#comment-22</guid>
		<description>Positioning can get complex once you start nesting ... I try to go the float right for what I want to do first. If I can&#039;t do it cleanly enough, then I go the positioning route.

Another reason is only modern browsers can handle nested positioning well enough (looking at you IE7).</description>
		<content:encoded><![CDATA[<p>Positioning can get complex once you start nesting &#8230; I try to go the float right for what I want to do first. If I can&#8217;t do it cleanly enough, then I go the positioning route.</p>
<p>Another reason is only modern browsers can handle nested positioning well enough (looking at you IE7).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan Rauh</title>
		<link>http://lostechies.com/ryanrauh/2011/10/17/ah-ha-moments-handcrafted-css/#comment-21</link>
		<dc:creator>Ryan Rauh</dc:creator>
		<pubDate>Tue, 18 Oct 2011 13:50:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/ryanrauh/?p=28#comment-21</guid>
		<description>True... You will need to use absolute positioning if you want the image to be clickable, which is the desired behavior for a date picker. 

</description>
		<content:encoded><![CDATA[<p>True&#8230; You will need to use absolute positioning if you want the image to be clickable, which is the desired behavior for a date picker. </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan Rauh</title>
		<link>http://lostechies.com/ryanrauh/2011/10/17/ah-ha-moments-handcrafted-css/#comment-20</link>
		<dc:creator>Ryan Rauh</dc:creator>
		<pubDate>Tue, 18 Oct 2011 13:49:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/ryanrauh/?p=28#comment-20</guid>
		<description>interesting... I will have to experiment more with this. I am far from a CSS cowboy but I&#039;m learning. Thanks for sharing! </description>
		<content:encoded><![CDATA[<p>interesting&#8230; I will have to experiment more with this. I am far from a CSS cowboy but I&#8217;m learning. Thanks for sharing! </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Craig A Rodway</title>
		<link>http://lostechies.com/ryanrauh/2011/10/17/ah-ha-moments-handcrafted-css/#comment-19</link>
		<dc:creator>Craig A Rodway</dc:creator>
		<pubDate>Tue, 18 Oct 2011 12:24:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/ryanrauh/?p=28#comment-19</guid>
		<description>If all you want is an image in a text box, you could just set it as the CSS background, like in this version of the fiddle: http://jsfiddle.net/GgnCk/21/
</description>
		<content:encoded><![CDATA[<p>If all you want is an image in a text box, you could just set it as the CSS background, like in this version of the fiddle: http://jsfiddle.net/GgnCk/21/</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: david alpert</title>
		<link>http://lostechies.com/ryanrauh/2011/10/17/ah-ha-moments-handcrafted-css/#comment-18</link>
		<dc:creator>david alpert</dc:creator>
		<pubDate>Tue, 18 Oct 2011 05:27:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/ryanrauh/?p=28#comment-18</guid>
		<description>IIRC absolute positioning is not relative to the closest parent with {position:relative}; rather it is absolutely positioned relative to the closest *positioned* parent.  As such, {position:absolute} should also work to create a &quot;positioning context&quot; for any of it&#039;s children, though you&#039;d have to try it to double check my memory.

The reason that {position:relative} is used in examples is that {position:relative} without a top, left, right, or bottom value is treated essentially as {position:relative;top:0;left:0;} which means &quot;take this element&#039;s box, position it as per the normal flow of the document, then move it relatively 0 pixels down and 0 pixels to the right.  a.k.a. don&#039;t move it at all, which is why you can use {position:relative} to create a &quot;positioning context&quot; for an element&#039;s children without impacting the positioning of the parent element.</description>
		<content:encoded><![CDATA[<p>IIRC absolute positioning is not relative to the closest parent with {position:relative}; rather it is absolutely positioned relative to the closest *positioned* parent.  As such, {position:absolute} should also work to create a &#8220;positioning context&#8221; for any of it&#8217;s children, though you&#8217;d have to try it to double check my memory.</p>
<p>The reason that {position:relative} is used in examples is that {position:relative} without a top, left, right, or bottom value is treated essentially as {position:relative;top:0;left:0;} which means &#8220;take this element&#8217;s box, position it as per the normal flow of the document, then move it relatively 0 pixels down and 0 pixels to the right.  a.k.a. don&#8217;t move it at all, which is why you can use {position:relative} to create a &#8220;positioning context&#8221; for an element&#8217;s children without impacting the positioning of the parent element.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://lostechies.com/ryanrauh/2011/10/17/ah-ha-moments-handcrafted-css/#comment-17</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Mon, 17 Oct 2011 17:53:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/ryanrauh/?p=28#comment-17</guid>
		<description>Thanks! I will fix my examples. I like the padding right fix... Didn&#039;t notice that the text would go behind the icon. </description>
		<content:encoded><![CDATA[<p>Thanks! I will fix my examples. I like the padding right fix&#8230; Didn&#8217;t notice that the text would go behind the icon. </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jesse Williamson</title>
		<link>http://lostechies.com/ryanrauh/2011/10/17/ah-ha-moments-handcrafted-css/#comment-16</link>
		<dc:creator>Jesse Williamson</dc:creator>
		<pubDate>Mon, 17 Oct 2011 16:53:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/ryanrauh/?p=28#comment-16</guid>
		<description>If I may offer suggestion. Rather than specify width on .date-picker, set it to display: inline-block and specify the width on the input. That way .date-picker is actually the same width as the input. With the current CSS, the input actually exceeds the width of its container because of the margin/padding.

Also, I know it&#039;s a date-picker example, but you can technically enter text that gets &quot;hidden&quot; behind the icon. If you specify additional padding on the input, you can avoid this, but it changes your &quot;right&quot; style for the icon. I threw this all together here (looks good in FireFox and Chrome): http://jsfiddle.net/GgnCk/</description>
		<content:encoded><![CDATA[<p>If I may offer suggestion. Rather than specify width on .date-picker, set it to display: inline-block and specify the width on the input. That way .date-picker is actually the same width as the input. With the current CSS, the input actually exceeds the width of its container because of the margin/padding.</p>
<p>Also, I know it&#8217;s a date-picker example, but you can technically enter text that gets &#8220;hidden&#8221; behind the icon. If you specify additional padding on the input, you can avoid this, but it changes your &#8220;right&#8221; style for the icon. I threw this all together here (looks good in FireFox and Chrome): <a href="http://jsfiddle.net/GgnCk/" rel="nofollow">http://jsfiddle.net/GgnCk/</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
