Hi,
I'd like to make somehing like this in the body of my article : http://www.pixngraph.com/img/phrase.jpg
Is there a better solution than put a

sentence

?
Thanx in advance,
Cyprien

Comments

barrett’s picture

You're talking about the green box in that example, right? Does it need to be inserted automatically in every post or manually?

Either way, I think I'd add a special class into the css to format the div/p/whatever you define the section as with that color background and floating. Then you could either insert an element with that class manually in the code of the post or try to set an Action to do it for you.

WorldFallz’s picture

That's called a pullquote-- usually I do just as Barrett suggests by creating and styling a .pullquote class.

===
"Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime." - Lao Tzu
"God helps those who help themselves." - Ben Franklin
"Search is your best friend." - Worldfallz

cyprien2’s picture

Ok, thanx for the answer... I think that a module exist for that, i've seen it in a screencast but can't remember where...
Anyway, i will do it with a css class.

WorldFallz’s picture

Perhaps you mean the http://drupal.org/project/blockquote module? That's not exactly the same thing as a pullquote, but you could probably use it that way.

===
"Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime." - Lao Tzu
"God helps those who help themselves." - Ben Franklin
"Search is your best friend." - Worldfallz

david@thrale.com’s picture

A new module does exactly what you want. http://drupal.org/project/pullquote