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

"Jan Frits Vegter" <[email protected]>
Newsgroups gmane.comp.web.html-tidy.user
Message-ID <[email protected]>
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: [email protected] [mailto:[email protected]] 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!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.