Sunday, August 1, 2010

Week 3: Reconstruct Site


From the image above, I had to reconstruct that site. To see the whole site, you can click on the site below:
http://casabasa.com/web/mm2213_wk1.html




From the 3 images above, are the finish on from the website above.

Note: the 3 images are different, first one is home, second one is study schedules and the last one is student's info.

Other Note: the website that is suppose to be link for the finish one is still on under-construction

CSS Code:

/* CSS Document */

html {
height:100%; /* fix height to 100% for IE */
max-height:100%; /* fix height for other browsers */
padding:0; /*remove padding */
margin:0; /* remove margins */
border:0; /* remove borders */
background:#FFF; /*color background - only works in IE */
font-size:76%; /*set default font size */
font-family:georgia, "palatino linotype", "times new roman", serif; /* set default font */
/* hide overflow:hidden from IE5/Mac */
/* \*/
overflow:hidden; /*get rid of scroll bars in IE */
/* */
}
body {
height:100%; /* fix height to 100% for IE */
max-height:100%; /* fix height for other browsers */
overflow:hidden; /*get rid of scroll bars in IE */
padding:0; /*remove padding */
margin:0; /* remove margins */
border:0; /* remove borders */
}
#content {
overflow:auto; /* add scroll bars as necessary */
position:absolute; /* position absolutely */
z-index:3; /* If required to cover any other divs */
top:97px; /* a value to miss the header */
bottom:50px; /* a value to miss the footer */
left:200px; /* a value to miss any navigation div */
right:0; /* this will put the scroll bar at the right of the page */
background:#0F9; /* set the background color */
}
* html #content {
height:100%; /* full screen height */
width:100%; /* full screen width 8/
top:0; /* place the content at the top */
left:89px; /* and left of the body */
border-top:100px solid #fff; /*add a top border to miss the header
(this is SUBTRACTED from the 100% height on quirks mode) */
border-bottom:50px solid #fff; /*add a bottom border to miss the footer
(this is SUBTRACTED from the 100% height on quirks mode) */
border-left:200px solid #fff; /*add a left border to miss any navigation div
(this is SUBTRACTED from the 100% width on quirks mode) */
}
#head {
position:absolute;
margin:0;
top:0;
left:1px;
display:block;
width:100%;
height:100px;
background-position: center;
background-repeat:no-repeat;
font-size:4em;
z-index:5;
overflow:hidden;
color:#000;
background-color: #0F9;
}
#foot {
position:absolute;
margin:0;
bottom:-4px;
left:-69px;
display:block;
width:100%;
height:50px;
font-size:1em;
z-index:5;
overflow:hidden;
background:#0F9;
color:#000;
padding-left: 150px;
padding-top: 10px;
}
#left {
position:absolute;
left:2px;
top:100px;
bottom:50px;
width:200px;
background-repeat:no-repeat;
font-size:1.2em;
z-index:4;
overflow:auto;
background-repeat:no-repeat;
background-color: #0F9;
}

* html #left {
height:100%; top:-10px; bottom:0;
border-top:100px solid #fff;
border-bottom:50px solid #fff; color:#fff;
}

#content p {padding:10px;}
.bold {font-size:1.2em; font-weight:bold;}

dd {display:none;}
a.nav, a.nav:visited {
margin-left:50px;
display:block;
width:100px;
height:50px;
background:none;
color:#000;
border:1px solid #000;
text-decoration:none;
text-align:center;
line-height:25px;
}
a.nav:hover {background:#000; color:#fff;}
a:link {
text-decoration: none;
}
a:visited {
text-decoration: none;
}
a:hover {
background-color: #FFFFCC;
}
a:active {
text-decoration: none;
}
/*
CSS layout © 2004/5/6 Stuart Nicholls
*/

Note again: finish page for this is under-construction, sorry

No comments:

Post a Comment