* {margin:0; padding:0;}
body, div, span, p, a, img, ul, ol, li, caption, table, thead, tbody, tfoot, tr, th, td, form, fieldset, legend, label, dl, dt, dd, blockquote, applet, object, h1, h2, h3, h4, h5 {
	border:0;
}
body {
	font:0.8em/1.5 "arial",sans-serif;
	text-align:center;
}

h1, h2, h3, h4, h5, h6 {margin:15px 0 10px 0; font-family:"arial",sans-serif;}

p, table, ul, ol, dl, fieldset {
	margin-top: 5px;
	margin-right: 0;
	margin-bottom: 5px;
	margin-left: 0;
}

table {
	border-collapse:collapse;
	border-spacing:0;
	font-size:100%;
	margin: 0px;
}
th {
	text-align:left;
	font-weight:bold;
	padding: 10px;
}
th, td {
	padding: 2px;
}

ul, ol {margin-left:30px;}
ul ul, ol ol {
	margin:0;
	margin-left:20px;
}
ol {list-style-type:decimal;}
li {display:list-item;}

dt {font-weight:bold;}
dd {margin-left:30px;}

fieldset {position:relative; padding:10px;}
legend {position:absolute; top:-1em; margin:0; padding:5px 10px; font-size:100%; font-weight:bold;}

/* ----------------------------------------------------------------------------------------------------------
2) Universal styles (display, float, margin, text-align...)
---------------------------------------------------------------------------------------------------------- */

.box {
	min-height:1px;
}
.box:after {display:block; visibility:hidden; clear:both; line-height:0; font-size:0; content:".";}

.relative {position:relative;}

.clear {
	clear:both;
}

.f-left {float:left !important;} img.f-left {
	float:left;
	margin-right:10px;
	width: auto;
}
.f-right {float:right !important;} img.f-right {float:right; margin-left:10px;}

.t-left {text-align:left !important;}
.t-center {text-align:center !important;}
.t-right {text-align:right !important;}
.t-justify {text-align:justify !important;}

.va-top {vertical-align:top;}
.va-middle {vertical-align:middle;}
.va-bottom {vertical-align:bottom;}

.nom {margin:0 !important;}
.nomt {margin-top:0 !important;}
.nomb {margin-bottom:0 !important;}

.noscreen {
	display:none;
}
#navcontainer {
	height: 30px;
}


    .bigger {
	font-size:100%;
	font-weight: bold;
	text-transform: capitalize;
	color: #FFF;
	text-decoration: none;
	display: inline;
	text-align: center;
}
.bigger:hover {
	color: #DDD;
}

    .smaller {font-size:85%;}

/* ----------------------------------------------------------------------------------------------------------
3) Generally HTML styles (table, ul, dl...)
---------------------------------------------------------------------------------------------------------- */

ul.ul-style01 {
	list-style:none;
	margin-top: 2px;
	margin-right: 0;
	margin-bottom: 10px;
	margin-left: 10px;
}
ul.ul-style01 li {
	padding-left:12px;
	background:url("../design/ul-style01.gif") 0 5px no-repeat;
}
ul.ul-style01 ul {margin:0; list-style:none;}
ul.ul-style01 ul li {
	padding-left:12px;
	background:url("../design/ul-style01.gif") 0 5px no-repeat;
}

/* ----------------------------------------------------------------------------------------------------------
4) Layout
---------------------------------------------------------------------------------------------------------- */

.main {
	position:relative;
	width:960px;
	text-align:left;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
}

	#header {
	overflow:hidden;
	padding-top: 30px;
	padding-right: 0;
	padding-bottom: 15px;
	padding-left: 0;
	width: auto;
}

        #logo {margin:0; margin-bottom:3px; font:normal 260%/1.2 "arial",sans-serif; letter-spacing:-1px;}
        #logo span {font-weight:bold;}
        #logo a {text-decoration:none;}

        #slogan {margin:0;}

    #nav {clear:both; background:url("../design/nav.gif") 0 0 repeat-x;}
    #nav ul {margin:0; padding:0; list-style:none;}
    #nav li {display:inline; margin:0; padding:0;}
    #nav li a {display:block; float:left; padding:10px 20px; text-decoration:underline; font-weight:bold;}
    #nav li#nav-active a {font-weight:bold; text-decoration:none;}
	   
    #cols .main {
	padding-bottom:15px;
	background-image: url(../../design/aside.gif);
	background-repeat: repeat-y;
	background-position: 100% 0;
}

    	#content {
	float:left;
	width:700px;
}
    	#content p {text-align:justify;}
    	
    	#content-in {padding-left:15px;}

            #content h1 {margin:0; margin-bottom:10px; font-size:160%; letter-spacing:-1px;}
            #content h2, #content h3, #content h4 {margin-bottom:0; margin-bottom:10px; font-size:140%; letter-spacing:-1px;}
            #content h3, #content h4 {letter-spacing:0; font-size:120%;}
                            
    	#aside {float:right; width:244px; padding-right:1px; overflow:hidden;}
    	
    	   #aside h3 {padding-right:15px; background:url("../design/arrow.gif") 100% 50% no-repeat; font-size:100%;}
    	   #aside ul {margin:5px 0 15px 0; padding:0; list-style:none;}
    	   #aside ul li {margin:0; padding:4px 10px 4px 0;}
	#footer {clear:both; padding:15px 0;}
    #footer p {margin:0;}
#navcontainer ul
{
	text-align: center;
	margin-top: 0;
	/* cancels gap caused by top padding in Opera 7.54 */
margin-left: 0;
	background-color: #F2F2EE;
	color: #4D4D3C;
	width: auto;
	font-family: Arial, Helvetica, sans-serif;
	padding-top: 5px;
	padding-bottom: 5px;
	line-height: 20px;
	padding-left: 0px;
/* fixes Firefox 0.9.3 */
}

#navcontainer ul li
{
	display: inline;
	padding-left: 0;
	padding-right: 0;
	padding-bottom: 3px;
	/* matches link padding except for left and right */
padding-top: 3px;
}

#navcontainer ul li a
{
	padding-left: 10px;
	padding-right: 10px;
	padding-bottom: 5px;
	padding-top: 5px;
	color: #515140;
	text-decoration: none;
	border-right: 1px solid #fff;
	font-weight: bold;
	font-size: small;
}

#navcontainer ul li a:hover
{
	background-color: #369;
	color: #EEEEEE;
	font-size: small;
	font-weight: bold;
}

#navcontainer #active {
	border-top-width: thin;
	border-left-width: 2px;
	border-top-style: outset;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: outset;
	border-top-color: #39392D;
	border-right-color: #39392D;
	border-bottom-color: #39392D;
	border-left-color: #39392D;
	background-color: #A6A68C;
}


#overlappopup{ /*don't change id name */
position: absolute; /*don't change position property */
z-index: 1000;
background: white;
border: 2px solid black;
padding: 10px;
left: 0;
top: 0;
visibility: hidden;
}
<style type="text/css">

.curlycontainer{
border: 1px solid #b8b8b8;
margin-bottom: 1em;
width: 300px;
}

.curlycontainer .innerdiv{
	background: transparent url(media/brcorner.gif) bottom right no-repeat;
	position: relative;
	left: 2px;
	top: 2px;
	background-color: #EEEEEE;
	padding-top: 1px;
	padding-right: 4px;
	padding-bottom: 15px;
	padding-left: 5px;
}

.commentbox{
background-color: #ececec;
width: 175px;
padding: 10px;
}

.commentfooter{
background: url(media/arrow.gif) 20px 0 no-repeat; /*20px 0 equals horizontal and vertical position of arrow. Adjust as desired (ie: 20px -5px).*/
padding-left: 58px;
padding-top: 1px;
margin-bottom: 2em;
font-size: 8px;
color: #4A4A4A;
}


/* ----------------------------------------------------------------------------------------------------------
5) Page: Homepage
---------------------------------------------------------------------------------------------------------- */

#perex {
	margin-bottom:15px;
	padding:15px;
}

#perex p {margin:0;}                

.section {
	float:left;
	width:92px;
	overflow:hidden;
}
.section.margin {margin:0 5px;}
.section h3 {
	margin:0;
	padding:5px 15px;
	border:0 !important;
	background:url("../design/section.gif") 0 0 repeat-x;
	font-size:100%;
}
#add {
	font-family: Verdana, Geneva, sans-serif;
	background-image: url(../../EKool/teacher.jpg);
	font-size: 13px;
	background-repeat: no-repeat;
	background-position: right;
	padding-top: 5px;
	padding-right: 45px;
	padding-bottom: 5px;
	padding-left: 45px;
}
#add_new {
	display: run-in;
	margin: 5px;
	padding-top: 15px;
	padding-right: 45px;
	padding-bottom: 15px;
	padding-left: 45px;
}
