Help needed with CSS highlight issue
Here is the CSS code causing the problem:
html {
-webkit-tap-highlight-color: rgba(0,0,0,0.7);
-webkit-touch-callout: none;
}
This is my HTML snippet:
<a href="javascript: location.href = 'level://?id=123456';">
<div class="Box" id="Box0">
<table class="BoldText" style="margin:8px;">
<tr>
<td valign="top" width="50">
<div class="ProfileImage">
<div style="background:url(<url>) top left no-repeat;"></div>
</div>
</td>
<td>gustaf98 published a level
<div style="width:220px; margin-top:4px;" class="lightText">Skiftnyckel</div>
</td>
</tr>
</table>
</div>
</a>
However, when touched on an iPhone in a UIWebView, the black highlight only covers part of the box. How can I make it cover the whole box?
Your assistance would be greatly appreciated!