Note that there are some explanatory texts on larger screens.

plurals
  1. POLayout using mainly Floats - the centre div extends with content but is now hidden underneath the rest of the page
    primarykey
    data
    text
    <p>I have a site layout that uses floats to achieve the desired columns/rows.</p> <p>On the main page, the main content div has a min-height of 200px, which is perfect for the content on that page. However, the pages after the home page require the content in this div to be considerably longer. It works fine in Firefox, but not so much in IE - where the div does extend however it just extends underneath the divs that are beneath it.</p> <p>Links to screenshots are here:</p> <p><a href="http://i35.tinypic.com/289zpky.jpg" rel="nofollow noreferrer">http://i35.tinypic.com/289zpky.jpg</a> - internet explorer example:</p> <p>As you can see above, in IE it doesnt work at all. it works fine in firefox however.</p> <pre><code>&lt;div class="homebox-pages"&gt; &lt;h1&gt;Transaction Details&lt;br /&gt; &lt;/h1&gt; &lt;p&gt;What type of quote would you like?&lt;/p&gt; &lt;select name="Quote-Type"&gt; &lt;option&gt;Sale&lt;/option&gt; &lt;option&gt;Purchase&lt;/option&gt; &lt;option&gt;Hip&lt;/option&gt; &lt;option&gt;Sale and Hip&lt;/option&gt; &lt;option&gt;Sale, Purchase and Hip&lt;/option&gt; &lt;/select&gt; &lt;p&gt;Sale Property Value: £&lt;br /&gt; &lt;input name="Sale Property Value" type="text" value="&amp;pound;" size="30"/&gt;&lt;/p&gt; &lt;p&gt;Do you require a HIP? &lt;input name="Do you require a HIP?" type="checkbox" value="" /&gt;&lt;/p&gt; &lt;p&gt;HIP Property Value: £&lt;br /&gt; &lt;input name="Purchase Property Value" type="text" value="&amp;pound;" size="30"/&gt;&lt;/p&gt; &lt;p&gt;Tenure Type:&lt;/p&gt; &lt;strong&gt;Freehold&lt;/strong&gt;&lt;input name="Tenure Type" type="radio" value="Freehold" checked="checked" /&gt; &lt;strong&gt;Leasehold&lt;/strong&gt;&lt;input name="Tenure Type" type="radio" value="Leasehold" /&gt; &lt;strong&gt;Unknown&lt;/strong&gt;&lt;input name="Tenure Type" type="radio" value="Unknown" /&gt; &lt;p&gt;Is the property Registered?&lt;/p&gt; &lt;strong&gt;Registered&lt;/strong&gt;&lt;input name="Registered" type="radio" value="Registered" checked="checked" /&gt; &lt;strong&gt;Unregistered&lt;/strong&gt;&lt;input name="Registered" type="radio" value="Unregistered" /&gt; &lt;strong&gt;Unknown&lt;/strong&gt;&lt;input name="Registered" type="radio" value="Unknown" /&gt; &lt;p&gt;Email Address:*&lt;br /&gt; &lt;input name="E-Mail Address" type="text" size="30" class="txtarea required" /&gt;&lt;/p&gt; &lt;p&gt;Mobile Number:&lt;br /&gt; &lt;input name="Mobile Number" type="text" size="30" /&gt;&lt;/p&gt; &lt;p&gt;Where did you hear about us?:*&lt;br /&gt; &lt;select name="Where did you hear about us?"&gt; &lt;option value="Google"&gt;Google&lt;/option&gt; &lt;option value="Word of Mouth"&gt;Word of Mouth&lt;/option&gt; &lt;option value="Previous Customer"&gt;Previous Customer&lt;/option&gt; &lt;option value="Yell"&gt;Yell&lt;/option&gt; &lt;/select&gt; &lt;br /&gt; &lt;br /&gt; &lt;input name="Submit" type="submit" /&gt; &lt;/div&gt; </code></pre> <p>And the CSS for homebox is:</p> <pre><code>.homebox-pages { background-color:#39C; background-position:center; background-repeat:no-repeat; min-height:200px; width:70%; float:left; overflow:visible; clear:both; } </code></pre>
    singulars
    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.
    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