Paragraph or heading style with leading picture?

This forum is for all Flare issues related to styles, stylesheets and XML.
Post Reply
pleiman
Jr. Propeller Head
Posts: 4
Joined: Fri May 09, 2008 4:21 am

Paragraph or heading style with leading picture?

Post by pleiman »

Hi
Does anyone no wether it is possible to create a paragraph or heading style which contains a "leading" picture?
Situation is the following: I would like to insert an icon at the beginning of certain paragraphs and it would be much easier if I just had to apply a paragraph style instead of inserting a picture. It would also help a lot in case the picture had to be replaced.
Any ideas?
Thank you
Andrea
LTinker68
Master Propellus Maximus
Posts: 7247
Joined: Thu Feb 16, 2006 9:38 pm

Re: Paragraph or heading style with leading picture?

Post by LTinker68 »

Yes. Add a background image to the class and set it to not repeat. Then set either the padding-left property so that all the text (as a block) is moved to the right to not cover that image, or set the text-indent property so that only the first line is moved to the right.
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
pleiman
Jr. Propeller Head
Posts: 4
Joined: Fri May 09, 2008 4:21 am

Re: Paragraph or heading style with leading picture?

Post by pleiman »

It works! Thanks for your help.
Andrea
Post Reply