small problem
Posted: 01 April 2009 07:26 AM   [ Ignore ]
Newbie
Rank
Total Posts:  1
Joined  2009-04-01

ok i have a small rpoblem with my css not sure what it is i’ve tried several things to no avail my problem is that the background color won’t stretch 100% of the page like ive said i’ve tried severl things and the background color stretchs the whole page in FF3 but not FF2, IE6, or seamonkey. it ends up looking like this http://i434.photobucket.com/albums/qq68/xerodill/pic-0-1.jpg


here is my css

/*** Hyper Links ***/
a:link {
    color
:     #3399CC;
}
a
:visited {
    color
#FF0033;
}

/*** Body ****/
body {
    margin
0;
    
padding 0;
    
height 768px;
    
positionrelative;
    
background-color#FFFFCC;
    
font-familysans-serif;
    
font-size16px;
}

/*** Container ***/
#container {
    
width986px;
    
margin0 auto 0 auto;
    
background-color#FFFFCC;
}

/*** Content ***/
#content {
    
padding:10px;
}

/*** Paragraphs ***/
p {
    font
-weightnormal;
    
font-size15px;
    
padding0 4px 4px 4px;
    
margin0 0 0 0;
}

/*** Logo ***/
#logo {
    
height109px;
    
width986px;
    
text-aligncenter;
    
background-imageurl(../img/logo.png);
}

/*** Navigation ***/
#navcontainer  {
    
floatleft;
    
width130px;
    
height100%;
}
#nav {
    
width125px;
    
height25px;
    
padding1px;
    
floatleft;
    
text-alignleft;
    
font-size20px;
    
color#FF0033;
    
background-imageurl(../img/nav.png);
}

/*** Footer 
#footer {
    background-color: #FFFFCC;
    padding: 16px 8px 8px 8px;
    margin: 16px 0 0 0;
}*/

/*** Padding ***/
#padding {
    
padding10px;
}

#padding1 {
    
padding5px;
}

#space {
    
width125px;
    
height25px;
    
padding1px;
    
floatleft;
    
background-imageurl(../img/space.png);
}

/*** Images ***/
#img {
    
floatright;
    
height150px;

** Edit **

ok well i managed to fix the problems by using standard html over xhtml there is prolly another way i could have done it but this was the easiest

Profile