Apologies, my error, I was putting it in a <p class=”blah”></p>, but as everyone (but me) knows paragraph’s can’t contain block-level elements so when looked at in Firebug the markup shows up outside the paragraph. No wonder “all the slideshows seem to do this”, duh!