Announcement

Collapse
No announcement yet.

Adding new meta tags for ie 10

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Adding new meta tags for ie 10

    Where and how cna I add a new meta tag that gets generated with my code everytime? I need the tag from http://msdn.microsoft.com/en-us/libr...(v=vs.85).aspx so I need the X-UA-Compatible to appear in every page in my header.
    This is due to the point that when you develop an applciation in scriptcase with a frame within a frame it will not appear properly (bottom buttons will fall off) if IE 9/10
    is in the wrong document mode (IE7 standards is the one that causes this to happen).
    Using that tag pages can be forced to show properly even if a frame is within a frame. Of course only ie has a problem, apparently I dont see another browser with such issues. But I cant force my users to use a proper browser.

    It would be great if come pieces of the generated code could be adjusted via smarty or something else, for example an OnRender event for every DOM.
    Last edited by rr; 01-27-2014, 10:38 AM.

  • #2
    Apparently sc7 generates this meta tag: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    The general comment to this is as follows:
    Youíd like to use the Standards mode, but you use sliced images in table layouts and donít want to fix them
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

    This gives you the Almost Standards mode. Please note that your layouts based on sliced images in tables are likely to break if you later move to HTML5 (and, hence, the full Standards mode), so itís better to make your designs Standards mode-compatible right now.
    See https://hsivonen.fi/doctype/ for more details...

    LOts of interesting info there..
    I want to be able to set my own doctype as a solution.... Maybe that would reolve issues with compatibility in IE 9 and 10....
    Preferable without hacking in the generated code of course......

    Anyone??

    Comment

    Working...
    X