Notification Boxes 12-23-2013, 01:59 AM
#1
Adding Notifications about announcements can help members stay on track with this simple tutorial you can have custom messages
In your CSS
Code when you want to display the notifications (HTML, PHP, etc.)
Visit Here to Edit, add, and see the example!
http://jsfiddle.net/gcVc9/
In your CSS
Code:
.alert-box {
color:#555;
border-radius:10px;
font-family:Tahoma,Geneva,Arial,sans-serif;font-size:11px;
padding:10px 36px;
margin:10px;
}
.alert-box span {
font-weight:bold;
text-transform:uppercase;
}
.error {
background:#ffecec url('http://i.imgur.com/uI9zdLt.png') no-repeat 10px 50%;
border:1px solid #f5aca6;
}
.success {
background:#e9ffd9 url('http://i.imgur.com/Z2dChip.png') no-repeat 10px 50%;
border:1px solid #a6ca8a;
}
.warning {
background:#fff8c4 url('http://i.imgur.com/EfdEAUr.png') no-repeat 10px 50%;
border:1px solid #f2c779;
}
.notice {
background:#e3f7fc url('http://i.imgur.com/ZcZFYV7.png') no-repeat 10px 50%;
border:1px solid #8ed9f6;
}Code when you want to display the notifications (HTML, PHP, etc.)
Code:
<div class="alert-box error"><span>error: </span>Write your error message here.</div>
<div class="alert-box success"><span>success: </span>Write your success message here.</div>
<div class="alert-box warning"><span>warning: </span>Write your warning message here.</div>
<div class="alert-box notice"><span>notice: </span>Write your notice message here.</div>Visit Here to Edit, add, and see the example!
http://jsfiddle.net/gcVc9/




![[+]](https://sinister.li/images/modern/collapse_collapsed.png)



![[Image: 9gNHXmP.jpg]](http://i.imgur.com/9gNHXmP.jpg)
![[Image: d1e90d56c24b2fac16e100ec9935955d.png]](http://gyazo.com/d1e90d56c24b2fac16e100ec9935955d.png)
![[Image: MY83fTd.jpg]](http://i.imgur.com/MY83fTd.jpg)