Hi,
I'm creating a guide that I need to produce print and web output for. I wasn't happy with the way the end of my web topics were looking, so I decided to add a p.EndOfTopic style that I use to create padding at the end of each topic. I created it in the non-print medium. I've verified that the margin-bottom for the non-print medium is set to 30pt. When I look at p.EndOfTopic in the print medium the margin-bottom property is set to 2pt. However, when I generate the PDF, I get a huge space between "topics" in my PDF.
I'm sure that the stylesheet medium in the PDF target is set to "print". However, I still see a the big space between topics.
Will I have to use conditional text to keep the web styles from invading the PDF output, or is there an easier way?
Thank you,
Hiding Style Intended for Web Output in Print Output
-
JenniferR
- Propeller Head
- Posts: 76
- Joined: Tue May 12, 2009 2:07 pm
- Location: California's Central Valley
Hiding Style Intended for Web Output in Print Output
Jennifer
"Whenever you find yourself on the side of the majority, it is time to pause and reflect." -- Mark Twain
"Whenever you find yourself on the side of the majority, it is time to pause and reflect." -- Mark Twain
Re: Hiding Style Intended for Web Output in Print Output
Any complex selectors in your stylesheet that could be inheriting some of that spacing?
Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
-
JenniferR
- Propeller Head
- Posts: 76
- Joined: Tue May 12, 2009 2:07 pm
- Location: California's Central Valley
Re: Hiding Style Intended for Web Output in Print Output
Hi Lisa,
I have ol ol, ul ul, etc. complex selectors. I'm not using them in this project. I'm using p.Bulleted for my lists. How can I tell if the complex selectors are interfering?
I have ol ol, ul ul, etc. complex selectors. I'm not using them in this project. I'm using p.Bulleted for my lists. How can I tell if the complex selectors are interfering?
Jennifer
"Whenever you find yourself on the side of the majority, it is time to pause and reflect." -- Mark Twain
"Whenever you find yourself on the side of the majority, it is time to pause and reflect." -- Mark Twain
Re: Hiding Style Intended for Web Output in Print Output
Is there a reason you're not using display:none to hide the p.EndOfTopic in your print medium? Does it contain some text or something you do not want to lose?
Flare v6.1 | Capture 4.0.0
-
JenniferR
- Propeller Head
- Posts: 76
- Joined: Tue May 12, 2009 2:07 pm
- Location: California's Central Valley
Re: Hiding Style Intended for Web Output in Print Output
Hi Andrew,
There's no reason that I'm not using display: none other than it didn't occur to me? Is that a property in the stylesheet?
There's no reason that I'm not using display: none other than it didn't occur to me? Is that a property in the stylesheet?
Jennifer
"Whenever you find yourself on the side of the majority, it is time to pause and reflect." -- Mark Twain
"Whenever you find yourself on the side of the majority, it is time to pause and reflect." -- Mark Twain
Re: Hiding Style Intended for Web Output in Print Output
Excellent! That (hopefully) makes this easy.JenniferR wrote:Hi Andrew,
There's no reason that I'm not using display: none other than it didn't occur to me? Is that a property in the stylesheet?
Hope that helps,
Andrew
Flare v6.1 | Capture 4.0.0
-
JenniferR
- Propeller Head
- Posts: 76
- Joined: Tue May 12, 2009 2:07 pm
- Location: California's Central Valley
Re: Hiding Style Intended for Web Output in Print Output
Andrew,
Amazing! That did the trick. Thank you so much for the suggestion.
Amazing! That did the trick. Thank you so much for the suggestion.
Jennifer
"Whenever you find yourself on the side of the majority, it is time to pause and reflect." -- Mark Twain
"Whenever you find yourself on the side of the majority, it is time to pause and reflect." -- Mark Twain