[TYPO3-english] TemplaVoilà changes tags

Jigal van Hemert jigal.van.hemert at typo3.org
Thu Aug 7 10:14:43 CEST 2014


Hi,

On 7-8-2014 1:39, Mathias Hübscher wrote:
> I think it is not a Browser problem. Here is my original template:
> http://huebscher-style.de/gewerbevereintest/template.html

This is the block in the template as I see it in the source of Firefox:

---------------------------------
		<link rel="stylesheet" type="text/css" href="css/main.css" media="all" />
		
		<!--[if gt IE 9|!(IE)]><!-->
		<link rel="stylesheet" type="text/css" href="css/mobilemenu.css" 
media="all" />
		<link rel="stylesheet" href="responsive-nav/responsive-nav.css">
		<script src="responsive-nav/responsive-nav.min.js"></script>
		<script src="javascript/jquery.js"></script>
		<script src="javascript/fadeSlideShow.js"></script>
		<script src="javascript/own.js"></script>
		<script src="javascript/respond.min.js"></script>
		<!--<![endif]-->

		<meta name="viewport" content="width=device-width,initial-scale=1">
	</head>
---------------------------------

> And here is the page in Typo3:
> http://gewerbeverein.cet-media.de

Corresponding block in the sources of that page viewed with Firefox:

---------------------------------



	<meta name="viewport" content="width=device-width,initial-scale=1" />
<!--[if gt IE 9|!(IE)]><!-->
<link rel="stylesheet" type="text/css" 
href="fileadmin/templates/css/mobilemenu.css" media="all" />
<link rel="stylesheet" 
href="fileadmin/templates/responsive-nav/responsive-nav.css">
<script 
src="fileadmin/templates/responsive-nav/responsive-nav.min.js"></script>
<script src="fileadmin/templates/javascript/jquery.js"></script>
<script src="fileadmin/templates/javascript/fadeSlideShow.js"></script>
<script src="fileadmin/templates/javascript/own.js"></script>
<!--<![endif]-->


</head>
---------------------------------

The meta tag was moved, the URL's were rewritten and the indenting was 
changed, but other that that your weird conditional comments (they are 
still not looking like Microsoft says they should look) are exactly the 
same as in the template.

My conclusion would be that your browser is modifying your source code 
view. My guess would be that the weird syntax of the conditional comment 
is triggering something in the browser. Could you try to correct that? 
(See previous posts for correct syntax)

-- 
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3 .... inspiring people to share!
Get involved: typo3.org


More information about the TYPO3-english mailing list