/* 
    Document   : screen
    Created on : May 17, 2010, 9:54:05 AM
    Author     : mmangalisoamqomboti
    Description:
        Purpose of the stylesheet follows.
*/

/* 
Six of controling xhtml using css.
1. Declare an elemnt name (eg body)
2. Declare an id (eg #hedader)
3. Declare a class (eg .home)
4. Declare a content selector (eg #nav ul)
5. Declare a pseudo-class selector (eg a:link)
6. Use an attribute selector (eg a[title~=home])
*/

root {
    display: block;
}

body{
    background-color:#fff;
}

#background{
    width: 824px;
    height: 607px;
    margin: 0px auto 0px auto;
    background: url('../images/greySquare.gif') no-repeat top left;
    clear: both;
}

#header{
    width: 860px;

}

#header #search {
    width:250px;
    float: right;
}

#nav{
    width: 100%;
    background-color: #000;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    -moz-border-radius-topright: 4px;
    -moz-border-radius-topleft: 4px;
    -webkit-border-top-left-radius: 4px;
    -webkit-border-top-right-radius: 4px;
    -o-border-top-left-radius: 4px;
    -o-border-top-right-radius: 4px;
}

#nav ul {
    margin: 0;
    padding: 0 2px 0 0;
    font: medium "Palatino Linotype", "Book antiqua", Palatino, serif;

}

#nav li{
    display: inline;
    padding: 0;
    margin: 0;
    list-style-type: none;
    text-align: center;
}

/* style the links in the navigation bar */

#nav ul a{
    color:#FFF;
    display: inline-block;
    margin-left: 5px;
    text-decoration: none;
}

#nav a:link{
    color: #FFF;
}

#nav a:visitor{
    color: #FFF;
    outline: none;

}

#nav a:hover,
#nav a:focus
{
    color: #1C75BC;
}

.home #nav a[title~=Home]
.assignments #nav a[ttitle~=Assigments]
.videoprofiles #nav a[title~=Videosprofiles]
#nav a[title~=modules]
#nav a[title~=Illustrations]
#nav a[title~=Resume]
#nav a[title~=Newscasts]
#nav a[title~=Aboutme]
#nav a[title~=images]
#nav


#mainbox{
    width: 100%;
    height: 570px;

}

#textbox{


}

#imagebox{


}

#footer {
    width: 100%;
    margin-top: 10px;
}

#footer ul {
    margin: 0;
    padding: 0 2px 0 0;
    font: medium "Palatino Linotype", "Book antiqua", Palatino, serif;

}

#footer li{
    display: inline;
    padding: 0;
    margin: 0;
    list-style-type: none;
    text-align: center;
}

