Webmaster Forum

Go Back   Webmaster Forum > Web Development > Coding Forum

Coding Forum Problems with your code? Discuss coding issues, including JavaScript, PHP & MySQL, HTML & CSS, Flash & ActionScript, and more.


Reply
 
LinkBack Thread Tools Display Modes
Old 07-20-2008, 05:03 AM   #1 (permalink)
Member
 
Join Date: 07-12-07
Location: Nova Scotia Canada
Posts: 58
iTrader: 0 / 0%
Latest Blog:
None

kimberlybarryd is liked by many
Wink Bottom Image

I want to put a stationary image at the bottom of the page. about 200px H by full screen width. Site http://www.yagottahaveit.ca Help with coding is much appreciated.
Thanks
kimberlybarryd is offline  
Add Post to del.icio.us
Reply With Quote
Old 07-20-2008, 05:54 AM   #2 (permalink)
Super Moderator
 
StarLab's Avatar
 
Join Date: 10-29-07
Location: Ontario, Canada
Posts: 2,777
iTrader: 0 / 0%
StarLab is a web professional of the highest orderStarLab is a web professional of the highest orderStarLab is a web professional of the highest orderStarLab is a web professional of the highest orderStarLab is a web professional of the highest orderStarLab is a web professional of the highest orderStarLab is a web professional of the highest orderStarLab is a web professional of the highest orderStarLab is a web professional of the highest orderStarLab is a web professional of the highest orderStarLab is a web professional of the highest order
Send a message via MSN to StarLab Send a message via Yahoo to StarLab
Insert this where you want the footer to appear in your page code:

Code:
<div id="yourFooter">Footer Blurb Here, Copyrights, etc...</div>
CSS:

Code:
#yourFooter { background: url(path/to/your/image.jpg) repeat-x; width: 100%; height: 200px; }
A simple example. It should get you started. You may need to add text formatting and other elements.

HTH
__________________
Larry Monte
[Torn Elements] - Regaining the Passion for Design
[Gorgeous On Life] - The world from a Cat's point of view.

"Writing is the most fun you can have by yourself!" -Terry Pratchett
StarLab is offline  
Add Post to del.icio.us
Reply With Quote
Old 07-20-2008, 02:10 PM   #3 (permalink)
Member
 
Join Date: 07-12-07
Location: Nova Scotia Canada
Posts: 58
iTrader: 0 / 0%
Latest Blog:
None

kimberlybarryd is liked by many
Quote:
Originally Posted by StarLab View Post
Insert this where you want the footer to appear in your page code:

Code:
<div id="yourFooter">Footer Blurb Here, Copyrights, etc...</div>
CSS:

Code:
#yourFooter { background: url(path/to/your/image.jpg) repeat-x; width: 100%; height: 200px; }
A simple example. It should get you started. You may need to add text formatting and other elements.

HTH
Thank you
I want the footer not to scrool with the page. Zen Garden has an example at http://www.csszengarden.com/?cssfile...213.css&page=0
I have studied th code but i'm missing something.
help is much appreciated.
kimberlybarryd is offline  
Add Post to del.icio.us
Reply With Quote
Old 07-22-2008, 07:39 AM   #4 (permalink)
Super Moderator
 
StarLab's Avatar
 
Join Date: 10-29-07
Location: Ontario, Canada
Posts: 2,777
iTrader: 0 / 0%
StarLab is a web professional of the highest orderStarLab is a web professional of the highest orderStarLab is a web professional of the highest orderStarLab is a web professional of the highest orderStarLab is a web professional of the highest orderStarLab is a web professional of the highest orderStarLab is a web professional of the highest orderStarLab is a web professional of the highest orderStarLab is a web professional of the highest orderStarLab is a web professional of the highest orderStarLab is a web professional of the highest order
Send a message via MSN to StarLab Send a message via Yahoo to StarLab
Quote:
Originally Posted by kimberlybarryd View Post
Thank you
I want the footer not to scrool with the page. Zen Garden has an example at http://www.csszengarden.com/?cssfile...213.css&page=0
I have studied th code but i'm missing something.
help is much appreciated.
Sorry, I misread your opening post. Missed the word "Stationary"

Here is the CSS they are using for their footer...
Code:
#yourFooter { background-image:url(bottom.png); background-position:center center; background-repeat:no-repeat; bottom:0px; height:200px; position:fixed; width:100%; z-index:5; }
Replace "bottom.png" with whatever image you wish to use.

Then put this in your page to call it:
Code:
<div id="yourFooter" />
I haven't tested this myself, but it should work.

HTH
__________________
Larry Monte
[Torn Elements] - Regaining the Passion for Design
[Gorgeous On Life] - The world from a Cat's point of view.

"Writing is the most fun you can have by yourself!" -Terry Pratchett
StarLab is offline  
Add Post to del.icio.us
Reply With Quote
Old 07-21-2008, 03:16 PM   #5 (permalink)
Contributing Member
 
Join Date: 06-24-08
Posts: 70
iTrader: 0 / 0%
Latest Blog:
None

chuco61 is liked by many
frames maybe?
chuco61 is offline  
Add Post to del.icio.us
Reply With Quote
Old 07-21-2008, 08:39 PM   #6 (permalink)
Member
 
Join Date: 07-12-07
Location: Nova Scotia Canada
Posts: 58
iTrader: 0 / 0%
Latest Blog:
None

kimberlybarryd is liked by many
Quote:
Originally Posted by chuco61 View Post
frames maybe?
I don't have a clue on frames. I.m css. Thanks for your response anyway.
I'm thinking a wrapper around everything then code for the image to keep it at the bottom. I'm guessing that I have to modify my code to accommodate the fixed footer. Any suggestions?
Thanks
Barry
kimberlybarryd is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Coding Forum

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
CSS bottom aligned image problem, need help StrongInTheArm Coding Forum 15 08-21-2007 07:33 AM
Problem With Bottom SN3 Coding Forum 23 02-21-2004 05:01 PM
Top or Bottom Image? UKZJ007 Graphic Design Forum 38 11-01-2003 05:26 PM


Sponsor Links
Get exposure! Contextual Links V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 04:42 AM.
© Copyright 2008 V7 Inc
Powered by vBulletin
Copyright © 2000-2009 Jelsoft Enterprises Limited.


Search Engine Optimization by vBSEO 3.3.0 ©2009, Crawlability, Inc.