Posts tagged 〝netmaguk〞

Q&A - Linking a whole DIV

April 2nd, 2007 at 5:11 pm

Instead of wrapping a DIV in a link or faking links with spans, use a small JavaScript click handler that sends users to the first link's href inside the block.


Q&A - Dynamically assigning CSS Floating in JavaScript

April 2nd, 2007 at 5:09 pm

Floating a DOM element from JavaScript means using style.cssFloat (not float), but a class name and CSS rules are the more maintainable fix for IE quirks.