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! I would appreciate it if you comment and tell me how life is treating you? :)

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">

Close