PDA

View Full Version : Element: setStyle & applyStyles with float



nstrite
10 Jul 2007, 7:22 AM
Problem:
float = el.getStyle('float'); // right
el.setyStyle('float', float); // wrong!, you need to use cssFloat
el.setyStyle('cssFloat', float); // right

I am assuming that you should handle this (just as opacity) behind the scenes.

Just a suggestion.

Nowell