Paragraph with class update

Submitted by sanbor on Tue, 09/22/2009 - 12:16

I updated yout code with this little improvement
I added this code from the line 287

.error, .notice, .success {padding:.8em;margin-bottom:1.6em;border:2px solid #ddd;}
.error.icon, .notice.icon, .success.icon {padding-left:26px; background-position:6px 50%; background-repeat: no-repeat;}
.error {background:#FBE3E4;color:#8a1f11;border-color:#FBC2C4;}
.notice {background:#FFF6BF;color:#514721;border-color:#FFD324;}
.success {background:#E6EFC2;color:#264409;border-color:#C6D880;}
.error a {color:#8a1f11; background:none; padding:0; margin:0; }
.error.icon { background-image:url('../img/icons/cross.png'); }
.notice a {color:#514721; background:none; padding:0; margin:0; }
.notice.icon{ background-image:url('../img/icons/key.png'); }
.success a {color:#264409; background:none; padding:0; margin:0; }
.success.icon{ background-image:url('../img/icons/tick.png'); }

So you can do <div class="success icon">All right!</div> and you will see the icon. If you don't add the icon class, you will not see the icon.

Also I added this little class for rounded corners

.round
{
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
}

Thanks :)

I really like your way of expressing the opinions and sharing the information. It is good to move as chance bring new things in life, paves the way for advancement, etc.a+ certification// ccnp exams// MCTS// microsoft training// ccie// ccda exam// ITIL V3// SCJP

For that you need to purchase the real stuff, but otherwise Fake Watches serve the purpose fine. The craftsmen who create these Fake Rolex Watches use the same machineries that are used for manufacturing the original ones, hence the quality is unsurpassed. A few years back, these Longines Watches UK were not so popular because they did not maintain the correct time.

I really loved reading your blog. It was very well authored and easy to understand. Unlike additional blogs I have read which are really not tht good. I also found your posts very interesting. In fact after reading, I had to go show it to my friend and he enjoyed it as well!Thanks so much for this! I have not been this thrilled by a blog post for quite some time! You’ve got it, whatever that means in blogging. Anyway, You’re definitely someone that has something to say that people should hear. Keep up the wonderful job. Keep on inspiring the people!ged math practice test

They have done such a great job with this update. I see such a great future coming from this. Keep up the good work. birth defects zoloft

Having the options for the updates is so good. I see so much that you can get from this. This is going to help a lot of people in the future. Déménageurs Montréal

Thanks for sharing this useful information! Hope that you will continue with the kind of stuff you are doing.I’ve desired to post about something like this on a single of my blogs and this has given me a concept. I’ve really found out a great deal studying this page. Plainly especially excellent content here. Seo Biz

So what if we get runtime error? I don't how to deal with this situation. Now I am going to send happy birthday wishes to my friend. Thanks

I used to be more than happy to seek out this internet-site.I wanted to thanks in your time for this glorious read!! I positively enjoying each little bit of it and I have you bookmarked to check out new stuff you weblog post
carrera sunglasses

Your posting is informative and incredibly helpful..Many people will assert that everything in your site is useful..
640-864 exam
310-200 exam
350-050 exam
PMI-002 exam
1z0-042 exam
1Y0-A08 exam
3M0-211 exam
642-691 exam