I'm confused. I have a very explicit margin set in my CSS for print output. Yet the actual output seems to do what it wants.
This is the CSS:
And this is what I see in the Print Preview mode (also what prints out):
IOW, I clearly specified 0.5in left margin, yet Flare makes it 1.0in. Why,, Flare, why?
Content margins not what they are defined in CSS
-
- Sr. Propeller Head
- Posts: 225
- Joined: Wed May 30, 2018 2:40 pm
Content margins not what they are defined in CSS
You do not have the required permissions to view the files attached to this post.
Re: Content margins not what they are defined in CSS
You should be able to use the style inspector in Flare to see what it's inheriting and from where. Also you misspelled 'hyphens'
-
- Senior Propellus Maximus
- Posts: 2632
- Joined: Wed Apr 14, 2010 8:01 am
- Location: Surrey, UK
Re: Content margins not what they are defined in CSS
Have you got a "padding" setting somewhere in the default medium? Padding sometimes sneaks in there and is added to the margin setting. Try specifying "padding: 0;" in that bit of the stylesheet you've shown us and see what happens. Maybe a bit rough and ready, but it might get you started.
Started as a newbie with Flare 6.1, now using Flare 2023.
Report bugs at http://www.madcapsoftware.com/bugs/submit.aspx.
Request features at https://www.madcapsoftware.com/feedback ... quest.aspx
Report bugs at http://www.madcapsoftware.com/bugs/submit.aspx.
Request features at https://www.madcapsoftware.com/feedback ... quest.aspx
-
- Sr. Propeller Head
- Posts: 225
- Joined: Wed May 30, 2018 2:40 pm
Re: Content margins not what they are defined in CSS
I think I found it. I had a 0.5in. margin in the body element. It looks like when I defined a 0.5in margin in the p element, it added to the margin defined in the body element.ChoccieMuffin wrote:Have you got a "padding" setting somewhere in the default medium? Padding sometimes sneaks in there and is added to the margin setting. Try specifying "padding: 0;" in that bit of the stylesheet you've shown us and see what happens. Maybe a bit rough and ready, but it might get you started.
-
- Senior Propellus Maximus
- Posts: 2632
- Joined: Wed Apr 14, 2010 8:01 am
- Location: Surrey, UK
Re: Content margins not what they are defined in CSS
Glad you found it. I often get tangled with padding and margin, so it's worth keeping in mind the Box model in Flare. This help topic has a diagram of the order of content, padding, border and margin - I have drawn it onto a PostIt note and stuck it to my wall!
http://help.madcapsoftware.com/flare201 ... Images.htm
http://help.madcapsoftware.com/flare201 ... Images.htm
Started as a newbie with Flare 6.1, now using Flare 2023.
Report bugs at http://www.madcapsoftware.com/bugs/submit.aspx.
Request features at https://www.madcapsoftware.com/feedback ... quest.aspx
Report bugs at http://www.madcapsoftware.com/bugs/submit.aspx.
Request features at https://www.madcapsoftware.com/feedback ... quest.aspx