EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: jlowen on October 13, 2015, 08:50:40 AM



Title: Styling Dialog Boxes
Post by: jlowen on October 13, 2015, 08:50:40 AM
I am using modal dialog boxes that are created with Javascript/Jquery. The dialog boxes work fine but when the url content page loads, it does not seem to pick up CSS in an external stylesheet. If I navigate directly to the page via a browser, styling is OK. Is there something about the dialog box that keeps the content from being styled?


Title: Re: Styling Dialog Boxes
Post by: jarry on October 13, 2015, 03:21:05 PM
By default, only the content in <body> element is loaded. So please move all the styles definitions to the <body> instead of <head>.


Title: Re: Styling Dialog Boxes
Post by: jlowen on October 16, 2015, 06:21:59 AM
Thanks. That is what I assumed via experimentation. You have confirmed it for me.