Brain_Dead_Monkey Posted September 15, 2006 Share Posted September 15, 2006 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? Quote Link to comment Share on other sites More sharing options...
btherl Posted September 15, 2006 Share Posted September 15, 2006 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) Quote Link to comment Share on other sites More sharing options...
Brain_Dead_Monkey Posted September 15, 2006 Author Share Posted September 15, 2006 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? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.