Reply to Re: Absolute bottom of the page.

Your name:

Reply:


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>
####################################################################

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация