web development war stories from the frontlines to the backend

Add these rules to your stylesheet to remove the dotted border that firefox places around (active) links. /* remove firefox link outline */ a { outline: none; } :-moz-any-link:focus { outline: none; }

The Clickable SPAN

tags: , ,

It seems like the standard pattern for calling a JavaScript function when text is clicked is the following: <a href="#" onclick="callSomeJSFunction();">Click Me</a> The problem I have often encountered is that clicking the link causes the browser to jump to the top of the page if you have scrolled at all. Users do not like unexpected [...]

  

Recent Posts

Categories

Archives

 

Recent Comments