<?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>Thesis: Hosting &#187; Design</title>
	<atom:link href="http://www.thesishosting.com/topics/design/feed" rel="self" type="application/rss+xml" />
	<link>http://www.thesishosting.com</link>
	<description>Down &#38; Dirty Web Hosting Resource</description>
	<lastBuildDate>Mon, 21 Nov 2011 20:02:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Eliminating Page Shift</title>
		<link>http://www.thesishosting.com/2010/03/topics/design/eliminating-page-shift</link>
		<comments>http://www.thesishosting.com/2010/03/topics/design/eliminating-page-shift#comments</comments>
		<pubDate>Sat, 06 Mar 2010 20:33:14 +0000</pubDate>
		<dc:creator>Dixie</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[code snippet]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[design help]]></category>

		<guid isPermaLink="false">http://thesishosting.com/?p=351</guid>
		<description><![CDATA[Page shift in designs that are centered can drive a poor web designer to drink. Here's a CSS code snippet that will eliminate it for the non-IE users out there.]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://www.thesishosting.com/2010/03/topics/design/eliminating-page-shift" title="Permanent link to Eliminating Page Shift"><img class="post_image alignnone" src="http://farm1.static.flickr.com/230/497491293_0b86f6176e.jpg" width="500" height="375" alt="Eliminate annoying page shift with CSS" /></a>
</p><p>Having done a few designs where I ended up pounding my head against the wall trying to figure out what was causing page shift&#8211;where the content seems to jump to the left or right on certain pages&#8211;I understand this can drive a poor designer insane.</p>
<p>It&#8217;s caused by inconsistencies between how browsers handle the vertical scroll bar combined with centered content. Some browsers, like Internet Explorer, display scrollbars on all pages, while others, like Firefox, do not.</p>
<p>Adding this code to your stylesheet will correct the issue.<sup><a href="http://www.thesishosting.com/2010/03/topics/design/eliminating-page-shift#footnote_0_351" id="identifier_0_351" class="footnote-link footnote-identifier-link" title="The &amp;#8220;-moz-scrollbars&amp;#8221; declaration takes care of this issue in Firefox 3.5+">1</a></sup></p>
<pre class="brush: css; title: ; notranslate">html { min-height: 100%; margin-bottom: 1px; overflow: -moz-scrollbars-vertical !important;} </pre>
<ol class="footnotes"><li id="footnote_0_351" class="footnote">The &#8220;-moz-scrollbars&#8221; declaration takes care of this issue in Firefox 3.5+</li></ol>]]></content:encoded>
			<wfw:commentRss>http://www.thesishosting.com/2010/03/topics/design/eliminating-page-shift/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Served from: www.thesishosting.com @ 2012-02-06 23:54:18 by W3 Total Cache -->
