I am using HTML5-Reset in my pages in a ColdFusion application. The head tag looks like this:
<head id="swipeapp" data-template-set="html5-reset">
There is also a <cfform>
in the page. Browsers ignore data-template-set
and id
and print the content on the browser itself. I figured out that this is because of <cfforms>
and found that adding <cfcontent type="text/html; charset=utf-8">
solves this problem.
With that change, the page works on Chrome and Firefox, but the html5-reset also gets removed. The alignment and styles go for a toss in IE 7 and 8.
Is there any work around to keep the html5-reset
and use cfforms
?