You could try different variations of the declaration, maybe it just
doesn't like that format.  Also note that you're not setting a unit
for your value, this could be considered an invalid declaration?

you could try...

margin:0px;
margin-left:auto;
margin-right:auto;


It should be able to accept something.


On Nov 21, 4:08 am, Phunky <[EMAIL PROTECTED]> wrote:
> I most definitely have a valid doctype, although its not a XHTML
> doctype - reading through the ticket you linked i cant see anything
> that is in reference to my experience?
>
> I currently have a work around for IE which takes advantage of
> conditional style sheets and just removes margin:0 auto; from that
> class - not ideal but it works.
>
> On Nov 21, 7:58 am, "Mona Remlawi" <[EMAIL PROTECTED]> wrote:
>
> > hmmm rings familiar.
> > check out the bug/fix and make sure you have a valid 
> > doctypehttp://prototype.lighthouseapp.com/projects/8886/tickets/90-cloneposi...
>
> > cheers
>
> > --
> > mona
> > [EMAIL PROTECTED]
>
> > On Thu, Nov 20, 2008 at 4:04 PM, Phunky <[EMAIL PROTECTED]> wrote:
>
> > > I'm writing a simple little ToolTip script and i seem to be having a
> > > problem with IE7, it looks as if when ever i attached a class with
> > > margin:0 auto; to an element it causes an error on line 2271 of "style
> > > is null or not and object"
>
> > > I have a snippet of the code and CSS that i am using 
> > > athttp://pastebin.com/m27703a9f
> > > i have commented the line above the insert which is causing the
> > > problem.
>
> > > As soon as i remove auto from margin:0 auto; it removes the error and
> > > works.
>
> > > Is this a bug, should i report it?
--~--~---------~--~----~------------~-------~--~----~
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 prototype-scriptaculous@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to