rafiki
03-27-2008, 02:12 PM
the css is different from the online example.
the offline is....
.head {
height : 60px;
background : url(header.gif) repeat-x;
top : 0%;
width : 991px;
text-align : center;
}
.left {
height : 450px;
width : 100px;
background : url(mainbg.gif) repeat-x;
float : left;
position : relative;
}
.right {
height : 450px;
width : 100px;
background : url(mainbg.gif) repeat-x;
float : right;
top : 60px;
text-align : justify;
}
.content {
height : 450px;
width : 852px;
background : url(mainbg.gif) repeat-x;
right : 100px;
text-align : center;
}
.footer {
height : 60px;
background : url(header.gif) repeat-x;
bottom : 0%;
width : 991px;
text-align : center;
}
ul {
margin : auto;
padding : 10px;
}
ul ul, li {
width : 20px;
list-style : none;
}
ul li a {
color : white;
text-align : left;
}
ul li a:hover {
background-color : #000000;
color : #ffffff;
position : relative;
}
[this is all temp colors]
the html is the same as
[css code can also be found here]
http://www.jamiewest.org.uk/css/funkymonkey/
accept this is added
<div class="left"><ul class="nav"><li><a href="#"> Link a a s dda asd</a></li><li><a href="#"> Link</a></li><li><a href="#"> Link</a></li><li><a href="#"> Link</a></li><li><a href="#"> Link</a></li></ul></div>
basically the offline left float cant hold as much text as the online version
and there is a big white gap in the offline where the main div isnt positioned correctly.
Ok so i got more space, now the width of the header is 991px
the left float 100px 100px for the right too.
the main div is (991px - 100 - 100) 791px but doesnt fill the whitespace. any ideas?
the offline is....
.head {
height : 60px;
background : url(header.gif) repeat-x;
top : 0%;
width : 991px;
text-align : center;
}
.left {
height : 450px;
width : 100px;
background : url(mainbg.gif) repeat-x;
float : left;
position : relative;
}
.right {
height : 450px;
width : 100px;
background : url(mainbg.gif) repeat-x;
float : right;
top : 60px;
text-align : justify;
}
.content {
height : 450px;
width : 852px;
background : url(mainbg.gif) repeat-x;
right : 100px;
text-align : center;
}
.footer {
height : 60px;
background : url(header.gif) repeat-x;
bottom : 0%;
width : 991px;
text-align : center;
}
ul {
margin : auto;
padding : 10px;
}
ul ul, li {
width : 20px;
list-style : none;
}
ul li a {
color : white;
text-align : left;
}
ul li a:hover {
background-color : #000000;
color : #ffffff;
position : relative;
}
[this is all temp colors]
the html is the same as
[css code can also be found here]
http://www.jamiewest.org.uk/css/funkymonkey/
accept this is added
<div class="left"><ul class="nav"><li><a href="#"> Link a a s dda asd</a></li><li><a href="#"> Link</a></li><li><a href="#"> Link</a></li><li><a href="#"> Link</a></li><li><a href="#"> Link</a></li></ul></div>
basically the offline left float cant hold as much text as the online version
and there is a big white gap in the offline where the main div isnt positioned correctly.
Ok so i got more space, now the width of the header is 991px
the left float 100px 100px for the right too.
the main div is (991px - 100 - 100) 791px but doesnt fill the whitespace. any ideas?