I am facing an issue with a nested div element:
<div id="footer">
<div id="footer_text">
<p>My foooo text</p>
</div>
</div>
The CSS code for the nested div is as follows:
#footer
{
position: absolute;
bottom: 0px;
margin-bottom: 5px;
margin-right:50px;
margin-left:50px;
width:90%;
height:16px;
color:white;
font-size:12px;
background:#000000;
border-style:solid;
border-width:1px;
border-color:#F0FFFF;
text-align: center;
}
Everything seems to be working fine in firefox 7. However, I encountered an issue where the text goes outside the div border and causes a vertical scroll bar to appear when I include the following line:
<p>My foooo text</p>
I have tried several solutions without success so far...