Hi,
I am learning to use css and I am trying to have put a legal disclaimer box in the center of the page below the text at the top of the page.
the css is:-
#fixedbox {
position:relative;
top: 340px;
width: 60%;
height:300px;
font-family: Helvetica;
font-size: 12px;
background-color: #99ccff;
border:1px solid black;
padding:2px;
float;right;
margin-left:20%;
margin-right:20%;
}
The html is:-
<div id="fixedbox" style="overflow:auto;">
legal blah.blah.blah.
</div>
I know it is probably something simple but cant spot it. The previous paragraph was closed correctly and displays okay. Nothing is displayed in the browser though. (weird) I would have thought it would display the text at least.
Any help would be appreciated.
daveI have fixed this now thanks. It was a couple of typos that were hard to spot. It looks cool now though.
Dave
I am learning to use css and I am trying to have put a legal disclaimer box in the center of the page below the text at the top of the page.
the css is:-
#fixedbox {
position:relative;
top: 340px;
width: 60%;
height:300px;
font-family: Helvetica;
font-size: 12px;
background-color: #99ccff;
border:1px solid black;
padding:2px;
float;right;
margin-left:20%;
margin-right:20%;
}
The html is:-
<div id="fixedbox" style="overflow:auto;">
legal blah.blah.blah.
</div>
I know it is probably something simple but cant spot it. The previous paragraph was closed correctly and displays okay. Nothing is displayed in the browser though. (weird) I would have thought it would display the text at least.
Any help would be appreciated.
daveI have fixed this now thanks. It was a couple of typos that were hard to spot. It looks cool now though.
Dave