How to trun off display the CFCOL header in CFTABLE
Posted on 2006-11-11
Using CFTABLE below creates an empty line for each text file found with cfdirectory. I've been able to turn off the actual name but where the name should be is still a line feed, horribly screwing up my page, ending up with far too many empty lines on my page, and pushes my resulting #keywords# variable far down the page. I don't need the attributes of cfdirectory or cftable.
How can I turn off the hidden "NAME" display of CFTABLE and therefore the blank line feeds?
<CFDIRECTORY DIRECTORY="c:\keywords" NAME="myDirectory" filter="*.txt">
<CFCOL HEADER="NAME:" TEXT="">
<form name="form1" method="post" action="">
<cfloop query = "mydirectory">
<input type="submit" name="SubmitButton" value="submit">
<cffile action="read" file="c:\keywords\#Filename# " variable="keywords">
I've been able to workaround this by using a DIV statement and an absolute page setting with CSS, but would rather solve the actual problem, if possible.