WordPress.org

Support

Support » Plugins and Hacks » Include Me » Include-Me – extra spaces

Include-Me – extra spaces

  • Include-Me works as advertised and a great little utility. Unfortunately,
    Iam getting extra spacess (about 3-4 lines) after an the include is added to a post.

    here is what I am using:
    [includeme src=”../date.html” style=”font-family: arial, helvetica, sans-serif; font-size: x-large”]

    Shouldn’t I have the next line of content follow right after the include?
    Any suggestions would be helpful.

    http://wordpress.org/plugins/include-me/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Stefano Lissa

    @satollo

    You kind of inclusion is an iframe, not a file inclusion. Probably your theme have some margin set for the iframe… and the iframe itself, internally, have margins since it’s showing a text.

    Evaluate to do a file inclusion not a iframe inclusion.

    Thanks for response. It probably is the inclusion file, but I don’t see anything that would add the line breaks, paragraphs, or spaces.

    I used the HTML inclusion because I was having a problem getting the right size and font to render on page. Here’s my html inclusion file:

    <title>Untitled Document</title>
    <style type=”text/css”>
    .standardfonts {
    font-family: Arial, HelveticaNeue;
    }
    </style>
    </head>

    <body>
    <div align=”center”>
    <h3 class=”standardfonts”>March 20, 2014
    </h3>
    </div>
    </body>
    </html>

    (If I could have rendered the fonts, etc from within WordPress, I would
    have gone that way.

    Plugin Author Stefano Lissa

    @satollo

    You cannot include a full html file in this way… you must use the iframe mode to include such piece of file.

    What are you trying to obtain form that inclusion?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Include-Me – extra spaces’ is closed to new replies.
Skip to toolbar