daraptor
01-13-2010, 12:26 AM
i am pastin my css for u to look at... my problem is i have a header, content and footer parts....so when i am adding stuff in the content div, the div expands and the footer stays right there overlappin with the div content...how do i make the footer flexible so that it moves along with the div when i add stuff to the content div....
@charset "utf-8";
/* CSS Document */
body {
background-color: #369;
}
#header {
position:absolute;
left:0px;
top:0px;
width:850px;
height:150px;
z-index:1;
background-color: #FFF;
font-family: "Times New Roman", Times, serif;
text-align: left;
font-size: x-large;
font-style: italic;
color: #C30;
}
#header a {
color: #ffffff;
text-decoration: none;
font-weight: bold;
font-family: Verdana;
font-size: 14px;
}
#header a:visited {
color: #FFF;
text-decoration: none;
font-weight: bold;
}
#header a:hover {
color: #cc0000;
text-decoration: none;
font-weight: bold;
}
.HorizLinks {
position: absolute;
top: 115px;
left: 0px;
width: 850px;
background-color: #FF9900;
}
.HorizLinks ul {
margin: 0px;
}
.HorizLinks li {
margin: 0px 55px 0px 50px;
list-style-type: none;
display: inline;
}
#master {
width: 850px;
margin-top: 0px;
margin-right: auto;
margin-bottom: 0px;
margin-left: auto;
position: relative;
left: 0px;
top: 0px;
background-color: #333333;
}
#content {
position:absolute;
left:0px;
top:150px;
width:850px;
height:460px;
z-index:2;
background-color: #FFFFFF;
}
#footer {
position:absolute;
left:0px;
top:590px;
width:850px;
height:20px;
z-index:3;
background-color: #666;
}
#one {
background-color: #FFF;
font-size: 13px;
}
#two {
background-color: #FFF;
text-align: left;
}
.news {
font-weight: bold;
}
.newclient {
font-weight: bold;
}
#master #content #two table tr td strong {
text-align: right;
}
#master #content #two table tr td p {
font-size: 13px;
}
thanx
@charset "utf-8";
/* CSS Document */
body {
background-color: #369;
}
#header {
position:absolute;
left:0px;
top:0px;
width:850px;
height:150px;
z-index:1;
background-color: #FFF;
font-family: "Times New Roman", Times, serif;
text-align: left;
font-size: x-large;
font-style: italic;
color: #C30;
}
#header a {
color: #ffffff;
text-decoration: none;
font-weight: bold;
font-family: Verdana;
font-size: 14px;
}
#header a:visited {
color: #FFF;
text-decoration: none;
font-weight: bold;
}
#header a:hover {
color: #cc0000;
text-decoration: none;
font-weight: bold;
}
.HorizLinks {
position: absolute;
top: 115px;
left: 0px;
width: 850px;
background-color: #FF9900;
}
.HorizLinks ul {
margin: 0px;
}
.HorizLinks li {
margin: 0px 55px 0px 50px;
list-style-type: none;
display: inline;
}
#master {
width: 850px;
margin-top: 0px;
margin-right: auto;
margin-bottom: 0px;
margin-left: auto;
position: relative;
left: 0px;
top: 0px;
background-color: #333333;
}
#content {
position:absolute;
left:0px;
top:150px;
width:850px;
height:460px;
z-index:2;
background-color: #FFFFFF;
}
#footer {
position:absolute;
left:0px;
top:590px;
width:850px;
height:20px;
z-index:3;
background-color: #666;
}
#one {
background-color: #FFF;
font-size: 13px;
}
#two {
background-color: #FFF;
text-align: left;
}
.news {
font-weight: bold;
}
.newclient {
font-weight: bold;
}
#master #content #two table tr td strong {
text-align: right;
}
#master #content #two table tr td p {
font-size: 13px;
}
thanx