Note that there are some explanatory texts on larger screens.

plurals
  1. POCustom delete ui-icon casts shadow or margin on some browsers
    primarykey
    data
    text
    <p>I am using a custom icon to close a dialog. I have removed margins and shadows that surround the button. However, it still appears on my Android 2.3 device. It appears correctly (with no shadow) on my Android 4.0 and iOS devices.</p> <p>I have tried using a png with a transparent background as well as one with a white background to match the dialog's background, but they both give me the shadow. </p> <p>html:</p> <pre><code>&lt;div class="custom_close_button"&gt; &lt;a href="#" data-role="button" data-rel="back" data-inline="true" &gt; &lt;img src="img/close_button.png"&gt;&lt;/img&gt; &lt;/a&gt; &lt;/div&gt; </code></pre> <p>css:</p> <pre><code>.ui-shadow { box-shadow: 0px 0px 0px 0px #FFFFFF; shadow: none; border: none; } .custom_close_button { float: right; width: 50px; padding-right: 20px; } .custom_close_button .ui-btn-corner-all { padding: 0px; margin: -1px 0 0 0; } .ui-corner-all { -moz-border-radius: 0 /*{global-radii-blocks}*/; -webkit-border-radius: 0 /*{global-radii-blocks}*/; border-radius: 0 /*{global-radii-blocks}*/; } .ui-btn-corner-all { -moz-border-radius: 0 /*{global-radii-buttons}*/; -webkit-border-radius: 0 /*{global-radii-buttons}*/; border-radius: 0 /*{global-radii-buttons}*/; } </code></pre> <p><br /> Is there a separate setting for Android 2.3 that is causing this? Below is a screenshot of the button appearing incorrectly on the Android 2.3 device. </p> <p>Thanks. <br /></p> <p><img src="https://i.stack.imgur.com/IjDjG.png" alt="Custom Delete Button with some shadow surrounding it"></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.
    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