[Wylug-help] Firefox absolute positioning stopped working

Gary Stainburn gary.stainburn at ringways.co.uk
Mon Nov 11 16:30:31 UTC 2013


Firstly, appologies for missing out the relevent bit of code, i.e. the bit 
that was wrong.

Secondly, I've managed to find the solution.

The original code was:

    hp.style.top = yOffset;
    hp.style.left = xOffset;

The new code is:

    hp.style.top = yOffset+'px';
    hp.style.left = xOffset+'px';

Although the old original code worked everywhere else, the new code also works 
with new versions of Firefox.

Gary



More information about the Wylug-help mailing list