Dear all,
a particular problem has been bugging me for a while, and I was wondering if anyone could provide a solution. I have been trying to set a box of one colour against a background of another, and put text or navigation inside the box (created using a div with an external
css sheet) However the div (say it is a white box against a black background) appears fine, yet the text contained inside it appears to drop down below the div, and appear instead against the {body} -Here is the
html
Code:
<div id="navigation">
<p>Text goes here inside div and yet appears when previed below div (preview in firefox)</p>
</div>
Here is the
CSS:
Code:
#navigation{
left:0px;
position:absolute;
background-color:#FFFF00;
border-color:#FFFFFF;
border-width:5px;
border:double;
width:100%;
height: 31px;
top: 173px;
font-size:24px;
text-align:center;
}
Could anyone offer advice as to how to make the text appear inside the div in firefox. My IE is not working so I can't test in that.
Thanks,
Toby Mather