G
G
Governor2017-12-05 03:24:33
Browsers
Governor, 2017-12-05 03:24:33

Why is iexplorer not friendly with OpenServer?

Why doesn't iexplorer render the page correctly on the OpenServer local server?
I have a file - index.php:

<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <title>Document</title>
  <style>
    body{margin:0; }
    header{height:60px; background:red;}
  </style>
</head>
<body>
  <header>
    ЭТО ХЭДЕР
  </header>
</body>
</html>

If you open it in the explorer, the caps seem to be gone. In general, almost all styles are ignored, except for those that relate to the body. But if you copy the same text and open it in a file on the desktop (without OpenServer) .html, then everything is displayed fine.
does anyone know what the joke is?
I have win7, 11 version ie.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Timofeev, 2017-12-05
@webinar

ie is not friendly with people and html.
OpenServer has nothing to do with it, it just renders html, and it doesn't care what browser renders it.
So either the problem is in ie or in the html that your OServer renders, but not in their compatibility.
Check if all tags are closed, in particular, your meta is not closed, it shouldn't be, but does ie know about it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question