<?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: Vertical &amp; Horizontal Centering w/ 3 lines of CSS</title>
	<atom:link href="http://www.gobdg.com/blog/2009/05/vertical-horizontal-centering-w-3-lines-of-css/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gobdg.com/blog/2009/05/vertical-horizontal-centering-w-3-lines-of-css/</link>
	<description>Web development, coffee, and abe froman.</description>
	<lastBuildDate>Thu, 08 Jul 2010 22:26:19 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: soulnblack</title>
		<link>http://www.gobdg.com/blog/2009/05/vertical-horizontal-centering-w-3-lines-of-css/comment-page-1/#comment-845</link>
		<dc:creator>soulnblack</dc:creator>
		<pubDate>Sat, 05 Dec 2009 07:19:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.gobdg.com/blog/?p=228#comment-845</guid>
		<description>I think I got the repair for IE. At least it worked on my IE8 version. 

Modify as following:
#ht3 {#position: relative;  #top: -50%;#left: -50%;margin:0 auto;border:1px solid green;width:900px;height:600px}

Check it out.</description>
		<content:encoded><![CDATA[<p>I think I got the repair for IE. At least it worked on my IE8 version. </p>
<p>Modify as following:<br />
#ht3 {#position: relative;  #top: -50%;#left: -50%;margin:0 auto;border:1px solid green;width:900px;height:600px}</p>
<p>Check it out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marcus Randall</title>
		<link>http://www.gobdg.com/blog/2009/05/vertical-horizontal-centering-w-3-lines-of-css/comment-page-1/#comment-840</link>
		<dc:creator>Marcus Randall</dc:creator>
		<pubDate>Tue, 17 Nov 2009 12:43:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.gobdg.com/blog/?p=228#comment-840</guid>
		<description>Thankyou very much, works perfectly.</description>
		<content:encoded><![CDATA[<p>Thankyou very much, works perfectly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lindsay</title>
		<link>http://www.gobdg.com/blog/2009/05/vertical-horizontal-centering-w-3-lines-of-css/comment-page-1/#comment-790</link>
		<dc:creator>Lindsay</dc:creator>
		<pubDate>Tue, 14 Jul 2009 08:11:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.gobdg.com/blog/?p=228#comment-790</guid>
		<description>Just have a question. I am trying to center a background image as a frame (954px wide and 600px high) around my content inside (775px wide and 450px high). I can get it to center the frame correctly and the content inside will center horizontally, but not vertically.

Here is my code. Any suggestions?

.ht1{display:table; #position:relative; overflow:hidden; width:100%; height:100%;}
.ht2{#position:absolute; #top:50%; display:table-cell; vertical-align:middle; text-align:center;}
.ht3{#position:relative; #top:-50%; margin:0 auto 0 auto; background:url(../img/frame.png) no-repeat; width:954px; height:600px;}
.ht4{display:table; #position:relative; overflow:hidden; width:100%; height:100%;}
.ht5{#position:absolute; #top:50%; display:table-cell; vertical-align:middle; text-align:center;}
.ht6{#position:relative; #top:-50%; margin:0 auto 0 auto; background-color:#222; width:775px; height:450px;}</description>
		<content:encoded><![CDATA[<p>Just have a question. I am trying to center a background image as a frame (954px wide and 600px high) around my content inside (775px wide and 450px high). I can get it to center the frame correctly and the content inside will center horizontally, but not vertically.</p>
<p>Here is my code. Any suggestions?</p>
<p>.ht1{display:table; #position:relative; overflow:hidden; width:100%; height:100%;}<br />
.ht2{#position:absolute; #top:50%; display:table-cell; vertical-align:middle; text-align:center;}<br />
.ht3{#position:relative; #top:-50%; margin:0 auto 0 auto; background:url(../img/frame.png) no-repeat; width:954px; height:600px;}<br />
.ht4{display:table; #position:relative; overflow:hidden; width:100%; height:100%;}<br />
.ht5{#position:absolute; #top:50%; display:table-cell; vertical-align:middle; text-align:center;}<br />
.ht6{#position:relative; #top:-50%; margin:0 auto 0 auto; background-color:#222; width:775px; height:450px;}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RVata</title>
		<link>http://www.gobdg.com/blog/2009/05/vertical-horizontal-centering-w-3-lines-of-css/comment-page-1/#comment-764</link>
		<dc:creator>RVata</dc:creator>
		<pubDate>Thu, 25 Jun 2009 05:05:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.gobdg.com/blog/?p=228#comment-764</guid>
		<description>@Tison, wikkid. Thanks a bunch!</description>
		<content:encoded><![CDATA[<p>@Tison, wikkid. Thanks a bunch!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tison</title>
		<link>http://www.gobdg.com/blog/2009/05/vertical-horizontal-centering-w-3-lines-of-css/comment-page-1/#comment-758</link>
		<dc:creator>Tison</dc:creator>
		<pubDate>Tue, 16 Jun 2009 15:54:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.gobdg.com/blog/?p=228#comment-758</guid>
		<description>@RVata @Xan, 

To clear up some confusion - We had left the widths &amp; heights out of the divs in order to allow you to customize your own layout.  However, I&#039;ve added them back in (see the green notes above).  This way everything is included, and you can change the widths &amp; heights as needed for your own installation.</description>
		<content:encoded><![CDATA[<p>@RVata @Xan, </p>
<p>To clear up some confusion &#8211; We had left the widths &#038; heights out of the divs in order to allow you to customize your own layout.  However, I&#8217;ve added them back in (see the green notes above).  This way everything is included, and you can change the widths &#038; heights as needed for your own installation.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
