W3C home > Mailing lists > Public > html-tidy@w3.org > July to September 2009

RE: how can I disable <style> element's movement?

From: Jan Frits Vegter <janfrits@seznam.cz>
Date: Fri, 18 Sep 2009 09:58:21 +0200
To: <shirui@comsenz.com>, "'html-tidy'" <html-tidy@w3.org>
Message-ID: <E1MoYMw-0000iF-9u@maggie.w3.org>
The  <style> xxx </style> are supposed to be in the head

 

But if you want it in the page try

 

<div style="">  

 

</div>

Greetings

Jan Frits Vegter

 

 

  _____  

From: html-tidy-request@w3.org [mailto:html-tidy-request@w3.org] On Behalf
Of ??
Sent: Friday, September 18, 2009 6:54 AM
To: html-tidy
Subject: how can I disable <style> element's movement?

 

input:

 

<div>

<style>

xxx

</style>

</div>

 

tidy output:

 

<html>

<head>

<style>

xxx

</style>

</head>

<body>

<div></div>

</body>

</html>

 

but I want this:

 

<html>

<head>

</head>

<body>

<div>

<style>

xxx

</style>

</div>

</body>

</html>

 

How can I disable the style element's movement? Thanks a lot!

 
Received on Friday, 18 September 2009 08:50:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:59 GMT