View Single Post
Old 09-04-2007, 03:02 PM  
Tempest
Too lazy to set a custom title
 
Industry Role:
Join Date: May 2004
Location: West Coast, Canada.
Posts: 10,217
Question... when using on page javascript and styles, you'd comment it out so that it wouldn't fuck up on some browsers.... eg:

Code:
<style type="text/css"><!--
--></style>
<script language="JavaScript" type="text/javascript"><!--
// --></script>
How are you supposed to do that on the newer XML/XHTML doc types?

Like this???

Code:
<style type="text/css"><![CDATA[
]]></style>
<script language="JavaScript" type="text/javascript">// <![CDATA[
// ]]></script>
or???
Tempest is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote