[RCD] control-click bug in IE7

till klimpong at gmail.com
Sat Sep 22 18:01:20 CEST 2007


On 9/21/07, Joel Clermont <joel at orionweb.net> wrote:
> (...)
> 1)       Try avoid using the Anchor tag, you can use other elements like DIV
> (you already knew) or SPAN tag and still mimic the Anchor tag appearance.
> Some thing like this:
>
>
> <span style="text-decoration: underline; cursor:hand; color:blue"
> onclick="aFunction()" >
> click this "link"
> </span>.

He raises a valid point.There are plenty other reasons to use <span>
instead of <a>:
http://xkr.us/js/links
http://tom.me.uk/scripting/links.html

Till
_______________________________________________
List info: http://lists.roundcube.net/dev/



More information about the Dev mailing list