Menu

#2 HTML string keeps showing up

open
5
2001-10-13
2001-10-12
Asparagirl
No

The HTML string "<HEAD><META HTTP-EQUIV="Pragma"
CONTENT="no-cache"><META HTTP-EQUIV="Expires"
CONTENT="-1"></HEAD>" keeps showing up at both the
bottom and the top of various pages in the site, such
as main.html (view the source). This is screwing
things up for me. :-)

Please fix this!

- Asparagirl

Discussion

  • Andy Green

    Andy Green - 2001-10-13
    • labels: --> Compatability
    • assigned_to: nobody --> warmcat
    • status: open --> pending
     
  • Andy Green

    Andy Green - 2001-10-13

    Logged In: YES
    user_id=314764

    This is indeed a bug, but not mine :) See
    http://support.microsoft.com/support/kb/articles/Q222/0/64.
    ASP which shows that without this construction Nographer
    will not work properly in some versions of IE.

    Can you give more details of how this is screwing things
    up? Maybe we can work around it.

     
  • Asparagirl

    Asparagirl - 2001-10-13
    • status: pending --> open
     
  • Asparagirl

    Asparagirl - 2001-10-13

    Logged In: YES
    user_id=269053

    It was causing problems because the string...

    <META HTTP-EQUIV="Pragma" CONTENT="no-cache"><META HTTP-EQUIV="Expires" CONTENT="-1">

    ...should indeed be included between the <head> and </head> tags. But the string, complete with its own
    <head> and </head> tags is being included at the top and bottom of all the pages, as opposed to being
    inserted into the appropriate place on the page. That is, every page should indeed have this string, but
    should only have one occurrance of the <head> and </head> tags, which should be towards the top of the
    page Whatever the first instance of the head tags is on page wil be counted as the main instance. So if
    you're including it for a total of three times on a page (at the top, at the proper point, and at the bottom),
    then only the top one gets read and the rest get ignored.

    However, the only reason I noticed this and thought it was a bug was because of the CSS issue. I was
    trying to include a call to a CSS stylesheet into the theme I was making. This is done between the <head>
    and </head> tags on a page. But because every page already had a head section, the browser would read
    that one first, and not the one I had written, so my call to the CSS file was being ignored.

    In any case, this should be fixed now that you say that you're adding CSS support to Nographer, so I guess
    it's a totally moot issue now, but I just wanted to explain. :-)

    - Asparagirl

     

Log in to post a comment.