Мы сталкиваемся с очень странным поведением И.Е. 8 на компьютере WinXP.
Если мы установим фоновое изображение на css и загрузим css после установки в заголовке некоторых jQuery, наш браузер вылетит.
После прочтения некоторых вещей в интернете мы заметим, что если вы загружаете jQuery перед тем, как включить css с фоновым изображением (и изображение находится в файловой системе в текущем каталоге, конечно же!) Такого рода (или выпуска) МИЗ Сбой браузера.
Разве это не странно?
Кто-то может сказать нам, почему?
Edit:
Это код .css:
body { background: #650303 url('../images/bg_body.jpg') repeat-x top; }
Это включение:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4 /strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $lang; ?>" lang="<?php echo $lang; ?>" >
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="robots" content="index, follow" />
<meta name="keywords" content="Florence Hotel Orto de' Medici, florence hotels italy, hotels florence, hotels in florence, hotel florence, hotel in florence, florence hotel, florence, firenze, alberghi firenze, hotel firenze, hotel florenz, hotel florence, florence, florenz, hoteles florencia, accommodation florence, florence accommodation, accommodation in florence, lodging florence, florence accomodation,ponte vecchio, ponte vecchio hotel,duomo hotel, uffizi hotel, bed and breakfast, bed & breakfast" />
<meta name="description" content="Florence Hotel Orto de' Medici: The central position of the Hotel, its well appointed banqueting suits, make it ideal for private functions such as business meetings, wedding receptions and cocktails parties." />
<title>Florence Hotel Orto de' Medici - <?php echo $titles["booking"][$_GET["lang"]]; ?></title>
<link href="favicon.ico" rel="shortcut icon" type="image/x-icon" />
<link rel="stylesheet" href="modules/mod_jweather/tmpl/mod_jweather.css" type="text/css" />
<link rel="stylesheet" href="modules/mod_jflanguageselection/tmpl/mod_jflanguageselection.css" type="text/css" />
<link rel="stylesheet" href="templates/brown2011/css/template.css" type="text/css" />
<?php require_once($PHP_LIBS_FOLDER."/common_libs/u3_head.php"); ?>
<!--[if lt IE 7]>
<script type="text/javascript" src="templates/brown2011/js/unitpngfix.js"></script>
<![endif]-->
<!--[if IE ]>
<link rel="stylesheet" href="templates/brown2011/css/IEtemplate.css" type="text/css" />
<![endif]-->
</head>
Проблема в этой ссылке
<link rel="stylesheet" href="templates/brown2011/css/template.css" type="text/css" />