Hi, Hopefully someone can help, I am using several ID selectors as holders inside my design and then class styles inside, however the ID selector does not seem to stretch when I add content, I am also using a footer on the page and this does not move until I put a height into the ID style, this however is not ideal as the content on my pages is different lengths and makes the shorter pages look horrible, please see below for my exert of code
Thanks in advance
Justin
- Code: Select all
#textarea {
position: relative;
width: 800px;
margin: auto;
left: 0px;
background-color: #1361ab;
padding: 0px;
height: 1000px;
}
- Code: Select all
<div id="textarea">
<div class="text">
<div class="textbox1"><img src="../public_html/images/spacer.gif" alt="Dental Web Design" width="5" height="5" /></div>
<div class="textbox2"><!-- TemplateBeginEditable name="dental web design text area 1" -->
<table width="511" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"> </td>
<td> </td>
<td width="20"> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>
<!-- TemplateEndEditable --></div>
<div class="textbox3"><img src="../public_html/images/spacer.gif" alt="Dental Web Design" width="5" height="5" /></div>
<div class="textboxgap"></div>
<div class="textbox4"><img src="../public_html/images/spacer.gif" alt="Dental Web Design" width="5" height="5" /></div>
<div class="textbox5"><!-- TemplateBeginEditable name="dental web design text area 2" -->
<table width="511" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"> </td>
<td> </td>
<td width="20"> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>
<!-- TemplateEndEditable --></div>
<div class="textbox6"><img src="../public_html/images/spacer.gif" alt="Dental Web Design" width="5" height="5" /></div>
<div class="textboxgap"></div>
<div class="textbox7"><img src="../public_html/images/bdhf-links.jpg" border="0" usemap="#Map" />
<map name="Map" id="Map"><area shape="rect" coords="3,3,248,146" href="http://www.nationalsmileweek.org/" target="_blank" />
<area shape="rect" coords="264,4,509,152" href="http://www.mouthcancer.org" target="_blank" />
</map></div>
<div class="textboxgap"></div>
</div>
<div class="links">
<div class="linksbox1"></div>
<div class="linksbox2">
<table width="256" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="15"> </td>
<td> </td>
<td width="15"> </td>
</tr>
<tr>
<td> </td>
<td><p class="highlight-text">See what our clients have to say about us...</p>
<p>To view our testimonials please <a href="../public_html/testimonials_design_web_dental/testimonials_dental_design_company.html" class="class_lnk">click here >></a> </p></td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>
</div>
<div class="linksbox3"><img src="../public_html/images/spacer.gif" alt="Dental Web Design" width="5" height="5" /></div>
<div class="linksboxgap"></div>
<div class="linksbox4"></div>
<div class="linksbox5">
<table width="256" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="15"> </td>
<td> </td>
<td width="15"> </td>
</tr>
<tr>
<td> </td>
<td><table width="226" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="70"><a href="../public_html/case_studies_dental_web_design/case_studies_dental_design_company.html"><img src="../public_html/images/case-studies/thumbs/7.jpg" alt="Dental Website Design" width="100" height="100" border="0" /></a></td>
<td width="226"> </td>
<td width="70"><a href="../public_html/case_studies_dental_web_design/case_studies_dental_design_company.html"><img src="../public_html/images/case-studies/thumbs/8.jpg" alt="Dental Website Design" width="100" height="100" border="0" /></a></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>
<p class="highlight-text">Looking for more than just a website? Create your own brand... </p>
<p>To view our case studies please <a href="../public_html/case_studies_dental_web_design/case_studies_dental_design_company.html" class="class_lnk">click here >></a></p></td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>
</div>
<div class="linksbox6"><img src="../public_html/images/spacer.gif" alt="Dental Web Design" width="5" height="5" /></div>
<div class="linksboxgap"></div>
<div class="linksbox7"></div>
<div class="linksbox8">
<table width="256" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="15"> </td>
<td> </td>
<td width="15"> </td>
</tr>
<tr>
<td> </td>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="100"><img src="../public_html/images/site-of-the-month/dental-website-month.jpg" alt="Dental Website design - Site of the month" width="100" height="100" /></td>
<td width="11"> </td>
<td width="115" valign="top"><p class="highlight-text">Site of the month - our latest addition to the www...</p>
<p><a href="http://www.crystalcleardentalspa.co.uk/" target="_blank" class="class_lnk">Click here to visit the website >></a> </p></td>
</tr>
</table> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>
</div>
<div class="linksbox9"><img src="../public_html/images/spacer.gif" alt="Dental Web Design" width="5" height="5" /></div>
<div class="linksboxgap"></div>
<div class="linksbox10"></div>
<div class="linksbox11"><!-- TemplateBeginEditable name="dental web design glossary" -->
<table width="256" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="15"> </td>
<td> </td>
<td width="15"> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>
<!-- TemplateEndEditable --><table width="256" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="15"> </td>
<td><a href="../public_html/glossary_dental_design_web/glossary_web_design_dental.html" class="class_lnk">read on ... </a></td>
<td width="15"> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>
</div>
<div class="linksbox12"><img src="../public_html/images/spacer.gif" alt="Dental Web Design" width="5" height="5" /></div>
</div>
</div>
<div id="footer">
<div class="copyright">Copyright © 2007 Dental Design Products Limited </div>
<div class="logo"></div>