Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

cfpresentation marginTop?

New Here ,
Dec 23, 2013 Dec 23, 2013

I'm trying to create Powerpoint files on the fly and all works well except for the placement of the content.  It seems to center the content vertically regardless of my margin settings.  Supposedly cfpresentationslide takes marginTop/Bottom/Right/Left as attributes, but it doesn't appear to affect the placement of the content.  The main problem is that I'd like to add my own header to the slide and have it statically located at the top of each slide.  This doesn't appear to be possible.  I've tried every HTML/CSS trick I know of.  Just outputting a simple "Hello World" yields a slide with several hundred pixels of white space at the top.  It almost like it saves room for the header by default, but doesn't give you any way to write into that area.

Anyone know of any tricks?

Thanks,

Eric Richardson

CF10 Standard

447
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 30, 2013 Dec 30, 2013
LATEST

I *kinda* figured out the problem here.  I had mindlessly left the "title=" attribute of cfpresentationslide to a variable which was resolving to an empty string.  Apparently whatever is in the title attribute gets put in the header.  So, even though it was blank, it was still reserving space for it and pushing my content down the slide.  Removing the title attribute fixes it so that my content can begin at the true top/left of the slide.  It still doesn't seem to respond to any marginTop/Bottom/Left/Right specifications, but I can control that with my content.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources