zoukankan      html  css  js  c++  java
  • 主题和布局(Theme and Layout)Layout

             网站布局其实就是网页的框架结构喽,看看sina 的微博,个人主页那是个三栏的结构。

              Nopcommerce2.8支持三种Layout:

              单栏,双栏和三栏;分别定义在Views/Shared 目录的_ColumnsOne.cshtml,_ColumnsTwo.cshtml以及_ColumnsThree.cshtml中。他们三个还有一个”妈妈“,_Root.cshtml,而_Root.cshtml 又从_Root.Head.cshtml继承而来。

    Layout of _Root.cshtml 大概是这样的:

         

      他的css是这样放置的:

              

     一栏,双栏,三栏其实都是放在上图Body里。

             对于一栏来说,和_root 呈现的模样大致相同。

              

       两栏又可以有多种结构:

                图  两栏结构1                                                                               图2 两栏结构2

                              

    三栏:把body部分分作3块

                     图:         3栏1                                                                         图  3栏2

                   

  • 相关阅读:
    easyUI的formatter使用
    tomcat的CATALINA_HOME可以不用设置
    关于json解析中 解析多重json对象
    "i++"和"++i"浅析
    poj1050 To the Max(降维dp)
    2017年暑假ACM集训日志
    codevs1228 (dfs序+线段树)
    密钥登录服务器
    使用iwd联网
    idea和gradle创建android遇到的网络问题
  • 原文地址:https://www.cnblogs.com/xinchuang/p/3059030.html
Copyright © 2011-2022 走看看