> Aaron Gray wrote: >>> On Oct 4, 2008, at 3:09 AM, Aaron Gray wrote: >>> >>>> Yes I know it works in HTML and CSS. >>>> >>>> BUT it does NOT work dynamically via DOM using Javascript. >>>> >>>> On IE7, FF3.0.1, Opera9.51 my test program fails but it works on >>>> Safari and Chrome. >>>> >>>> What I want is an alternative to 'float:right' if there is one. >>> Can you provide an example that actually shows the issue ? Otherwise, >>> one can only speculate. >> >> Okay, I have done an example in plain Javascript without my library :- >> >> http://www.aarongray.org/Examples/CSS/floatRight.html >> >> It works on WebKit based browsers but not on IE7, FF3.0.1, or Opera 9 >> >>> The test case you've put up works , of course. >> >> Yes. >> >> All I really want, which is probably asking the Earth, is a float-less >> range right for a <div>. I have found more examples but they use >> 'float:left' ! >> >> Thanks, >> >> Aaron > > The solution is to use |.style.styleFloat| and |.style.cssFloat|.[1] > > [1] > http://www.demay-fr.net/blog/index.php/2008/01/22/99-stylefloat-vs-stylecssfloat-vs-stylestylefloat
Yes, thanks alot. Feeling very dumb, Aaron ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/