Difference between revisions of "Team:Hong Kong UCCKE/HTML Test"

Line 102: Line 102:
 
function validate5() {
 
function validate5() {
 
         if (document.getElementById('rightmargin').checked) {
 
         if (document.getElementById('rightmargin').checked) {
             document.getElementById("content").style.width= "initial";
+
             document.getElementById("content").style.width= "950px";
 
         } else {
 
         } else {
             document.getElementById("sideMenu").style.width= "950px";
+
             document.getElementById("content").style.width= "initial";
 
         }
 
         }
 
     }
 
     }

Revision as of 05:47, 20 June 2016

Edit this page

H1 Heading

H2 Heading

H3 Heading

#top_title { display: none; }

The above code hides the top title and logo bar.

Show top title and logo bar

#top_menu_14 { display: none; }

The above code hides the top nav bar.

Show top nav bar

#top_menu_under { display: none; } #content { margin-left: 0px; }

The above code removes all margin of the content.

Show margin

#sideMenu { display: none; }

The above code hides the side menu

Show side menu

#content { width: initial; }

The above code hides the right margin.

Show right margin