Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Background color in window. #50

Open
perthsystem opened this issue Jul 6, 2014 · 1 comment
Open

Background color in window. #50

perthsystem opened this issue Jul 6, 2014 · 1 comment

Comments

@perthsystem
Copy link

Hi,

I use this in my page:
Messi.load('aboutus.html', {title: 'About Us', titleClass: 'anim info', height: '450px', width: '400px', modal: true, padding: '10px'});

I have some css in 'aboutus.html' and it all seems to work well, except for background-color: which Messi ignores. Is there a way to change the background color of the message box?

CSS:
body{
background-color: #284352;
margin:0;
padding:0;
font:normal 16px/20px Ubuntu, sans-serif;
}

Thank you :)

@kgust
Copy link

kgust commented Jul 9, 2014

Messi.load(…) loads html fragments directly into the .messi-content div. This means that the Messi CSS will apply to the loaded content. CSS rules state that the most specific rule will be applied.

You can verify this in your browser's Developer Tools.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants