<?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>K-U-H-N.net - Software Development &#38; Tech Talk &#187; demos</title>
	<atom:link href="http://k-u-h-n.net/wp/index.php/category/css/demos/feed/" rel="self" type="application/rss+xml" />
	<link>http://k-u-h-n.net/wp</link>
	<description></description>
	<lastBuildDate>Thu, 16 Jul 2009 08:50:47 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Text At The Bottom Of A Div &#8211; Without Positioning</title>
		<link>http://k-u-h-n.net/wp/index.php/2009/07/14/text-at-the-bottom-of-a-div-without-positioning/</link>
		<comments>http://k-u-h-n.net/wp/index.php/2009/07/14/text-at-the-bottom-of-a-div-without-positioning/#comments</comments>
		<pubDate>Tue, 14 Jul 2009 11:51:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[demos]]></category>

		<guid isPermaLink="false">http://k-u-h-n.net/wp/?p=50</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<div id="articleID-023">

	<p>
		Recently, I had to find a way to place a line of text at the bottom
		of a block element without using any positioning whatsoever.
		(<em>Overflow: hidden</em> on a container made everything with
		<em>position: absolute</em> or <em>relative</em> sticky when scrolling).
	</p>

	<p>
		Well here it is... works cross-browser including IE5.5. Untested
		in IE5 and IE/Mac, so I'd appreciate feedback on that.
	</p>

	<p>
		The general concept relies on pushing a <em>middle</em> wrapper box
		(invisible) down under an <em>outer</em> container box (orange).
		An <em>inner</em> box (yellow) containing the text is then brought
		up using a negative margin of (roughly) the font-size.
		Font-size can be specified using relative values (i.e. em),
		so this should be fully scalable. It is also possible to add
		space at the bottom of the text, which might actually be a
		good idea as IE7 tends to cut off a tiny slice of below-baseline characters.
		For details please view the source.
	</p>

	<p>
		Unlike my example below, you may want to choose a width large enough
		to hold the text, if the user increases the font-size.
	</p>

	<p>
		It's not exactly pixel perfect (as line-heights vary
		across browsers) but it might work when nothing else does...
	</p>

	<p>
		Feedback as always appreciated.
	</p>


	<div class="outer">
		<div class="middle">
			<div class="inner">
				Lore'm ipsujum
			</div>
		</div>
	</div>


</div>]]></content:encoded>
			<wfw:commentRss>http://k-u-h-n.net/wp/index.php/2009/07/14/text-at-the-bottom-of-a-div-without-positioning/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>KUHN Pure CSS Lightbox &#8211; Without Javascript</title>
		<link>http://k-u-h-n.net/wp/index.php/2009/07/08/kuhn-pure-css-lightbox/</link>
		<comments>http://k-u-h-n.net/wp/index.php/2009/07/08/kuhn-pure-css-lightbox/#comments</comments>
		<pubDate>Wed, 08 Jul 2009 10:18:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[demos]]></category>

		<guid isPermaLink="false">http://www.cb-automobile.net/wordpress/?p=26</guid>
		<description><![CDATA[A CSS-only Lightbox:
]]></description>
			<content:encoded><![CDATA[
<div id="articleID-025">
	 <a href="http://k-u-h-n.net/wp/index.php/2009/07/08/kuhn-pure-css-lightbox/" class="more-link">(more&#8230;)</a></div>]]></content:encoded>
			<wfw:commentRss>http://k-u-h-n.net/wp/index.php/2009/07/08/kuhn-pure-css-lightbox/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
