AbdelGawad (Talk | contribs) |
AbdelGawad (Talk | contribs) |
||
Line 107: | Line 107: | ||
+ | #header{ | ||
+ | background-color: white; | ||
+ | height: 65px; | ||
+ | position: absolute; | ||
+ | top: 0; | ||
+ | left: 0; | ||
+ | width: 100%; | ||
+ | } | ||
+ | |||
+ | |||
+ | #body{ | ||
+ | background-color: red; | ||
+ | width: 100&; | ||
+ | height: 40%; | ||
+ | position: absolute; | ||
+ | left: 50%; | ||
+ | margin-left: -300px; /* 50% over, then move back 300px to center... */ | ||
+ | } | ||
+ | |||
+ | |||
+ | #footer{ | ||
+ | background-color: orange; | ||
+ | height: 65px; | ||
+ | position: absolute; | ||
+ | bottom: 0; | ||
+ | left: 0; | ||
+ | width: 100%; | ||
+ | } | ||
Line 249: | Line 277: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
/********************************* HTML STYLING *********************************/ | /********************************* HTML STYLING *********************************/ |
Revision as of 01:56, 9 August 2017
Heloooooo