This may just be another example of IE sucking. I get an error on IE 6, "unexpected call to method or property access".
Googling that error message (and adding 'style' to the search) suggests that manipulating the style attribute dynamically on IE is somewhat... problematic :\ On Thu, Nov 19, 2009 at 11:45 AM, Atkinson, Sarah < sarah.atkin...@cookmedical.com> wrote: > > > Yes.... In the function that this bit of code resides > > > On 11/19/09 2:43 PM, "Charlie Griefer" <charlie.grie...@gmail.com> wrote: > > leftOffset is a variable you're defining somewhere? > > On Thu, Nov 19, 2009 at 11:39 AM, Atkinson, Sarah < > sarah.atkin...@cookmedical.com> wrote: > > > IE 7 haven’t tried any others. And it doesn’t work it doesn’t text and it > cause another function that hides and shows a div to not work as well. The > only fire bug error I get is "Reload to activate window console" although IE > has a message saying error on page > > > On 11/19/09 2:35 PM, "Charlie Griefer" <charlie.grie...@gmail.com < > http://charlie.grie...@gmail.com> > wrote: > > What version of IE? > Define "break"? > > On Thu, Nov 19, 2009 at 11:29 AM, Atkinson, Sarah < > sarah.atkin...@cookmedical.com <http://sarah.atkin...@cookmedical.com> > > wrote: > > I’m having trouble with IE > This code seems to break in IE > > var cssString= "label.error{left:"+leftOffset+"px;}"; $('head > style').text(cssString); > > > > > > -- Charlie Griefer http://charlie.griefer.com/ I have failed as much as I have succeeded. But I love my life. I love my wife. And I wish you my kind of success.