Spacing for a company address

This forum is for all Flare issues related to styles, stylesheets and XML.

Spacing for a company address

Postby andrew_s on Fri Mar 09, 2018 3:00 pm

Hi,

I'm sure this is a very basic question but I'm drawing a complete blank on how to do this.

I want to add our company name, street address, city/province/postal code/phone number each on a separate line, just like you would address an envelope.

However if I start with a <p> tag, then hit Enter after each line, obviously the next line will show with the normal spacing between <p>, which is wrong because I want them with single spacing.

How can this be done? Thanks.
andrew_s
Propeller Head
 
Posts: 43
Joined: Tue Sep 07, 2010 11:43 am
Location: Toronto

Re: Spacing for a company address

Postby Niels on Fri Mar 09, 2018 5:11 pm

Being a propeller head myself with currently no way to try out, I just guess that one of the following approaches could solve this:
  • Use shift+enter, which will break the line within one "p"
  • Apply some style derived from "p" where you define a smaller spacing
But then I think it also depends on whether you generate print or online output.
Niels
Propeller Head
 
Posts: 39
Joined: Thu Dec 15, 2016 8:41 am
Location: Stuttgart

Re: Spacing for a company address

Postby andrew_s on Mon Mar 12, 2018 6:37 am

Thanks, Niels. I tried that, actually, but it didn't seem to do the trick, at least not for me. (Update: it DID do the trick. :lol: )
I figured that the only way would be to create a new <p> style, I will try that today.
We generate both print and online output, but for this particular case it would be PDF only.
I'll give it a shot.
Last edited by andrew_s on Tue Mar 13, 2018 6:46 am, edited 1 time in total.
andrew_s
Propeller Head
 
Posts: 43
Joined: Tue Sep 07, 2010 11:43 am
Location: Toronto

Re: Spacing for a company address

Postby andrew_s on Mon Mar 12, 2018 10:30 am

Shift+Enter did the trick.
Thanks.
andrew_s
Propeller Head
 
Posts: 43
Joined: Tue Sep 07, 2010 11:43 am
Location: Toronto

Re: Spacing for a company address

Postby ChoccieMuffin on Tue Mar 13, 2018 3:54 am

Alternatively, use a div.
Started as a newbie with Flare 6.1, now using Flare 2018.
Report bugs at http://www.madcapsoftware.com/bugs/submit.aspx.
Request features at https://www.madcapsoftware.com/feedback ... quest.aspx
ChoccieMuffin
Propellus Maximus
 
Posts: 1790
Joined: Wed Apr 14, 2010 8:01 am

Re: Spacing for a company address

Postby andrew_s on Tue Mar 13, 2018 6:41 am

ChoccieMuffin wrote:Alternatively, use a div.


Yeah, that was going to be my second option. But Shift+Enter seemed to work fine.

Thanks.
andrew_s
Propeller Head
 
Posts: 43
Joined: Tue Sep 07, 2010 11:43 am
Location: Toronto


Return to Styles, Stylesheets and XML

Who is online

Users browsing this forum: Google [Bot] and 5 guests