• Resolved jesario

    (@jesario)


    Hello.

    When my WP page is rendered, the DOCTYPE declaration is not at the top of the page. This seems to only happen with Nextgen being used. Here is what it looks like:

    <meta name='robots' content='noindex,nofollow' />
    <meta name='NextGEN' content='0.98' />
    
    <style type="text/css" media="screen">@import "http://www.something.org/photos/wp-content/plugins/nextgen-gallery/css/nggallery.css";</style>
    <script type="text/javascript"> var tb_pathToImage = "http://www.something.org/photos/wp-content/plugins/nextgen-gallery/thickbox/loadingAnimationv3.gif";</script>
    <style type="text/css" media="screen">@import "http://www.something.org/photos/wp-content/plugins/nextgen-gallery/thickbox/thickbox.css";</style>
    <link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://www.something.org/photos/xmlrpc.php?rsd" />
    <link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://www.something.org/photos/wp-includes/wlwmanifest.xml" />
    <script type='text/javascript' src='http://www.something.org/photos/wp-includes/js/jquery/jquery.js?ver=1.2.6'></script>
    <script type='text/javascript' src='http://www.something.org/photos/wp-content/plugins/nextgen-gallery/thickbox/thickbox-pack.js?ver=3.1.1'></script>
    <script type='text/javascript' src='http://www.something.org/photos/wp-content/plugins/nextgen-gallery/admin/js/swfobject.js?ver=1.5'></script>
    <meta name="generator" content="WordPress 2.6.1" />
    
    <link rel="stylesheet" href="http://www.something.org/photos/wp-content/plugins/nextgen-imageflow/imageflow/screen.css" type="text/css" media="screen" />
    <script language="JavaScript" type="text/javascript" src="http://www.something.org/photos/wp-content/plugins/nextgen-imageflow/imageflow/imageflow.js"></script>
    <script type="text/javascript">
    var conf_reflection_p = 0.7;
    var conf_focus = 2;
    var conf_slider_width = 14;
    var conf_images_cursor = "pointer";
    var conf_slider_cursor = "e-resize";
    var conf_start_image = 3;
    </script>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    I think that the first meta tag is from the WP template file. Then comes the nextgen meta tag. Any reason why the DOCTYPE shows up so many lines below? When it is like this, IE won’t display things right. (So padding is missing, and I have other issues. Of course FF is fine.)

    Let me know if you need anything else.

    Any help would be greatly appreciated.

Viewing 1 replies (of 1 total)
  • Thread Starter jesario

    (@jesario)

    Found that in my Main Index Template (index.php) these were reversed:

    <?php get_header(); ?>
    <?php wp_head(); ?>

    (Above is the correct order.)

    I think I switched them when I was having problems with Imageflow. With these out of order, IE was an ever more unhappy browser. Now the DOCTYPE declaration is at the top.

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: NextGEN Gallery] DOCTYPE declaration appearing after Nextgen code causing CSS problems in I’ is closed to new replies.