快速报告将报告转换为HTML

时间:2013-04-30 10:19:25

标签: javascript html css fastreport

我试图让报告在HTML中看起来很好,就像有图像和那些图像文本重叠它们一样,问题是当我在FastReport中将报表转换为HTML时,它会将所有图像移动到不与任何其他图像重叠对象

所以问题是,有没有办法在报告中编辑Css / JScrip以使图像显示为我想要的?喜欢添加:

img
{
margin-right:-1px;
}

.test
{
margin-right:-1px;
}

<img class='test'>

但我不能手动编辑它我需要快速报告来执行它,功能,事件或任何可能的方式,如果它是可能的。

谢谢。

这是我从Fast Report获得的:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name=Generator content="FastReport 4.0 http://fast-report.com">

<title>100</title>
<style type="text/css"><!-- 
.page_break {page-break-before: always;}
.s0 {
 font-family: Arial;
 font-size: 13px;
 color: #000000; font-style: normal;
 background-color: #FFFFFF;
 text-align: Left; vertical-align: Top;
}
--></style>
</head>
<body
 bgcolor="#FFFFFF" text="#000000">

<a name="PageN1"></a>
<table width="798" border="1" cellspacing="0" cellpadding="0">
<tr style="height: 1px"><td width="359"/><td width="2"/><td width="437"/></tr>
<tr style="height:161px">
<td class="s0" style="font-size:1px"><img src="http://i44.tinypic.com/29kqot1.jpg" width="805" height="571" alt=""></td>
</tr>

<tr style="height:251px">
<td  class="s1">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat</td>
</tr>

</table>
</body></html>

我想把文字放在图片上方,但是无法做到,我尝试了快速报告中的所有内容。 我绑定了Divide The Images,但问题是HTML中的图像之间有1px的空间,这就是为什么我需要Margin-right:-1px但是无法完成它,

1 个答案:

答案 0 :(得分:2)

我们从快速报告中更改了HTMLExport的来源,以防万一有人遇到这个问题。

相关问题