Difference between revisions of "Template:UNC-Chapel Hill"

Line 14: Line 14:
 
   
 
   
 
}
 
}
                header {
+
     
            height: 50px;
+
            background: #F0F0F0;
+
          border: 1px solid #CCC;
+
        position: fixed;
+
          top: 0px;
+
        width: 100%;
+
}
+
+
  
 
/* Creates a container that will wrap all of the content inside your wiki pages. */
 
/* Creates a container that will wrap all of the content inside your wiki pages. */
Line 207: Line 199:
 
     }
 
     }
  
 
+
              .header {
 +
            height: 50px;
 +
            background: #F0F0F0;
 +
            border: 1px solid #CCC;
 +
            position: fixed;
 +
            top: 0px;
 +
            width: 100%;
 +
                }
 +
 
</style>
 
</style>
 
<!-- End of CSS -->
 
<!-- End of CSS -->
Line 213: Line 213:
  
 
<!-- Start of the template html elements. -->
 
<!-- Start of the template html elements. -->
<div id = "header"> </div>  
+
<div class = "header"> </div>  
 
<div id ="mainContainer"><!--The closing tag for mainContainer should be placed at the bottom of each content page.-->
 
<div id ="mainContainer"><!--The closing tag for mainContainer should be placed at the bottom of each content page.-->
  
Line 276: Line 276:
  
 
<!-- Start of content -->
 
<!-- Start of content -->
<div id="contentContainer"> <!--The closing tag for contentContainer should be placed at the bottom of each content page.-->
+
<div id="contentContainer"> <!--The closing tag for contentContainer should be placed at the bottom of each content page.--> </div>
 +
 
 
</html>
 
</html>

Revision as of 22:40, 5 June 2015