Solved

how can I set an image in a Alertify.js notification (Growl)?

Posted on 2014-10-02
3
406 Views
Last Modified: 2014-10-04
Dear Experts,

I'm wondering on how to set an image as background-image in the notification (log) of Alertify.js.

Actually the Growl is like this:
growlactually.png
And I want to set a background-image to look something like this:
desiredgrowl.png
Thanks in Advance.

Best Regards.
0
Comment
Question by:Conrado ZAVALA
3 Comments
 
LVL 82

Accepted Solution

by:
leakim971 earned 500 total points
Comment Utility
Try this :
.alertify-logs {
    background-image: url(picture-with-right-size.jpg) no-repeat;
}

Open in new window

0
 
LVL 11

Expert Comment

by:Murfur
Comment Utility
What leakim971 said, but I think you mean the div with class of .ajs-message
0
 

Author Closing Comment

by:Conrado ZAVALA
Comment Utility
Thank you very much.
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
In this Micro Tutorial viewers will learn how to create a CSS image sprite (In a later tutorial, viewers will learn how to use CSS and HTML to create a navigation menu using this sprite) Open a new Photoshop document with a width of (Icon width)x(N…
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now