|
Posted by Simon on 03/18/06 11:51
> With neither quill nor qualm, Simon quothed:
>
>> Hi,
>>
>> We have a website, (blog site), where users can create/use their own
>> templates.
>>
>> We want to add a disclaimer and a link at the very bottom of the page.
>> I thought of adding the html just before the </body> but with css that
>> does
>> not always mean that it will be at the very bottom of the page.
>
> It does if you use the proper css for what you want. (Of course, this
> depends on how you define "page" above.)
>
>> Is there a way of inserting a disclaimer that will appear at the footer
>> of
>> the page?
>
> Simply make it the last item before the body closing tag and don't
> position it. Now, if you're talking about a "footer" that remains at
> the bottom of the _viewport_, that's another matter.
>
Here is an example of what a user could do, perfectly legal css.
Because I am serving '000s of pages at a time I just want to insert one
block of code before the </body> that will ensure that the code is at the
very bottom of the page.
As you can see my footer is not at the bottom.
####################################################################
<HTML>
<HEAD>
<title>Test</title>
</HEAD>
<body >
<div id="Layer2" style="position:absolute; left:408px; top:420px;
width:377px; z-index:3;">
Body<br />
Body<br />
Body<br />
Body<br />
Body<br />
Body<br />
Body<br />
Body<br />
Body<br />
Body<br />
Body<br />
Body<br />
Body<br />
</div>
<div style="display: block;clear: both;width: 95%;padding: 1;margin:
1;text-align: center;">
<br />
----------------------------------Footer----------------------------------<br
/>
----------------------------------Footer----------------------------------<br
/>
----------------------------------Footer----------------------------------<br
/>
----------------------------------Footer----------------------------------<br
/>
</script>
</body>
</HTML>
####################################################################
Navigation:
[Reply to this message]
|