【问题标题】:Is there any tool to validate the .aspx page nesting & styling structure?是否有任何工具可以验证 .aspx 页面嵌套和样式结构?
【发布时间】:2013-01-31 13:08:52
【问题描述】:

我正在开发一个基于 Web 的应用程序。 我有一个 .aspx 页面,其中包括 html、css、javascript 和 asp.net 控件。

以下是嵌套元素/标签的情况:

  1. asp:面板
  2. asp:UpdatePanel
  3. div

我使用了如下各种嵌套组合:

  1. <asp:Panel>
    <asp:UpdatePanel>
       <table></table>

    </asp:UpdatePanel>
 </asp:Panel>

 2. <table>
    <asp:Panel>
    <asp:UpdatePanel> 
         <table></table>
     <asp:UpdatePanel>
   </asp:Panel>
 </table>

 3. <asp:Panel>
 <asp:UpdatePanel> 
         <table></table>
     <asp:UpdatePanel>
 </asp:Panel>

 4. <table>
   <asp:UpdatePanel>
      <table>
        <asp:Panel></asp:Panel>
     </table>
    </asp:UpdatePanel>
 </table>

 5. <table>
   <asp:UpdatePanel>
      <table>
        <div></div>
     </table>
   </asp:UpdatePanel>
  </table>

但是当我使用这样的结构时,页面回发时不会应用 css 样式。

问题: 有没有什么聪明的方法来识别一个合适的结构。有什么工具吗?或者我使用过的任何不支持的格式? 请帮助我解决此页面结构问题。 因为每次手动做这些东西,很烦人。

编辑:或有关页面结构、嵌套和行为的任何信息。

【问题讨论】:

    标签: asp.net html css nested


    【解决方案1】:

    您可以使用 Visual Studio Express 版本

    设计师可以帮你验证你的结构

    链接:http://www.microsoft.com/france/visual-studio/essayez/express.aspx

    【讨论】:

    猜你喜欢
    • 2010-09-08
    • 1970-01-01
    • 1970-01-01
    • 2017-04-11
    • 1970-01-01
    • 2020-05-13
    • 1970-01-01
    • 1970-01-01
    • 2021-02-06
    相关资源
    最近更新 更多