ColdFusion Custom Tag Header and Footer Demo

jump to content

Examples

Add Inline CSS

Add Inline CSS to header, change this text to blue:

<cfsavecontent variable="saveThisCSS">
<style type="text/css" media="all">
#container #content p {
	color:blue;
}
</style>
</cfsavecontent>
	
<cf_demoHeader title="main"  inhead="#saveThisCSS#" headermenuitems="#headerMenuItemsArray#" sideMenuItems="#sideMenuItemsArray#">
	<h2>Add Inline CSS to header, change this text to blue:</h2>
	...content here...
<cf_demoFooter>

Inline CSS content has been added to HTML.