The custom rule applies a stylesheet value based on the page you're on. Here's the include in which I'm using the container. When I enclose all HTML in cfoutputs, it doesn't display the value (stylesheet class and id attributes). But the white space problem is fixed.
However, when I enclose the whole HTML block in cfoutputs, including the container tags, it works but there's a ton of whitespace. I'm at a loss as to what could be causing it to behave in this way! Mike <!--- CODE /////////////////////////////////// ---> <cfsetting enablecfoutputonly="yes"> <cfimport taglib="/farcry/farcry_core/tags/container" prefix="con"> <cfoutput> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="#application.url.webroot#/css/ntpStyle.css" media="screen" /> <title>#application.config.general.sitetitle#: #attributes.pageTitle#</title> <cfmodule template="/farcry/#application.applicationname#/www/js/js_swapImages.cfm"> </head> <body> </cfoutput> <!--- Start header ---> <cfoutput> <table width="100%" cellspacing="0" cellpadding="0" border="0"> <tr> <td align="left" valign="top" colspan="2" background="images/ntp_web_topTableBG.gif"><img src="images/spacer.gif" width="1" height="20"></td> </tr> <tr> <td colspan="2" id="</cfoutput><con:container label="#caller.stobj.objectID#_sectionColors"><cfoutput>" class="</cfoutput><con:container label="#caller.stobj.objectID#_sectionColors"><cfoutput>" align="left" valign="top" colspan="2"><img src="images/spacer.gif" width="1" height="20"></td> </tr> <tr> <td width="85%" valign="top"> <table border="0" cellpadding="0" cellspacing="0"> <tr> <td valign="top"> <table cellspacing="0" cellpadding="0" border="0"> <tr> <td width="2%" rowspan="2" valign="top" align="right"><a href=""><img src="images/ntp_web_03.gif" width="237" height="72" alt="National Toxicology Program" border="0"></a></td> <td valign="top"><a href=""><img src="images/ntp_web_04.gif" width="400" height="73" alt="National Toxicology Program" border="0"></a></td> </tr> <tr> <td bgcolor=""><img src="images/spacer.gif" width="1" height="5" border="0"></td> </tr> </table> </td> </tr> </table> </td> <td rowspan="2" background="images/ntp_web_topWaterMark.gif"> </td> </tr> <tr> <td valign="top"> <cfmodule template="/farcry/#application.applicationname#/webskin/includes/_primaryNav.cfm"> </td> </tr> <tr> <td colspan="2" id="</cfoutput><con:container label="#caller.stobj.objectID#_sectionColors"><cfoutput>" class="</cfoutput><con:container label="#caller.stobj.objectID#_sectionColors"><cfoutput>" colspan="2"><img src="images/spacer.gif" width="1" height="5" border="0"></td> </tr> </table> </cfoutput> <!--- End header ---> <con:container label="#caller.stobj.objectID#_top"> <cfsetting enablecfoutputonly="no"> <!--- END CODE /////////////////////////////// ---> --- You are currently subscribed to farcry-dev as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia http://www.mxdu.com/ + 24-25 February, 2004
