How to style my message like : Login invalid message

You see, it appears for a few seconds then afterward it disappears. It also has that red box around it.

Thanks before.

Recommended Answers

All 2 Replies

If you right click the message and click on "inspect element" or view source on your browser, you should be able to see how the element was styled.

With regard to showing the message and allowing you to click to exit or have the message disappear, that's most likely being via javascript/jQuery.

When doing what JorgeM said, be sure you alter it quite a bit! The styles are copyrighted!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.