EasyUI Forum
May 16, 2024, 06:13:37 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Styling Dialog Boxes  (Read 3798 times)
jlowen
Guest
« 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?
Logged
jarry
Administrator
Hero Member
*****
Posts: 2264


View Profile Email
« Reply #1 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>.
Logged
jlowen
Guest
« Reply #2 on: October 16, 2015, 06:21:59 AM »

Thanks. That is what I assumed via experimentation. You have confirmed it for me.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!