Placed in: Home

Cialis Online

Create a valid CSS alert message

Ever came across an alert message on a webpage that has some nice CSS styling to it? Personally I modified this one to create an quote-box, to use it on this website. Here's an example:

Lorem ipsum dolor sit amet

There is a small valid CSS code behind this one, but it is very nice to use on your website.

.quote {
   background: #92A4AE url(images/icon/quote.png) center no-repeat;
   background-position: 15px 50%;
   text-align: left;
   color: #ffffff;
   font-weight: bold;
   font-size: 16px;
   padding: 5px 20px 5px 60px;
   border-top: 2px solid #091626;
   border-bottom: 2px solid #091626;
 }

With the background-position you see that the background image will be indented by 15 pixels and positioned vertically half way in the quote box. To actually input your quote box in your webpage, simply insert a paragraph with the class "quote".

<p class="quote">Lorem ipsum dolor sit amet</p>

And that's about it, easy as that. Works as expected in Firefox, Internet Explorer and Safari.

Source: Bioneural  


Tags:  CSS how to webdesign internet

Interested in this topic? You might enjoy another article I've written called

Did you like this article? Subscribe to my feed or email to keep updated on new articles.

Spread the word and submit to:
Digg!Reddit!Del.icio.us!Facebook!StumbleUpon!
Comments
Add NewSearchRSS
Friso   2007-08-22 20:44:33
Gravatar image I just implemented it for my site, thanks!
Anonymous - re:   2009-07-23 22:56:55
Gravatar image
Friso wrote:
I just implemented it for my site, thanks!
Eszfzhve - RuvwMvgPFRPITrRYkOe   2010-11-10 23:33:18
Gravatar image There have been seventeen expansions to the original game since release. , www.williamsnhussey.com, http://www.williamsnhussey.com, http://xuwgju.kyrigan.co.cc/www.williamsnhussey.com.html www.williamsnhussey.com, amb,
overweight dosage info - overweight dosage info   2011-06-14 08:54:25
Gravatar image I had found lots of information from this site. Thanks a lot for the information and I had liked it very much. It is very helpful for me. Thanks a lot and hope to see more stuff.
online hair weight loss pills - online hair weight loss pills   2011-06-15 05:36:59
Gravatar image The website has simple and easy way of explain the people through articles which are so easy to understand, I was so pleased and suggest others also to visit the site once and get useful material from them.
birth control pills informatio - birth control pills information   2011-06-15 05:37:46
Gravatar image Once go through this site, which is very interesting and helpful. I assure you people it is one of the best site I ever had gone through that has good information about what you are looking for.
livediabetes pills info - livediabetes pills info   2011-06-15 05:38:31
Gravatar image One of my friends suggested me about this site which she found interesting, and when I opened the site I also found it interesting and beneficial and recommended few of my family members to go through it.
clinic pharmacy journal - clinic pharmacy journal   2011-06-15 05:39:28
Gravatar image Wow! You guys are amazing and do a good job by providing some good content in this particular website. I hope everybody will make a visit to this website and read the content as it is helpful for some extent.
weight loss sideeffects - weight loss sideeffects   2011-06-15 05:41:25
Gravatar image This is something interesting blog to read as there are some interesting articles posted for the readers. Therefore I suggest this site as different site for the readers as there is a lot of information in it. Hope that everybody reads it.
top birth control pills - top birth control pills   2011-06-15 05:42:06
Gravatar image This is somewhat a good idea in providing such good information through these kinds of articles. I really felt fascinated while reading the content in this blog as it is really interesting and impressive.
pharmacy place - pharmacy place   2011-06-15 05:42:36
Gravatar image It is one of the most impressive blog that I have ever read. It is really good to see such an amazing site online. I would say that there is no other site in the internet with so much of information.
birth control pills tips - birth control pills tips   2011-06-15 05:43:25
Gravatar image Wow! This is real good site for the readers as the content in this sites is very informative and it makes us pleasure to read the whole content. I couldn
greatest birth control pills - greatest birth control pills   2011-06-15 05:44:03
Gravatar image I felt so fascinated while reading this site that I have passed lot of time on reading the entire content provided in this blog. This is something new that I have spent that much of time to read as the whole content is interesting.
natural anti smoking pills gui - natural anti smoking pills guide   2011-06-15 05:44:28
Gravatar image It is really a different article posted in this blog and makes users to feel interesting while reading the content. I am happy to say that all the content that I have read from this blog really helped in many ways
overweight usage guides - overweight usage guides   2011-06-15 05:44:59
Gravatar image It is really amazing to read such a good article form a blog like this. I would say that you guy at this site are awesome and does a great job by providing some of the important articles to the readers.
hair hair loss side effects hu - hair hair loss side effects hub   2011-06-15 05:46:40
Gravatar image The information given in this website is very clear to understand. The information was really helped me for my project.
general retail pharmacy spot - general retail pharmacy spot   2011-06-15 05:47:44
Gravatar image This treatment is winning; the procedures are great which really helped in maintaining the correct impulses to trigger pain impulses.
secure weightloss pill - secure weightloss pill   2011-06-15 05:48:26
Gravatar image Wow!!! What a post it is!!! I have never been to this website ever before. Have never seen it before, thanks for the blog post guys!!!
Jeremyel - X-Rumer 7.0 - best software for advertising !   2011-09-30 11:44:32
Gravatar image XRumer 5 free does not work , where to download X-Rumer 7.0?
write a private message or ICQ 42654589
phybribeneeli - On which websites can I create websites free of ch   2011-10-11 22:06:02
Gravatar image I need some help. I want to make one project but I have a problem: please give me somebody some links to the websites using which I can make my website for free. I really appreciate any help.
PICTSMAGTIG - raza   2012-01-29 18:35:06
Gravatar image ###########
Read more...
Name:
Email:
  Gravatar enabled.
Website:
Title:
UBBCode:
[b] [i] [u] [url] [quote] [code] [img] 
 
 
:angry::0:confused::cheer:B):evil::silly::dry::lol::kiss::D:pinch:
:(:shock::X:side::):P:unsure::woohoo::huh::whistle:;):s
:!::?::idea::arrow:
 
Security Image
Please input the anti-spam code that you can read in the image.
Unsubscribe from e-mail notifications.
 
< Prev
Subscribe

7402 readers subscribed here. Subscribe today!