Borykam się z następującym problemem. Stworzyłem funkcje z szablonami strony
function nagl_HTML($title){
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pl-pl" lang="pl-pl">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="robots" content="index, follow" />
<meta name="" />
<meta name="description" content="" />
<title>
<?php echo $title." - ZERWA ";?></title>
<link rel="stylesheet" type="text/css" href="jqueryslidemenu.css" />
<!–[if lte IE 7]>
<style type="text/css">
html .jqueryslidemenu{height: 1%;} /*Holly Hack for IE7 and below*/
</style>
<![endif]–>
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="jqueryslidemenu.js"></script>
<link rel="stylesheet" type="text/css" href="/" />
<!-- Arquivos utilizados pelo jQuery lightBox plugin -->
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/jquery.lightbox-0.5.js"></script>
<link rel="stylesheet" type="text/css" href="css/jquery.lightbox-0.5.css" media="screen" />
<!-- / fim dos arquivos utilizados pelo jQuery lightBox plugin -->
<script type="text/javascript">
$(function() {
$('#gallery a').lightBox();
});
</script>
<script src="/zerwa/js/slide.js" type="text/javascript"></script>
</head>
<?php }
function up_HTML(){?>
<body>
<div id="general">
<div id="top">
.....
W firebugu w ff wszystko gra, znaczniki są na swoim miejscu, ale wiadomo ff lubi "wybaczac" wiele błędów.
Problem z chrome - po załadowaniu strony w tamtejszym firebugu znaczniki przechodzą do body tak, że struktura strony wygląda mniej więcej tak:
"
"
....
....
Patrzyłem się w źródle strony w chromie, tam struktura jest w jak najlepszym porządku.
O żadnym złym domknięciu też nie może byc mowy.
Czym to może byc spowodowane?