Ouch - beware of style.left vs style.right
Okay - yeah yeah - that Keep the Web Live! icon is zooming around the screen.
Hover To Rotate LogoWant to do your head in dealing with browser compatibility? Probably not. I did.
I was changing the position of a right-aligned graphic using style.left. Big mistake. I should have been using style.right but I naively thought that browsers would retain a relationship between style.left and style.right using style.width. Errr, no.
The effect was fantastic and browser dependent. Either no movement at all or movement until style.left < the default for style.right at which point internally style.left = style.right.
It's enough to send you to the funny farm. To cap this off, it all worked on Blogger's Template Preview, just not on a real page.
Burble burble.

0 Comments:
Post a Comment
<< Home