On Thu, Oct 23, 2008 at 12:32 PM, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote:
> > Hi, > > I've noticed that if I don't include a dtd in my page, then the > datepicker is behaving weirdly in IE6. Instead of showing right under > the textbox, it is positioned relative to the window's top. Having a doctype like the one below (among others) will trigger standards mode in IE6, instead of quirksmode. Not every doctype will trigger standards mode, but if you remove a doctype and see differences, that is likely the case. See http://www.quirksmode.org/dom/tests/compatStrict.html and http://www.quirksmode.org/dom/tests/compatQuirks.html for some sample javascript code you can use to verify what mode the page is in. In fact, you can just paste the following in the browser address bar javascript:alert(document.compatMode); and press enter. If the alert shows 'BackCompat' that's quirksmode, 'CSS1Compat' is standards mode. > Is there a reason for that ? We are having issues with IE6 and the dtd > so we'd rather not include it in the page, but the datepicker seems > not to like that. Standards mode generally makes IE6 easier to work with. However, it sounds like you may have other things on your page that are happier in quirksmode. The datepicker likely gets more testing in standards mode, but many people would benifit from it being fixed to work in quirksmode as well. So the problem you're seeing is not inentional. It just may take a bit more work to get right. If you do find that your problem with the datepicker is related to the page being in quirksmode, please create a ticket here: http://ui.jquery.com/bugs/newticket (note: registration required) If you could construct the simplest test page that will reproduce the problem and attach it to the ticket, that would help a lot. Thanks. - Richard > > here's the dtd I've removed : > > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http:// > www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> > > Thanks > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery UI" 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/jquery-ui?hl=en -~----------~----~----~----~------~----~------~--~---
