• Resolved markoburns

    (@markoburns)


    I notice when I view html source I have a lot of blank lines before it starts with the doctype declaration. ( about 23 blank lines) (default kubrick template)

    My header php file seems fine though and starts:

    <?php
    /**
     * @package WordPress
     * @subpackage Default_Theme
     */
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    and index.php just has:

    <?php
    /**
     * @package WordPress
     * @subpackage Default_Theme
     */
    get_header(); ?>

    Any idea where this empty space resides and where is would be being created from so I can delete it?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘empty lines before source doctype’ is closed to new replies.