<?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: div กับหน้าจอ กว้าง x ยาว เท่าไหร่ก็อยู่กลางหน้า</title>
	<atom:link href="http://sixhead.com/2008/02/13/css-div-center-screen/feed/" rel="self" type="application/rss+xml" />
	<link>http://sixhead.com/2008/02/13/css-div-center-screen/</link>
	<description>เมื่อความรู้มีไว้แบ่งปัน</description>
	<lastBuildDate>Fri, 26 Feb 2010 02:48:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: หนึ่ง</title>
		<link>http://sixhead.com/2008/02/13/css-div-center-screen/comment-page-1/#comment-7348</link>
		<dc:creator>หนึ่ง</dc:creator>
		<pubDate>Sun, 20 Dec 2009 20:20:48 +0000</pubDate>
		<guid isPermaLink="false">http://sixhead.com/2008/02/13/css-div-center-screen/#comment-7348</guid>
		<description>ขอลองหน่อยนะครับผม</description>
		<content:encoded><![CDATA[<p>ขอลองหน่อยนะครับผม</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jackiller</title>
		<link>http://sixhead.com/2008/02/13/css-div-center-screen/comment-page-1/#comment-308</link>
		<dc:creator>jackiller</dc:creator>
		<pubDate>Wed, 17 Sep 2008 14:20:24 +0000</pubDate>
		<guid isPermaLink="false">http://sixhead.com/2008/02/13/css-div-center-screen/#comment-308</guid>
		<description>กำหนด width ให้คงที่ 
width: 980px
margin:0 auto;
ถ้าไม่ตรงกลางนะ เมลล์มาด่าได้เลย</description>
		<content:encoded><![CDATA[<p>กำหนด width ให้คงที่<br />
width: 980px<br />
margin:0 auto;<br />
ถ้าไม่ตรงกลางนะ เมลล์มาด่าได้เลย</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ผ่านมาจ้ะ</title>
		<link>http://sixhead.com/2008/02/13/css-div-center-screen/comment-page-1/#comment-213</link>
		<dc:creator>ผ่านมาจ้ะ</dc:creator>
		<pubDate>Fri, 08 Aug 2008 03:43:17 +0000</pubDate>
		<guid isPermaLink="false">http://sixhead.com/2008/02/13/css-div-center-screen/#comment-213</guid>
		<description>เราเคยลองแบบ คุณ deans4j บอกแล้วมันไม่กลางอ่าค่ะ เราอาจจะลงโค้ดตรงไหนผิดไปก็ได้ &gt;.&lt; 

แต่ว่าแบบของคุณ Pipo ใช่ที่ต้องการเลย ขอบคุณมากจริงๆค่ะ ^0^</description>
		<content:encoded><![CDATA[<p>เราเคยลองแบบ คุณ deans4j บอกแล้วมันไม่กลางอ่าค่ะ เราอาจจะลงโค้ดตรงไหนผิดไปก็ได้ &gt;.&lt; </p>
<p>แต่ว่าแบบของคุณ Pipo ใช่ที่ต้องการเลย ขอบคุณมากจริงๆค่ะ ^0^</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ผ่านมาจ้ะ</title>
		<link>http://sixhead.com/2008/02/13/css-div-center-screen/comment-page-1/#comment-212</link>
		<dc:creator>ผ่านมาจ้ะ</dc:creator>
		<pubDate>Fri, 08 Aug 2008 03:39:29 +0000</pubDate>
		<guid isPermaLink="false">http://sixhead.com/2008/02/13/css-div-center-screen/#comment-212</guid>
		<description>เย้ ขอบคุณมากเลยค่ะที่เขียนสอนไว้ หามานาน^^</description>
		<content:encoded><![CDATA[<p>เย้ ขอบคุณมากเลยค่ะที่เขียนสอนไว้ หามานาน^^</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bon</title>
		<link>http://sixhead.com/2008/02/13/css-div-center-screen/comment-page-1/#comment-159</link>
		<dc:creator>bon</dc:creator>
		<pubDate>Wed, 04 Jun 2008 10:29:00 +0000</pubDate>
		<guid isPermaLink="false">http://sixhead.com/2008/02/13/css-div-center-screen/#comment-159</guid>
		<description>หน้าจอแต่ละผู้ใช้ไม่เท่ากันต้องใช้ margin: 0px auto;
กำกำกำ</description>
		<content:encoded><![CDATA[<p>หน้าจอแต่ละผู้ใช้ไม่เท่ากันต้องใช้ margin: 0px auto;<br />
กำกำกำ</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Natz</title>
		<link>http://sixhead.com/2008/02/13/css-div-center-screen/comment-page-1/#comment-50</link>
		<dc:creator>Natz</dc:creator>
		<pubDate>Sun, 02 Mar 2008 23:29:43 +0000</pubDate>
		<guid isPermaLink="false">http://sixhead.com/2008/02/13/css-div-center-screen/#comment-50</guid>
		<description>ใช้แบบนี้กลางกว่าครับ ไม่ต้องคิดไรด้วย

.center {
     float:none;
     margin:0 auto;
     position:absolute;
}

หรือถ้าไม่กลางจิงๆต้องแบบนี้แน่นอน

.center {
     width:300px; /* จำเป็นต้องกำหนดความกว้างให้คงที่ */
     position:absolute;
     left:50%; /* ด้านซ้ายครึ่งจอ  */
     margin-left:-150px; /*margin-left ติดลบครึ่งหนึ่งของความกว้าง */
}</description>
		<content:encoded><![CDATA[<p>ใช้แบบนี้กลางกว่าครับ ไม่ต้องคิดไรด้วย</p>
<p>.center {<br />
     float:none;<br />
     margin:0 auto;<br />
     position:absolute;<br />
}</p>
<p>หรือถ้าไม่กลางจิงๆต้องแบบนี้แน่นอน</p>
<p>.center {<br />
     width:300px; /* จำเป็นต้องกำหนดความกว้างให้คงที่ */<br />
     position:absolute;<br />
     left:50%; /* ด้านซ้ายครึ่งจอ  */<br />
     margin-left:-150px; /*margin-left ติดลบครึ่งหนึ่งของความกว้าง */<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: deans4j</title>
		<link>http://sixhead.com/2008/02/13/css-div-center-screen/comment-page-1/#comment-38</link>
		<dc:creator>deans4j</dc:creator>
		<pubDate>Wed, 13 Feb 2008 17:28:44 +0000</pubDate>
		<guid isPermaLink="false">http://sixhead.com/2008/02/13/css-div-center-screen/#comment-38</guid>
		<description>ผมแนะนำว่าในกรณีเวบทั่วๆ ไป อย่าไปคิดว่า user จะใช้ความละเอียดหน้าจอเหมือนกันหมดครับ

วิธีเซ็ตให้ block อยู่ตรงกลาง ตั้ง margin: 0px auto; เอาก็ได้ครับ</description>
		<content:encoded><![CDATA[<p>ผมแนะนำว่าในกรณีเวบทั่วๆ ไป อย่าไปคิดว่า user จะใช้ความละเอียดหน้าจอเหมือนกันหมดครับ</p>
<p>วิธีเซ็ตให้ block อยู่ตรงกลาง ตั้ง margin: 0px auto; เอาก็ได้ครับ</p>
]]></content:encoded>
	</item>
</channel>
</rss>
