If the Option "Enable JavaScript + CSS + NoScript protection" is enabled invalid HTML Syntax results:

A "style" element is being placed in the "body" section instead of inside "head".

The element shown below was found in a context where it is not allowed by the DOCTYPE Declaration ('body' instead of 'head').

The CSS Style placed in the wrong section is: (below)

  <style type="text/css">
    /**
     * Override style of seckit.no_body.css to show div with message
     */
    body {
      display: block !important;
    }
    /**
     * Set style of div with message
     * "Sorry, you need to enable JavaScript to visit this website."
     * so it hides all site behind itself.
     */
    #seckit-noscript-tag {
      background-color: white;
      position: fixed;
      top: 0px;
      left: 0px;
      height: 100% !important;
      width: 100% !important;
      z-index: 999 !important;
      font-family: sans-serif;
      font-weight: bold;
      color: red;
      text-align: center;
      padding-top: 20px;
    }
  </style>

Peter

Peter Bowey Computer Solutions

Comments

p0deje’s picture

Assigned: Unassigned » p0deje
Status: Active » Fixed

Fixed in 4827914

p0deje’s picture

Status: Fixed » Closed (fixed)