Note that there are some explanatory texts on larger screens.

plurals
  1. PORounded corners mess up on a collapsible div in IE7
    primarykey
    data
    text
    <p>I have a div that is display: none on page load. I also have a button that toggles the display of the div (none to block). The first time after pageload that I click the button and show the div it has the assigned rounded corners (pic. 1 and 2). Then I click again to hide the div and click to show it. After that the rounded corners mess up (pic 2 and 3), the div expands some additional pixels (in height) and the rounded corners are not rounded anymore and with strange 'scanline' like lines in it.</p> <p>The code:</p> <pre><code>&lt;div id="filter-advanced"&gt; &lt;label for="filter-veld-value"&gt; &lt;div class="filter-block and-block2"&gt;EN &lt;span&gt; &lt;select name="filter-veld" id="filter-veld-name"&gt; &lt;option value=""&gt;Kies een zoekveld...&lt;/option&gt; &lt;option value="domeinnaam_registrant"&gt;Domeinnaam registrant&lt;/option&gt; &lt;option value="domeinnaam_houder"&gt;Domeinnaam houder&lt;/option&gt; &lt;option value="provider_opmerkingen"&gt;Provider opmerkingen&lt;/option&gt; &lt;option value="ftp_opmerkingen"&gt;FTP opmerkingen&lt;/option&gt; &lt;option value="mysql_opmerkingen"&gt;MySQL opmerkingen&lt;/option&gt; &lt;option value="accc_cms_opmerkingen"&gt;CMS opmerkingen&lt;/option&gt; &lt;option value="stats_opmerkingen"&gt;Statistieken opmerkingen&lt;/option&gt; &lt;option value="opmerkingen"&gt;Overige opmerkingen&lt;/option&gt; &lt;/select&gt; bevat tekst&lt;/span&gt; &lt;/div&gt; &lt;div class="filter-block"&gt; &lt;input type="text" id="filter-veld-value" name="filter-veld-value" class="text" value="" /&gt; &lt;/div&gt; &lt;br class="clearboth" /&gt; &lt;/label&gt; &lt;label for="filter-regdatum-from-value"&gt; &lt;div class="filter-block and-block3"&gt;EN &lt;span&gt;registratiedatum tussen&lt;/span&gt;&lt;/div&gt; &lt;div class="filter-block" id="regdatum"&gt; &lt;input type="text" id="filter-regdatum-from-value" name="filter-regdatum-from-value" class="text-date" value="X1" /&gt;&amp;nbsp;en&amp;nbsp;&amp;nbsp;&lt;input type="text" id="filter-regdatum-to-value" name="filter-regdatum-to-value" class="text-date" value="X2" /&gt; &lt;/div&gt; &lt;br class="clearboth" /&gt; &lt;/label&gt; &lt;label for="filter-vvdatum-from-value"&gt; &lt;div class="filter-block and-block3"&gt;EN &lt;span&gt;vervaldatum tussen&lt;/span&gt;&lt;/div&gt; &lt;div class="filter-block" id="vvdatum"&gt; &lt;input type="text" id="filter-vvdatum-from-value" name="filter-vvdatum-from-value" class="text-date" value="X3" /&gt;&amp;nbsp;en&amp;nbsp;&amp;nbsp;&lt;input type="text" id="filter-vvdatum-to-value" name="filter-vvdatum-to-value" class="text-date" value="X4" /&gt; &lt;/div&gt; &lt;br class="clearboth" /&gt; &lt;/label&gt; </code></pre> <p></p> <p>And the jQuery</p> <pre><code> $("p#advanced-tab A").click(function(){ if ($(this).hasClass('inactive')) { $(this).removeClass("inactive"); $(this).addClass("active"); $(this).text("Minder opties [-]"); $("#filter-advanced").css("display", "block"); $(this).corner("10px tr tl"); } else { $(this).removeClass("active"); $(this).addClass("inactive"); $(this).text("Meer opties [+]"); $("#filter-advanced").css("display", "none"); } }); $("#filter-advanced").corner("10px tr bl br"); </code></pre> <p><a href="http://www.admixconnect.nl/images/TMPcorners/beeld1.jpg" rel="nofollow noreferrer">alt text http://www.admixconnect.nl/images/TMPcorners/beeld1.jpg</a></p> <p><a href="http://www.admixconnect.nl/images/TMPcorners/beeld2.jpg" rel="nofollow noreferrer">alt text http://www.admixconnect.nl/images/TMPcorners/beeld2.jpg</a></p> <p><a href="http://www.admixconnect.nl/images/TMPcorners/beeld3.jpg" rel="nofollow noreferrer">alt text http://www.admixconnect.nl/images/TMPcorners/beeld3.jpg</a></p> <p><a href="http://www.admixconnect.nl/images/TMPcorners/beeld4.jpg" rel="nofollow noreferrer">alt text http://www.admixconnect.nl/images/TMPcorners/beeld4.jpg</a></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.
    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