帮忙看看这几行代码
我在做Reporting Service的时候,为了让报表在WEB页面居中显示,在原生成的代码上加了2行(红色部分),但系统总是提示错误,请帮忙看看呀,本人不太懂网页代码。
<Body>
<div style="text-align: center;">
<ReportItems>
<Tablix Name="Tablix5">
<TablixCorner>
。。。。。。
</div>
</Body>
报错显示:
警告 1 元素 命名空间“http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition”中的“Body”。 的子元素 命名空间“http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition”中的“div”。 无效。应为可能元素的列表: 命名空间“http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition”中的“ReportItems, Height, Style”。 以及 命名空间“##other”中的任意元素。