Jump to content

Archived

This topic is now archived and is closed to further replies.

Brain_Dead_Monkey

Tempory Banner Image

Recommended Posts

I want to place an image I have on my website temporarily. I want it to display on the very bottom of every page. I think that I have to make a banner.php file and add it as an  include to my global? That way I can just edit the global file to remove it? Does this sound right? But how do I define the position so it displays on the very bottom of the page?

Share this post


Link to post
Share on other sites
Do you have a file global.php which is included at the top of all your php scripts?

If so, I think the easiest solution is to have another file footer.php, which is included at the bottom of all your php scripts.  Defining the position to display is not straightforward (perhaps it can be done with CSS, but not with standard HTML)

Share this post


Link to post
Share on other sites
Yes global.php is included at the top of all my scripts. 

global.php also has several includes: header.php, cron.php, etc.

I've created the file footer.php and include it in the global.php.

In my style.css file I have added:

{
    body{height=640px; width=480px;}
      #logoBar  {position:fixed;width:99.15%;height:15%;top:0;right:0;bottom:auto;left:0;border:solid;}
      #leftSide {position:fixed;width:10em;height:auto;top:15%;right:auto;bottom:50px;left:0;border:solid}
      #main    {position:fixed;width:auto;height:auto;top:15%;right:0;bottom:50px;left:10em;border:solid}
      #footer  {position:fixed;width:99.15%;height:50px;top:auto;right:0;bottom:0;left:0;border:solid;}


The images displays at the top of the page right in the middle.
Anybody?

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.