/ Published in: CSS

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
.alert { background: #fff6bf url(bioneural/exclamation.png) center no-repeat; background-position: 15px 50%; /* x-pos y-pos */ text-align: left; padding: 5px 20px 5px 45px; border-top: 2px solid #ffd324; border-bottom: 2px solid #ffd324; } <p class="alert">Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</p>
URL: http://www.bioneural.net/2006/04/01/create-a-valid-css-alert-message/
Comments
