mhamilton3
Programmer
- Oct 31, 2001
- 129
Hello I have set up a page and I am not sure how to get the left side to keep the background color no matter what size the screen is. I am sure this question has been asked before, but I am not even sure how to search for the answer. Here is the code from the style sheet
and here is the code from the page
[/code]
My goal is to have the entire left hand side be a light blue from top to bottom (without using frames). Thanks in advance.
Code:
#leftcontent {
position: absolute;
left:0px;
top:0px;
width:185px;
background:#66CCFF;
}
#leftcontent a:link {
color: #FFFFFF;
}
#leftcontent a:visited {
color: #FFFFFF;
}
#leftcontent a:active {
color: #0000FF;
}
#leftcontent a:hover {
color: #0000FF;
}
#leftcontent BODY{
font-size: 80%;
font-family: Arial, Verdana, Tahoma, Sans-Serif;
font-weight: bold;
color: #FAFF68;
}
#leftcontent TD{
font-size: 80%;
font-family: Arial, Verdana, Tahoma, Sans-Serif;
font-weight: bold;
color: #FAFF68;
}
and here is the code from the page
Code:
<div id="leftcontent">
<table width='100%' cellpadding=0 cellspacing=0>
<tr>
<td height=10></td>
</tr>
<tr>
<td><img src='images/NurseNChild.gif' border=0></td>
</tr>
<tr>
<td height=20></td>
</tr>
</table>
<table width='100%' cellpadding=0 cellspacing=0>
<tr bgcolor="#2881D3">
<td width='10' bgcolor="#2881D3"></td>
<td><a href='#' target='main'>Home</a></td>
</tr>
<tr bgcolor="#2881D3">
<td height='4' colspan=2></td>
</tr>
.
.
.
</table>
</div>
[/code]
My goal is to have the entire left hand side be a light blue from top to bottom (without using frames). Thanks in advance.