#1
  1. Mmmm...Donkey punch...
    Devshed Novice (500 - 999 posts)

    Join Date
    Jun 2004
    Location
    All up in your grill
    Posts
    981
    Rep Power
    43

    White space around SSI's


    Is there a way to remove the row of whitespace that's happening either above or below all of my SSI files?
  2. #2
  3. Contributing User
    Devshed Beginner (1000 - 1499 posts)

    Join Date
    Apr 2000
    Posts
    1,058
    Rep Power
    22
    A code snippet of the SSI with a few lines before and after would help. Or, a link to the site or screenshot of the problem would make it easier to understand the problem.

    wdn2k
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2004
    Posts
    144
    Rep Power
    11

    Easy...


    Simply don't have any white-space around your SSI directives, and make sure that the files you include don't generate any blank lines.
    Code:
    <!--#include virtual="header.shtml"--><h1>Welcome</h1>
    <p>this is a paragraph</p>
    <hr><!--#include virtual="footer.shtml"-->

IMN logo majestic logo threadwatch logo seochat tools logo