GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   css question (https://gfy.com/showthread.php?t=444204)

Zester 03-15-2005 02:53 AM

css question
 
here is what i'm trying to do:
I have a text signature I want to stick at the bottom a page, regardless of the page's height. always at the bottom as the last thing on the page.

something like: "All Right Reserved".

the thing is I want to use CSS only for this and not JavaScript.

I need something like: background-position: 100% 100%, but I know that only works for a background image (right?)

any way to do this?

Serge Litehead 03-15-2005 02:54 AM

Whats the question?

BastarD 03-15-2005 02:56 AM

I bet you can't do it with css only

Zester 03-15-2005 02:57 AM

Quote:

Originally Posted by holograph
Whats the question?

How do I make a certain layer/object I define via CSS to always be the last thing at the page, and at a position which it is always stuck to bottom of the page using CSS and without using JavaScript.

Zester 03-15-2005 03:02 AM

Quote:

Originally Posted by BastarD
I bet you can't do it with css only

I've googled for it and didn't find much about it. only regarding background images.

by the way...you're sig..........effective - because I can't get it out of my head.

Serge Litehead 03-15-2005 03:02 AM

not sure about layers and their positions, gave up dhtml some time ago, usually if i want something to appear at the bottom of the page i make a table with height about of 95%.. put all the content in the table aligned as desired and the footer line goes right after table end.. so its stays always at the bottom

Zester 03-15-2005 03:06 AM

Quote:

Originally Posted by holograph
not sure about layers and their positions, gave up dhtml some time ago, usually if i want something to appear at the bottom of the page i make a table with height about of 95%.. put all the content in the table aligned as desired and the footer line goes right after table end.. so its stays always at the bottom

that's what i'm doing now :)
but there must be a way to do it in CSS that i don't know of and is a little less HTML messy

Serge Litehead 03-15-2005 03:19 AM

something like this:
[HTML]
.footer
{
position: absolute;
top: 95%;
}[/HTML]

Zester 03-15-2005 03:37 AM

Quote:

Originally Posted by holograph
something like this:
[HTML]
.footer
{
position: absolute;
top: 95%;
}[/HTML]

so fucking simple
thanks man

Zester 03-15-2005 03:43 AM

Quote:

Originally Posted by holograph
something like this:
[HTML]
.footer
{
position: absolute;
top: 95%;
}[/HTML]


the only problem with this is when you change the window's size

Serge Litehead 03-15-2005 03:49 AM

it also may overlap other text if page is scrollable
i'm used to tables :)


All times are GMT -7. The time now is 07:23 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123