of course, the values are not valid. this was a mistake. only in ie8 an error was reported.
regards, denny On 19 Mrz., 23:44, "T.J. Crowder" <[email protected]> wrote: > Hi, > > > ...i was trying to set > > netative width/height pixel values to an element with setStyle. but > > the great ie8 will not handle it. > > Negative...width and height?! Those aren't valid[1][2]. What would > they mean? > > [1]http://www.w3.org/TR/CSS2/visudet.html#propdef-width > [2]http://www.w3.org/TR/css3-box/#the-lsquo0 > -- > T.J. Crowder > Independent Software Consultant > tj / crowder software / comwww.crowdersoftware.com > > On Mar 19, 8:33 pm, dreeh <[email protected]> wrote: > > > thank you for your reply. > > i've found the problem. in some strange cases, i was trying to set > > netative width/height pixel values to an element with setStyle. but > > the great ie8 will not handle it. > > > regards, denny > > > On 18 Mrz., 11:25, "T.J. Crowder" <[email protected]> wrote: > > > > For the avoidance of doubt: Yes, I was using 1.6.1 and IE8 (and not in > > > compatibility mode). > > > > -- T.J. :-) > > > > On Mar 18, 10:24 am, "T.J. Crowder" <[email protected]> wrote: > > > > > Hi Denny, > > > > > With this sort of thing, it's _really_ important to post a self- > > > > contained, *minimalist* test case[1] demonstrating the problem you're > > > > running into. > > > > > The line you're talking about is for handling floats, so I tried doing > > > > that, but I'm not getting any error (and am getting the expected > > > > result). My test page is here:http://pastie.org/875185 > > > > > [1]http://proto-scripty.wikidot.com/self-contained-test-page > > > > > FWIW, > > > > -- > > > > T.J. Crowder > > > > Independent Software Consultant > > > > tj / crowder software / comwww.crowdersoftware.com > > > > > On Mar 17, 8:35 pm, dreeh <[email protected]> wrote: > > > > > > hi, > > > > > > there is a common problem with internet explorer 8 and prototype. > > > > > using the setStyle methode, ie8 is throwing an error: > > > > > > User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; > > > > > Trident/ > > > > > 4.0) > > > > > > Meldung: Ungültiges Argument. > > > > > Zeile: 2216 > > > > > Zeichen: 9 > > > > > Code: 0 > > > > > URI:http://localhost/js/prototype.js > > > > > > Meldung: Invalid Argument > > > > > Line: 2216 > > > > > Char: 9 > > > > > Code: 0 > > > > > URI:http://localhost/js/prototype.js > > > > > > Are there any solutions or workaround? the IE7-compaibility mode (i've > > > > > found as a solution) is not a option. > > > > > > regards, > > > > > > denny reeg -- You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.
