I am not sure whether that will work, I have never tried it before. I think you can put a body element in your gadget and that will be added to your gadget when it renders, so maybe the doctype works the same way.
On Thu, Oct 18, 2012 at 11:06 AM, Joel Cairney <[email protected]>wrote: > Is it not also true that sticking <!DOCTYPE html> at the top of your > CDATA html content will push it to the top of the rendered HTML? > > I seem to recall this being my experience, but I can't verify it just > now. > > -Joel > > -----Original Message----- > From: Ryan Baxter [mailto:[email protected]] > Sent: Thursday, October 18, 2012 10:35 AM > To: [email protected] > Subject: Re: Defining DOCTYPE inside a gadget > > Do you want to add the HTML 5 doctype? By default gadgets render in > quirks mode but your can add a specification version of 2 to the gadget > XML to force it to add the HTML 5 doctype. > > For example... > <Module specificationVersion='2'> > > On Thu, Oct 18, 2012 at 6:21 AM, Praveena Sarathchandra > <[email protected]>wrote: > > > Hi, > > > > Is it possible to define DOCTYPE inside a Shindig gadget? > > > > Thanks. > > > > -- > Click the link below to report this message as spam to Caseware E-Mail > Security Server ESVA. > http://esva5.caseware.com/cgi-bin/learn-msg.cgi?id=B3B6A286F6.76ACB > > > >
