This content has been marked as final. Show 3 replies
The page templates for the main page and the modal page are missing DTDs so the browser is running in quirks mode. Try adding the HTML5 DTD as it's the simplest:
Note that this may cause other parts of the template to "break". These can be fixed but depending on the severity it may cost a lot of time to fix.
Pete,1 person found this helpful
I thought I should add to my answer a little. Try creating new page templates by copying the existing ones and adding the DTDs to the new copies. Then you can swap out the templates only for the pages where modal is being used which would help mitigate the risks and reduce the number of fixes.
As a developer schooled mostly in HTML <5, that is something I would never have thought of.
Thanks very much - a wonderfully simple solution to a really puzzling problem! :-)
Everything looks great now.
Best Regards, Pete