Note that there are some explanatory texts on larger screens.

plurals
  1. POIn Chrome, page won't resize after Ajax load
    primarykey
    data
    text
    <p>I've been feverishly CSSing my way through the final leg of a site I'm building and I'm running into an odd quirk with Chrome only. FF and IE seem to work fine. </p> <p>I am using jQuery to load HTML stubs and in this case a lot of content from an external blog, but when switching from the really long pages to the really short ones I get about a mile of unused page still tacked on to the end of the document.</p> <p>Here's what the body of the page where the stubs are being loaded into looks like:</p> <pre><code>&lt;body&gt; &lt;div id="page"&gt; &lt;div id="mainWrapper"&gt; &lt;div id="headerFullWidth"&gt;&lt;/div&gt; &lt;div id="fixedwidthcontainer"&gt; &lt;div id="header"&gt; &lt;div id="logo"&gt;&lt;img src="images/logo.png" height="85px" width="187px"&gt;&lt;/div&gt; &lt;div id="shoppingcart"&gt;&lt;/div&gt; &lt;/div&gt; &lt;div id="shoppingCartIcon"&gt;&lt;/div&gt; &lt;/div&gt; &lt;div class="contentSpacer"&gt;&lt;/div&gt; &lt;div id="contentwrapper"&gt; &lt;div id="content"&gt;&lt;/div&gt; &lt;/div&gt; &lt;div class="contentSpacer"&gt;&lt;/div&gt; &lt;div id="footer"&gt; &lt;div id="footerContent"&gt; &lt;a href="#contactPopupContent" id="contactfooter"&gt;Contact Us&lt;/a&gt;&lt;a href="#privacyPopupContent" id="privacyfooter"&gt;Privacy Policy&lt;/a&gt;&lt;a href="#shippingPopupContent" id="shippingfooter"&gt;Shipping &amp; Returns&lt;/a&gt; &lt;div id="copyrightfooter"&gt;&amp;copy; 2011 Victory Barbers and Brand&lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;div id="fullWidthFooter"&gt;&lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;/body&gt; </code></pre> <p>All of my loads are done using jQuery <code>load()</code> and I have had an iteration of the site that didn't have this problem. I have been moving to a more 100% width style and this problem emerged in the process.</p> <p>My question is this: is there a way to force the page to re-check its size when moving to different/shorter content?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload