Top Menu

This is the most useful and important part of making your own dynamic web site: custom messages that display info, success, warning, or errors. I usually have this set up in my HTML views, and dynamically generated by my PHP code.

This is info text
This is success text
This is warning text
This is error text

This is the CSS code:

And this is the HTML code wrapped in div tags for the four message boxes:

Click on the link here to view the PDF of Font Awesome cheatsheet of all the content values for each icon.

About The Author

I write about my life!