Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
How do you force something to the bottom?
Old 10-16-2007, 12:39 PM How do you force something to the bottom?
Learning Newbie's Avatar
Defies a Status

Latest Blog Post:
Astounding Republican Paranoia
Posts: 5,662
Name: John Alexander
Trades: 0
I need to make a footer with a single line of text, but I'm not sure how to make it hug the bottom of the page? Anyone know?
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
Learning Newbie is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 10-16-2007, 02:58 PM Re: How do you force something to the bottom?
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Depends on the layout of your page, John, there are a number of methods that might work, including positioning - which can get complicated.

Got a URL or the code ?
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 10-16-2007, 04:24 PM Re: How do you force something to the bottom?
coolkbk585's Avatar
Be good this Christmas!

Latest Blog Post:
KBlog has been deativated
Posts: 642
Name: Kyle
Location: Ada, MI
Trades: 0
What do you mean "hug the page"? Do you mean stay at the bottom of the page no matter where you are scrolled at?
__________________
<?php if($Adsense_Revenue > 0): define('HAPPINES','100%'); else: define('HAPPINESS', '0%') endif; ?>
coolkbk585 is offline
Reply With Quote
View Public Profile Visit coolkbk585's homepage!
 
Old 10-16-2007, 05:48 PM Re: How do you force something to the bottom?
Learning Newbie's Avatar
Defies a Status

Latest Blog Post:
Astounding Republican Paranoia
Posts: 5,662
Name: John Alexander
Trades: 0
That's exactly what I mean!

I don't have a URL, sorry. Or, really, I do, but it's not reachable outside the network. Right now it's a buncha divs with absolute positioning, and the footer is a div set to top: 230 and some script to launch the page in a popup 250 pixels high. Which is great until we need to stick enough data in there that people have to scroll down, then the footer is just sort of flying in the middle.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
Learning Newbie is offline
Reply With Quote
View Public Profile
 
Old 10-16-2007, 06:33 PM Re: How do you force something to the bottom?
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,935
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
<div style="position: absolute: bottom: 0;"> would do it.


Buuuuuuuuuuuut...as LNR quite rightly pointed out, you may end up with issues down the road.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 10-16-2007, 07:01 PM Re: How do you force something to the bottom?
Learning Newbie's Avatar
Defies a Status

Latest Blog Post:
Astounding Republican Paranoia
Posts: 5,662
Name: John Alexander
Trades: 0
Really? I thought the only way to do it with AP was setting the top to the height of the page minus the height of the footer? I didn't even know you could set the bottom? That's way cool!
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
Learning Newbie is offline
Reply With Quote
View Public Profile
 
Old 10-16-2007, 07:10 PM Re: How do you force something to the bottom?
coolkbk585's Avatar
Be good this Christmas!

Latest Blog Post:
KBlog has been deativated
Posts: 642
Name: Kyle
Location: Ada, MI
Trades: 0
Quote:
Originally Posted by Learning Newbie View Post
Really? I thought the only way to do it with AP was setting the top to the height of the page minus the height of the footer? I didn't even know you could set the bottom? That's way cool!
__________________
<?php if($Adsense_Revenue > 0): define('HAPPINES','100%'); else: define('HAPPINESS', '0%') endif; ?>
coolkbk585 is offline
Reply With Quote
View Public Profile Visit coolkbk585's homepage!
 
Old 10-16-2007, 08:10 PM Re: How do you force something to the bottom?
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
I used position:abosolute and bottom:35 on this page:
http://www.dlamping.com/index.html - the office image at the bottom right.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 10-16-2007, 08:20 PM Re: How do you force something to the bottom?
vangogh's Avatar
Post Impressionist

Latest Blog Post:
Why Responsive Design?
Posts: 10,815
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
John couldn't you just place the html at the end too? When I code a footer it's always at the bottom and I never need to position them. Is there a reason you can't do it this way.

If you've floated things above you might have to clear the footer, but you might not need to mess with the positioning,. The positioning will work. I'm just wondering if you really need it.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 10-17-2007, 01:39 AM Re: How do you force something to the bottom?
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,935
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
You sure can, John. Top, bottom, left and right are all valid CSS position properties. Unfortunately, upperleftmiddleabout25point7degreesnorthbynortheas t is still in development and may be included in XCSS v. 1.0.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 10-17-2007, 01:39 AM Re: How do you force something to the bottom?
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,935
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
Hey weird...vBulletin spaced out the last t even though I didn't. WUSSUPWITDAT?
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 10-17-2007, 06:20 AM Re: How do you force something to the bottom?
Galaxian's Avatar
Rich Powell

Posts: 842
Name: Rich Powell
Location: United Kingdom
Trades: 0
Quote:
Originally Posted by ADAM Web Design View Post
Hey weird...vBulletin spaced out the last t even though I didn't. WUSSUPWITDAT?
Prevents long strings from stretching the page.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

Please help get the new
Please login or register to view this content. Registration is FREE
forum started for Webmasters like you!

Galaxian is offline
Reply With Quote
View Public Profile Visit Galaxian's homepage!
 
Reply     « Reply to How do you force something to the bottom?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 2.09859 seconds with 12 queries