CSS3 PIE Forums
http://css3pie.com/forum/

PIE and real XHTML
http://css3pie.com/forum/viewtopic.php?f=3&t=1771
Page 1 of 1

Author:  SunBlack [ Fri Aug 31, 2012 5:56 pm ]
Post subject:  PIE and real XHTML

Hello,

we are forced to use XHTML(5), because we are using XForms. So must send as HTTP-Header that we are we have a XML document (withput it XForms don't work).

My problem now: I want now to use PIE. PIE works, as long I don't send XHTML-HTTP-Header. But if I send XHTML-HTTP-Header PIE is doing nothing anymore.

Any idea how to solve the problem?

Code:
<?php
   header("Content-Type: application/xhtml+xml; charset=utf-8"); //uncomment this line of code and it works, but we need this
?>

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
   <title>bla</title>
</head>
<body style="-pie-background: linear-gradient(#EEFF99, #66EE33); behavior: url('PIE.htc');">
   dsadasd
</body>
</html>

Page 1 of 1 All times are UTC - 7 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/