[WordPress]Page gets broken on IE When Index.php is splitted to sidebar-header-footer

Discussion in 'PHP' started by mhmtozek, Apr 5, 2008.

  1. #1
    I guess the title were very informative. However, here is more detailed information about the problem I am having.

    I do have one (index.php) and want to split it into;

    Index.php
    Sidebar.php
    Header.php
    Footer.php

    IE seems to leave an ekstra line break exactly on the place where I write, <?php get_header(); ?> or <?php get_sidebar(); ?>. Has anyone faced with such a problem and know how to fix it?

    If I missed something, or the problem is not clear enough, I can provide a screenshot for you.

    A quick answer is highly appreciated
     
    mhmtozek, Apr 5, 2008 IP
  2. mhmtozek

    mhmtozek Peon

    Messages:
    380
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Little bit more turning around helped me out to find the solution.

    Document was saved in UTF 8 (not UTF 8 witout BOM) format and that was the reason of problem. Saving it as UTF 8 without BOM solved my problem
     
    mhmtozek, Apr 5, 2008 IP