I have following piece of markup and we are running it on iphone 4 so some CSS elements like Hover don't work.
<asp:Repeater ID="rpt" runat="server">
<HeaderTemplate>
<div class="table withshadow">
</HeaderTemplate>
<ItemTemplate>
<a href='<%#Eval("HistoryTeacherURL")%>' class="tablerow list navigate">
<div class="tablecell listitem left">
<asp:Label ID="lblDesc" Text='<%#Eval("Name")%>' runat="server" CssClass="item" /><br />
</div>
<div class="tablecell listitem right">
<touch:TutorialSheets ID="lblBal" Text='<%#Eval("Tutorial")%>' runat="server" CssClass="amount item" />
</div>
<div class="tablecell listitem witharrow">
</div>
</a>
</ItemTemplate>
<FooterTemplate>
</div>
</FooterTemplate>
</asp:Repeater>
What we want is that when we click on the link, the color should change to red ! The problem is that this type of CSS works on firefox but not on iphone 4.
a:active
{
background-color: #31ac48;
font-color: #ffffff;
}
It will be great too see alternative solutions for this problem (javascript, jquery etc.) so that at least one of them might work on iphone 4 :-)