Page 1 of 1

HTML 5 header tag [Solved]

Posted: Thu Sep 02, 2010 6:18 am
by drcreazy
Hi all! I have some mystical bug in page template  with tag, maybe somebody can help me :)

Template code :

Code: Select all

{process_pagedata}
<!DOCTYPE html>
<__html lang="es">

</__body onload="">
	<!-- head -->
	<table style="width:1000px;  margin:0px auto;">
		<tbody>
			<tr>
				<td id="h11"><td>
				<td id="h12"><td>
				<td id="h13"><td>
				<td id="h14"><td>
			</tr>
			<tr>
				<td id="h21"><td>
				<td id="h22"><td>
				<td id="h23">
					<div style="position:relative">
						<div id="head">

						</div>
					</div>
				<td>
				<td id="h24"><td>
			</tr>
			<tr>
				<td id="h31"><td>
				<td id="h32"><td>
				<td id="h33"><td>
				<td id="h34"><td>
			</tr>
			<tr>
				<td id="h41"><td>
				<td id="h42">
				<div style="position:relative">
				</div>
				<td>
				<td id="h43"><td>
				<td id="h44"><td>
			</tr>
		</tbody>
	</table>
	<table style="width:1000px;  margin:0px auto;">
		<tbody>
			<tr>
				<td id="h51"><td>
				<td><td>
			</tr>
		</tbody>
	</table>
	<!-- center -->
	<table style="width:1000px;  margin:0px auto;">
		<tbody>
			<tr>
				<!-- left menu -->
				<td width="250" valign="top">
					<nav id="leftmenu" style="position:relative">
					</nav>
					<div id="search">
						<div class="psp" >
						</div>
						<div class="member">
						</div>
					</div>
				</td>




				<!--  center -->
				<td valign="top">
                                     <div id="center-content">
zzz
                                              <header><h1>Header</h1></header>
xxxx

                                     </div>
				</td>
			</tr>
		</tbody>

</table>
<__body>
Result page doesn't contain and xxxx string, but if I remove tag all works perfectly.

Image

test page : http://satana-kozel.ru/test.html

Re: HTML 5 header tag

Posted: Thu Sep 02, 2010 10:30 am
by alby
I try with:

Code: Select all

{process_pagedata}<!DOCTYPE html>
<__html lang="en">
<head></head>
</__body>
  <div>
zzz
    <header><h1>Header</h1></header>
xxxx
{content}

  </div>
<__body>
</__html>
and works for me

Alby

Re: HTML 5 header tag

Posted: Thu Sep 02, 2010 3:00 pm
by drcreazy
Yes, in other template all works nice but if you try copy my template, you also get  mystical bug

Re: HTML 5 header tag

Posted: Thu Sep 02, 2010 3:18 pm
by alby
drcreazy wrote:
{process_pagedata}







































































                                     
zzz
                                              Header
xxxx

                                     







Have you tried with a strict html?  ;)

Alby

Re: HTML 5 header tag

Posted: Thu Sep 02, 2010 5:14 pm
by drcreazy
great thanks you, Alby

I just place header in global content tag, and it not work.

Your code is work, I think my entry code is wrong

{global_content name='header'}

Code: Select all

<head>
	<title>{title}</title>
	<meta charset="utf-8" />
	<meta http-equiv="X-UA-Compatible" content="chrome=1">
	<link rel="stylesheet" href="css/standart.css" type="text/css" />
	<link rel="stylesheet" href="css/color.css" type="text/css" />
	<link rel="stylesheet" href="css/main.css" type="text/css" />

	<!--[if IE]>
		<__script__ src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></__script><![endif]-->

	<!--[if lte IE 7]>
		<link rel="stylesheet" type="text/css" media="all" href="css/ie.css"/>
		<__script__ src="js/IE8.js" type="text/javascript"></__script><![endif]-->

	<!--[if lt IE 7]>
	<link rel="stylesheet" type="text/css" media="all" href="css/ie6.css"/><![endif]-->
	<__script__ type="text/javascript" src="js/jquery-1.4.2.min.js"></__script>
	<__script__ type="text/javascript" src="js/jquery.corner.js"></__script>
	<__script__ type="text/javascript" src="js/engine.js"></__script>

</head>


Re: HTML 5 header tag [Solved]

Posted: Thu Sep 02, 2010 5:34 pm
by drcreazy
I insert head code directly without global content block and all work as should

Re: HTML 5 header tag [Solved]

Posted: Thu Sep 02, 2010 8:30 pm
by Dr.CSS
  is not html tag/code...

Re: HTML 5 header tag [Solved]

Posted: Thu Sep 02, 2010 8:34 pm
by Ziggywigged
Dr.CSS wrote:   is not html tag/code...
It is in HTML 5.