coldfusion / html在我的输出中有额外的破折号

时间:2015-03-14 18:48:36

标签: html coldfusion

我一直在追逐这个。我有一份报告在之前(现在仍然如此)正在工作但是输出突然获得了之前没有的破折号线。我搜索并搜索了这个问题。 Firebug显示破折号:

<div style="margin-top: -30px; margin-left: -50px">
<link href="betty.css" type="text/css" rel="stylesheet">
<style type="text/css">
@media print
{
table tr.page-break{page-break-before:always}
@page {margin: 2cm}
</style>
<p> rep2 496 </p>
- - - - - - - - -
<table class="reptable">
</div>

这就是正在发生的事情,但是我无法找到这些破折号,事实上甚至不是一个破折号,以防它是一个循环,在我的代码中的任何地方。那时我的代码:

<div style = "margin-top: -30px; margin-left: -50px">
<cfoutput> #custrep# </cfoutput>
</div>

不可能是问题。我创建custrep的代码如下所示:

<cfsavecontent variable = "custrep">
<link rel="stylesheet" type = "text/css" href ="betty.css"/>
<style type="text/css">    
 @media print
 {
 table tr.page-break{page-break-before:always}  
 @page {margin: 2cm} 
</style>
<p><cfoutput> rep2 496 </cfoutput> </p>
<table class = "reptable"  >
   lots of stuff
</table>  

您可以看到位于其上方的<p>与位于其下方的<table之间没有短划线。可复制的css

.reptable {

border-collapse:separate;
/*  border-spacing: 20px 0px;*/
border-spacing: 10px 0px;

} 

有人可以在这里提出建议,试图找到并摆脱这些额外的破折号吗?

0 个答案:

没有答案