[advanced search]
 

Go Back   NamePros.com > Discussion > Web Design & Development > Programming

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.


Closed Thread
 
LinkBack Thread Tools
Old 06-23-2008, 05:42 AM   #1 (permalink)
NamePros Regular
 
Join Date: Apr 2007
Posts: 423
30.85 NP$ (Donate)

Tomi-gwc has a spectacular aura aboutTomi-gwc has a spectacular aura about


CSS Footer

Hello, I'm learning to code in XHTML/CSS. So far, (my first coding project) I have this: http://jrcdesigns.co.uk/test/Leafy/index.html

The problem I am having is getting the footer image (The Leafy thing at the bottom) to be at the bottom. Right now it is set to absolute positioning, however this is just a short term fix that I am not happy with.

How can I have the footer not positioned absolute, with 100% width at the bottom of the page?

I have tried putting it outside the container however doing this makes it appear near the top of the page.

Any ideas?
Tomi-gwc is offline  
Old 06-26-2008, 09:49 PM   #2 (permalink)
New Member
 
Join Date: Jun 2008
Posts: 3
0.00 NP$ (Donate)

silverdown is an unknown quantity at this point


Looks like you have the image CSS position
Code:
position:absolute;
try
Code:
position:relative;
I am not sure this will work since I cannot test it out myself. However it is worth a try. Then just add
Code:
width:100%;
for the width above or under Position. I hope it works for you!
silverdown is offline  
Old 06-27-2008, 10:48 AM   #3 (permalink)
DNOA Member
 
mholt's Avatar
 
Join Date: May 2004
Location: Utah
Posts: 5,041
18.01 NP$ (Donate)

mholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant future

Autism Marrow Donor Program 9/11/01 :: Never Forget Multiple Sclerosis Adoption Alzheimer's Lou Gehrig's Disease (ALS)
For your div#leaf styles, do:

Code:
position: absolute;
bottom: 0px;
z-index: 10;
width: 100%;
(make z-index value greater than the z-indexes of all other divs)

Maybe want to add a padding:0px or margin:0px or both if you still have issues.

EDIT: I know you said you don't want absolute positioning, but I'm assuming you want them to be at the bottom... if you positioned relative, it would be stuck to the bottom of the content and not the frame and it would look kinda bad...
__________________
codeboards

A high-quality community of programmers -- Join today and post! We want new members!
mholt is offline  
Old 07-04-2008, 02:04 AM   #4 (permalink)
New Member
 
Join Date: Dec 2006
Location: New Jersey
Posts: 12
50.00 NP$ (Donate)

spyke100 is an unknown quantity at this point


--- Post Deleted

Last edited by spyke100; 07-04-2008 at 07:48 AM.
spyke100 is offline  
Closed Thread


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

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


Site Sponsors
Advertise your business at NamePros

All times are GMT -7. The time now is 12:43 PM.


Powered by: vBulletin® Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Template-Modifications by TMS
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85