Note that there are some explanatory texts on larger screens.

plurals
  1. POBorder radius on hidden div 'smears' in IE10 when using jQuery toggle function
    primarykey
    data
    text
    <p>This works fine in all browsers except IE10. </p> <p>When using a simple jQuery toggle function on a hidden div it results in the bottom corners leaving this jagged 'smear'. I've never seen this before. I guess it's something to do with the border-radius css but I don't have any problems with this in Firefox or Chrome. Any ideas what's going on here? Is this an IE 10 bug or am I doing something dumb?</p> <p><img src="https://i.stack.imgur.com/Fxewu.png" alt="IE10 bug"></p> <p>Here is a link to the <a href="http://jsfiddle.net/JwZLs/16/" rel="nofollow noreferrer">JSFiddle</a></p> <p>HTML:</p> <pre><code>&lt;div id="app_cont"&gt; &lt;div id="game_pnl"&gt; &lt;div id="hid_div"&gt;&lt;/div&gt; &lt;div id="btn_cont" unselectable="on"&gt; &lt;a href="#" id="def_btn" class="app_btns" unselectable="on"&gt;Submit&lt;/a&gt; &lt;/div&gt; &lt;/div&gt;&lt;!--#game_pnl--&gt; &lt;/div&gt;&lt;!--#app_cont --&gt; </code></pre> <p>CSS:</p> <pre><code> #app_cont { border: 1px solid grey; height: auto; width: 500px; margin: 100px auto 100px auto; background: #efefef; -webkit-border-radius: 6px; -moz-border-radius: 6px; border-radius: 6px; font-family: Arial; font-size: 1.6em; padding: 10px; } #btn_cont { border: 1px solid grey; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; background: #dcdcdc; clear: both; padding: 10px; -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .app_btns { margin: 0px 0px 0px 0px; min-width: 90px; text-align: center; font-size: 16px; font-family: Arial; font-weight: normal; -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; border: 1px solid #ababab; padding: 9px 18px; text-decoration: none; background: -webkit-gradient(linear, left top, left bottom, color-stop(5%, #ededed), color-stop(100%, #dfdfdf) ); background: -moz-linear-gradient(center top, #ededed 5%, #dfdfdf 100%); background: -ms-linear-gradient(top, #ededed 5%, #dfdfdf 100%); filter: progid : DXImageTransform.Microsoft.gradient ( startColorstr = '#ededed', endColorstr = '#dfdfdf' ); background-color: #ededed; color: #777777; display: inline-block; text-decoration: none; -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .app_btns:hover { background: -webkit-gradient(linear, left top, left bottom, color-stop(5%, #dfdfdf), color-stop(100%, #ededed) ); background: -moz-linear-gradient(center top, #dfdfdf 5%, #ededed 100%); background: -ms-linear-gradient(top, #dfdfdf 5%, #ededed 100%); filter: progid : DXImageTransform.Microsoft.gradient ( startColorstr = '#dfdfdf', endColorstr = '#ededed' ); background-color: #dfdfdf; cursor: pointer; } .app_btns:active { position: relative; top: 1px; } #hid_div { border: 1px solid grey; background: #f1e8ba; width: 482px; height: auto; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; margin: 0px 0px 10px 0px; float: left; display: none; padding: 8px; line-height: 20px; font-size: 14px; color: #313131; } </code></pre> <p>jQuery:</p> <pre><code>$('#def_btn').on('click', function(){ $('#hid_div').slideToggle(250); }); </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.
 

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