Totally obsessed...

A nice pullquote

I’m a pullquote, a snippet of content what I am doing is to catching your attention.

When you are writing something and intend to catching attention of readers, put a pullquote as a snippet of preview the content is getting popular on blogs/websites. Both pullquote & blockquote are widely uses on newspapers, magazines, NYtimes.com is an actual web-based media to taking look at them.

This article will show how to get a pullquote with CSS. Technically, pullquote is different from blockquote, it is not a HTML element, which means we should markup it in HTML with heading element such as <h4> or <h5> and we use CSS to define it in a way you want.

Here is markup:

<h4 class="pullquote">I'm a pullquote, a snippet of content.</h4>

and put the following to CSS file, those will control how it looks like:

.pullquote {
padding: 10px;
float: right;
width: 200px;
margin:10px 0 10px 10px;
border-top:2px solid #ffc300;
border-bottom:2px solid #ffc300;
text-align: center;
line-height: 22px;
font-family: georgia, verdana, Arial, Helvetica, sans-serif;
color:#ccc;}

It’s all done! A nice pullquote will work just fine with your content of website/blog, enjoy.


31 Comments So far, want to say something?

  1. 非常的漂亮啊!暂时不知道应该用在何处

    Aug 24th, 2007 at 8:58 am
  2. 比较适合用于highlight内容重点,文章结构复杂时用处很大。

    Aug 24th, 2007 at 4:16 pm
  3. 不怎么明白,能说具体点嘛

    Aug 24th, 2007 at 5:37 pm
  4. 你被点名拉!!速度SHOW桌面!!

    Aug 25th, 2007 at 1:28 pm
  5. @sumlei, 其实pullquote就是一个用于文章中吸引人的一个snippet, 用处嘛,其实并不大,但如果用了,文章更灵活易读,尤其是长篇效果明显,可以让reader马上知道你要说什么。不过我似乎用到的时候不多,呵呵

    点名接受了,明天准备,今天喝多了

    Aug 25th, 2007 at 4:22 pm
  6. Hello;

    I like your theme and it has inspired me to make a similar theme for my site. What is the best way to do this? I usually modify others themes to suit the color scheme and layout I want not creating one from scratch. Are there any source files I can use to have a look? or any resources you recomend?

    Thanks alot

    Luke
    New Zealand

    Aug 27th, 2007 at 3:58 am
  7. Beans

    Hey, is there some reason your Yankee hat has been flipped horizontally?

    Aug 27th, 2007 at 9:16 pm
  8. Luke, thank you. Sometime modify some other template to fit your own is a quiet good way to start learning. Once you have decided to make something brand new on your own iterms I suggest you to read those relevant tutorials:
    http://www.wpdesigner.com/category/tutorials/

    I hope this can be help :)

    Aug 28th, 2007 at 5:27 pm
  9. - Beans, Sharp! I made flip on the hat because there was an object masked some part of it, something like a bottle or whatever it is (I forgotten already). Thanks for remind me on this, maybe it’s time to fix this problem.

    Aug 28th, 2007 at 5:33 pm
  10. teddy

    Merci pour cette astuce, je suis tombé dessus par hasard et je l’apprécie. (en passant super design ton blog)

    Aug 29th, 2007 at 2:38 pm
  11. Hey,
    Nice tip.
    I already “borrowed” it and started to use.
    Great stuff!

    Aug 29th, 2007 at 10:05 pm
  12. Why wouldn’t you use the blockquote tag? I don’t get it.

    Incidentally, if you want some nice pull quote examples, I have collected some together here: http://www.smileycat.com/design_elements/pull_quotes/

    Sep 10th, 2007 at 9:20 pm
  13. hey i like your idea of a pullquote. I will most definitely use it on my own blog. awesome. thank you. regards from austria. philipp

    Oct 3rd, 2007 at 7:18 am
  14. Beautiful weblog!

    Oct 30th, 2007 at 12:41 pm
  15. Fubiz, thank you :)

    Oct 30th, 2007 at 1:08 pm
  16. Very nice blog! Design is beautifull. Very good tip as well. thanks.

    Dec 6th, 2007 at 1:26 am
  17. Nice redesign, yet another time, but you’ve forgotten the “home”-link. I have bookmarked this site and there is no obvios way to go back to the start page. Fix that please. ;)

    Mar 12th, 2008 at 9:22 pm
  18. @Thomas, thanks for the comment, yep, it’s so odd without a home link, currently I’m revamping my header part, update soon. thank you :)

    Mar 13th, 2008 at 5:22 am
  19. Hi

    I like your logo. It very impressive, many thanks. Good resources here. Thanks!

    Bye

    Apr 9th, 2008 at 9:48 am

Leave a Reply