quartzy
11-13-2010, 01:41 AM
I have been working on the footer for my webpage and no matter what I do it will not sit right. <div class="text"><p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo
ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec,
pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus
ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium. Integer tincidunt. Cras dapibus. Vivamus elementum semper nisi. Aenean
vulputate eleifend tellus. Aenean leo ligula, porttitor eu, consequat vitae, eleifend ac, enim. </p></div></div>
<div id="footer"><p>Copyright © 2010</p></div>
</div></div>
</div>
</body>
</html>
I want the footer to just sit underneath the 'text' box.
Css .textbox {
background: #33CC33;
border-left: 1px solid #DF8FA9;
border-right: 1px solid #DF8FA9;
color: #000000;
margin-left: 8px;
padding-left: 20px;
padding-right: 10px;
padding-top: 20px;
width: 90%;
padding-bottom: 10px;
}
.text {background: #fff;
width: 80%;
padding: 5%;
margin: 5%;
}
#footer
{
height:40px;
background:#ccc;
bottom:0;
left:0;
width:90%;
text-align: right;
font-weight: bold;
}
the webpages are puddypaws.co.uk/test,html and style.css. Please do not say they are not semantic I know that I am just trying to get the pages done. Also I am now working with percentages and would appreciate a resource if anyone knows a good one, I need to get the others away from pixels and into p[ercentages.
ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec,
pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus
ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium. Integer tincidunt. Cras dapibus. Vivamus elementum semper nisi. Aenean
vulputate eleifend tellus. Aenean leo ligula, porttitor eu, consequat vitae, eleifend ac, enim. </p></div></div>
<div id="footer"><p>Copyright © 2010</p></div>
</div></div>
</div>
</body>
</html>
I want the footer to just sit underneath the 'text' box.
Css .textbox {
background: #33CC33;
border-left: 1px solid #DF8FA9;
border-right: 1px solid #DF8FA9;
color: #000000;
margin-left: 8px;
padding-left: 20px;
padding-right: 10px;
padding-top: 20px;
width: 90%;
padding-bottom: 10px;
}
.text {background: #fff;
width: 80%;
padding: 5%;
margin: 5%;
}
#footer
{
height:40px;
background:#ccc;
bottom:0;
left:0;
width:90%;
text-align: right;
font-weight: bold;
}
the webpages are puddypaws.co.uk/test,html and style.css. Please do not say they are not semantic I know that I am just trying to get the pages done. Also I am now working with percentages and would appreciate a resource if anyone knows a good one, I need to get the others away from pixels and into p[ercentages.