Jump to content
  • 0

Проблема в структуре HTML документа


banyman
 Share

Question

Здравстивуйте!

Возникла такая странная проблема, которую никак сам не могу решить.......

Опыть веб разработок 5 лет. И тут вдруг такая штука:

Строю html документ

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ru" lang="ru" dir="ltr">
<head>
<title>Заголовок</title>
<meta name="keywords" content="слова">
<meta name="description" content="описание»">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link type="text/css" rel="stylesheet" media="all" href="/css/style.css" />
<script type="text/javascript" src="/scripts/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="/scripts/jquery.tools.min.js"></script>
<script type="text/javascript" src="/scripts/jscroller2-1.61.js"></script>
<script type="text/javascript" src="/scripts/script.js"></script>
<!--[if lte IE 6]>
<link type="text/css" rel="stylesheet" media="all" href="/css/style-ie6.css" />
<script type="text/javascript" src="/scripts/DD_belatedPNG_0.0.8a-min.js"></script>
<script>
$(document).ready(function(){
DD_belatedPNG.fix('.slider a.left, .slider a.right, #header div.dasnur, #catalog .itm a, #header .header-menu .menu .item .titemactive .ttitem, .close, img');
});

</script>
<![endif]-->
<!--[if IE]>
<link type="text/css" rel="stylesheet" media="all" href="/css/style-ie.css" />
<![endif]-->

</head>
<BODY>
<div id="container">

Все верно?

И в инсходнике браузера все так же...... но дизайн сайта весь едет в IE7

Смотрою в DebugBar 5

<HTML sizcache="9" sizset="0" jQuery1261843773457="17">
<HEAD>
<TITLE>Заголовок</TITLE></HEAD>

<BODY sizcache="9" sizset="0" jQuery1261843773457="16">
<META content="слова" name=keywords>
<META content="описание»" name=description>
<LINK media=all href="/css/style.css" type=text/css rel=stylesheet>
<script src="/scripts/jquery-1.3.2.min.js" type=text/javascript></SCRIPT>

<script src="/scripts/jquery.tools.min.js" type=text/javascript></SCRIPT>

<script src="/scripts/jscroller2-1.61.js" type=text/javascript></SCRIPT>

<script src="/scripts/script.js" type=text/javascript></SCRIPT>
<LINK media=all href="/css/style-ie.css" type=text/css rel=stylesheet>

и FireBug 1.4 аналогично выводятся мета теги после тега BODY

Как можно решить эту пррблему? Уже все перепробовал и гугл полистал.......

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0
Опыть веб разработок 5 лет. И тут вдруг такая штука:

Ни за что в жизни не поверю!

	<meta name="keywords" content="слова">
<meta name="description" content="описание»">

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy