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

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

From: (wrong string) 风色 <shirui@gmail.com>
Date: Fri, 18 Sep 2009 13:59:06 +0800
Message-ID: <ff2f00c30909172259k61313a12p58ecb63df68d2a3d@mail.gmail.com>
To: html-tidy@w3.org
*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 06:47:33 GMT

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