HTML页面上的面板控件 [英] Panel Control on HTML page

查看:76
本文介绍了HTML页面上的面板控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在HTML页面上的Panel控件上出现错误。它说这个结束标记没有匹配的开始标记。它仍在工作,但当我查看HTML中的代码时,它就会出现。为什么会这样?如何清除它?



I am getting an error on the Panel control on the HTML page. it says that This end tag has no matching start tag. It is still working but it gets to me when I look at the code in HTML. Why is this happening? How can i clear it out?

  1  <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WordFormA.aspx.cs" Inherits="SACSCOCLogin1._1.WebForm1" %>
  2  
  3  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  4  
  5  <html xmlns="http://www.w3.org/1999/xhtml">
  6  <head  runat="server">
  7      <title></title>
  8      <style>
  9  @media print {
 10  .header, .hide { visibility: hidden }
 11  }
 12     </style>
 13  <style type="text/css">
 14          .style1
 15          {
 16              font-size: x-large;
 17              text-align: center;
 18          }
 19          .style2
 20          {
 21              width: 100%;
 22          }
 23          .style11
 24          {
 25              height: 23px;
 26          text-align: left;
 27      }
 28          .newStyle1
 29          {
 30          }
 31          .style3
 32          {
 33              width: 100%;
 34          }
 35          .style35
 36          {
 37              width: 469px;
 38              font-weight: bold;
 39              font-size: large;
 40          }
 41          .style36
 42          {
 43          width: 469px;
 44          text-align: left;
 45      }
 46          .style49
 47          {
 48              font-size: x-large;
 49          }
 50          .style51
 51          {
 52              font-weight: bold;
 53              font-size: x-large;
 54              text-align: center;
 55          }
 56          .style52
 57          {
 58              width: 670px;
 59          }
 60          .style56
 61          {
 62              font-weight: bold;
 63              font-size: large;
 64              text-align: center;
 65          }
 66          .style59
 67      {
 68          font-size: medium;
 69          text-align: left;
 70      }
 71      .style62
 72      {
 73          text-align: left;
 74      }
 75      .style64
 76      {
 77          width: 136px;
 78          height: 55px;
 79      }
 80      .newStyle59
 81      {
 82      }
 83      .style69
 84      {
 85          font-size: medium;
 86      }
 87      .newStyle60
 88      {
 89      }
 90      .style70
 91      {
 92          text-align: left;
 93          width: 431px;
 94      }
 95      .newStyle61
 96      {
 97      }
 98      .style78
 99      {
100          font-size: medium;
101          text-align: left;
102          width: 258px;
103      }
104      </style>
105      <script language="javascript" type="text/javascript">
106  // <![CDATA[
107  
108          function Reset1_onclick() {
109  
110          }
111  
112  // 
113      </script>
114  </head>
115  <body background="Images/bkg-blu.jpg" bgcolor="#3399ff">
116      <form id="form1"  runat="server">
117      <div class="style1">
118      <asp:Panel ID="Panel1" runat="server">
119          <div style="text-align: left">
120              <table 
121  
122                  class="style2">
123                  <tr>
124                      <td style="text-align: left">
125                          <img alt="" class="style64" 
126  
127                              src="Images/e9210433_logo.jpg" />
128                      </td>
129                  </tr>
130              </table>
131                                                                          
132                                                                                                                         </div>
133          <span class="style49">Financial Profile 2013<br />
134          </span></div>
135                  
136       <asp:TextBox ID="TextBoxINST_ID" runat="server" Enabled="False" ReadOnly="True" 
137  
138          Visible="False"></asp:TextBox>
139                  
140      <asp:TextBox ID="TextBoxaccessLevel" runat="server" style="text-align: center" 
141  
142          Visible="False"></asp:TextBox>
143                  
144      <br />
145      <table class="style2">
146          <tr>
147              <td style="text-align: center">
148                  <asp:Label ID="lblSchool" runat="server" CssClass="style51"></asp:Label>
149              </td>
150          </tr>
151      </table>
152      <table class="style2">
153          <tr>
154              <td class="style52" style="text-align: right">
155                  <asp:Label ID="lblCity" runat="server" CssClass="style56"></asp:Label>
156                  ,</td>
157              <td style="text-align: left">
158   <asp:Label ID="lblState" runat="server" CssClass="style56"></asp:Label>
159              </td>
160          </tr>
161          </table>
162      <br />
163      <table class="style2">
164  
165          <tr>
166              <td class="style70">
167                  <span style="text-align: justify"><span class="style59">Total Revenues and Other 
168                  Additions </span></span></td>
169              <td style="text-align: left">
170                  <asp:TextBox ID="TextBoxTROA" runat="server" style="text-align: left" 
171  
172                      Width="180px" ToolTip="IPEDS Part B, line 25">0</asp:TextBox>
173                  </td>
174          </tr>
175      </table>
176      <br />
177      <table class="style2">
178          <tr>
179              <td class="style70">
180                  <span class="style59">Instruction </span></td>
181              <td class="style62">
182                  <asp:TextBox ID="TextBoxInstr" runat="server" Width="180px"></asp:TextBox>
183              </td>
184          </tr>
185          <tr>
186              <td class="style70">
187                  <span class="style59">Research </span></td>
188              <td class="style11">
189                  <asp:TextBox ID="TextBoxRes" runat="server" Width="180px" 
190  
191                      ToolTip="IPEDS Part C, Line 02, Column 01">0</asp:TextBox>
192              </td>
193          </tr>
194          <tr>
195              <td class="style70">
196                  <span class="style59">Public Service </span></td>
197              <td class="style62">
198                  <asp:TextBox ID="TextBoxPubS" runat="server" Width="180px" 
199  
200                      ToolTip="IPEDS Part C, Line 03, Column 01">0</asp:TextBox>
201              </td>
202          </tr>
203          <tr>
204              <td class="style70">
205                  <span class="style59">Academic Support </span></td>
206              <td class="style62">
207                  <asp:TextBox ID="TextBoxAcad" runat="server" Width="180px" 
208  
209                      ToolTip="IPEDS Part C, Line 05, Column 01">0</asp:TextBox>
210              </td>
211          </tr>
212          <tr>
213              <td class="style70">
214                  <span class="style59">Student Services </span></td>
215              <td class="style62">
216                  <asp:TextBox ID="TextBoxStudS" runat="server" Width="180px" 
217  
218                      ToolTip="IPEDS Part C, Line 06, Column 01">0</asp:TextBox>
219              </td>
220          </tr>
221          <tr>
222              <td class="style70">
223                  <span class="style59">Institutional Support </span></td>
224              <td class="style62">
225                  <asp:TextBox ID="TextBoxInstiS" runat="server" Width="180px" 
226  
227                      ToolTip="IPEDS Part C, Line 07, Column 01">0</asp:TextBox>
228              </td>
229          </tr>
230          <tr>
231              <td class="style70">
232                  <span class="style59">Operation & Maintenance of Plant </span></td>
233              <td class="style62">
234                  <asp:TextBox ID="TextBoxOperM" runat="server" Width="180px" 
235  
236                      ToolTip="IPEDS Part C, Line 08, Column 01">0</asp:TextBox>
237              </td>
238          </tr>
239          <tr>
240              <td class="style70">
241                  <span class="style59">Scholarships & Fellowships, Excluding Discounts & 
242                  Allowances </span></td>
243              <td class="style62">
244                  <asp:TextBox ID="TextBoxSFEDA" runat="server" Width="180px" 
245  
246                      ToolTip="IPEDS Part C, Line 10, Column 01">0</asp:TextBox>
247              </td>
248          </tr>
249          <tr>
250              <td class="style70">
251                  <span class="style59">Auxiliary Enterprises </span></td>
252              <td class="style62">
253                  <asp:TextBox ID="TextBoxAuxE" runat="server" Width="180px" 
254  
255                      ToolTip="IPEDS Part C, Line 11, Column 01">0</asp:TextBox>
256              </td>
257          </tr>
258          <tr>
259              <td class="style70">
260                  <span class="style59">Hospital Services </span></td>
261              <td class="style62">
262                  <asp:TextBox ID="TextBoxHosS" runat="server" Width="180px" 
263  
264                      ToolTip="IPEDS Part C, Line 12, Column 01">0</asp:TextBox>
265              </td>
266          </tr>
267          <tr>
268              <td class="style70">
269                  <span class="style59">Independent Operations </span></td>
270              <td class="style62">
271                  <asp:TextBox ID="TextBoxIndeO" runat="server" Width="180px" 
272  
273                      ToolTip="IPEDS Part C, Line 13, Column 01">0</asp:TextBox>
274              </td>
275          </tr>
276          <tr>
277              <td class="style70">
278                  <span class="style59">Other Expenses & Deductions </span></td>
279              <td class="style62">
280                  <asp:TextBox ID="TextBoxOED" runat="server" Width="180px" 
281  
282                      ToolTip="IPEDS Part C, Line 14, Column 01">0</asp:TextBox>
283              </td>
284          </tr>
285          </table>
286      <br />
287      <table class="style3">
288          <tr>
289              <td class="style78">
290                  <span class="style69">Financial Indicators</span></td>
291              <td class="style35">
292                             
293                  </td>
294          </tr>
295          <tr>
296              <td class="style78">
297                  <span class="style59">Total Assets</span></td>
298              <td class="style36">
299                  <asp:TextBox ID="TextBoxTA" runat="server" Width="180px">0</asp:TextBox>
300              </td>
301          </tr>
302          <tr>
303              <td class="style78">
304                  <span class="style59">Total Liabilities</span></td>
305              <td class="style36">
306                  <asp:TextBox ID="TextBoxTL" runat="server" Width="180px">0</asp:TextBox>
307              </td>
308          </tr>
309          <tr>
310              <td class="style78">
311                  <span class="style59">Nonexpendable/Permanently Restricted Net Assets</span></td>
312              <td class="style36">
313                  <asp:TextBox ID="TextBoxNPRNA" runat="server" Width="180px">0</asp:TextBox>
314              </td>
315          </tr>
316          <tr>
317              <td class="style78">
318                  <span class="style59">Expendable/Temporarily Restricted Net Assets</span></td>
319              <td class="style36">
320                  <asp:TextBox ID="TextBoxETRNA" runat="server" Width="180px">0</asp:TextBox>
321              </td>
322          </tr>
323          <tr>
324              <td class="style78">
325                  <span class="style59">Total Unrestricted Net Assets</span></td>
326              <td class="style36">
327                  <asp:TextBox ID="TextBoxTUNA" runat="server" Width="180px">0</asp:TextBox>
328              </td>
329          </tr>
330          <tr>
331              <td class="style78">
332                  <span class="style59">Total Revenue</span></td>
333              <td class="style36">
334                  <asp:TextBox ID="TextBoxTR" runat="server" Width="180px">0</asp:TextBox>
335              </td>
336          </tr>
337          <tr>
338              <td class="style78">
339                  <span class="style59">Tuition and Fees, Net</span></td>
340              <td class="style36">
341                  <asp:TextBox ID="TextBoxTFN" runat="server" Width="180px">0</asp:TextBox>
342              </td>
343          </tr>
344          <tr>
345              <td class="style78">
346                  <span class="style59">Current Debt</span></td>
347              <td class="style36">
348                  <asp:TextBox ID="TextBoxCD" runat="server" Width="180px">0</asp:TextBox>
349              </td>
350          </tr>
351          <tr>
352              <td class="style78">
353                  <span class="style59">Long-term Debt</span></td>
354              <td class="style36">
355                  <asp:TextBox ID="TextBoxLTD" runat="server" Width="180px">0</asp:TextBox>
356              </td>
357          </tr>
358      </table>
359      <br />
360      </asp:Panel>
361      <br />
362      <table class="style2">
363          <tr>
364              <td style="text-align: center">
365                  <asp:Button ID="ButtonPrint" runat="server" onclick="ButtonPrint_Click" 
366  
367                      style="text-align: center" Text="Print" Width="121px" />
368              </td>
369          </tr>
370      </table>
371      <br />
372      <br />
373      </form>
374      </body>
375  </html>

推荐答案

Removing all the ’sparks’ you can see a wrongly nested div-panel pair...



Removing all the 'sparks' you can see a wrongly nested div-panel pair...

<div class="style1">
  <asp:panel id="Panel1" runat="server">
    </div>
  </asp:Panel>


这篇关于HTML页面上的面板控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆