/    Sign up×
Community /Pin to ProfileBookmark

layer placement problem

Hi !

I have a problem (again) with positioning of a layer containing footer information. I want it to be on the wery bottom of the page. I tried it with

<div id = footer style=”position:relative; z-index:5; visibility:visible; vertical-align:baseline”>
footer
</div>

but it is not on the bottom …

I looked up in css reference, but couldnt find anythig interesting …

Thanx

to post a comment
HTML

4 Comments(s)

Copy linkTweet thisAlerts:
@AdamGundryMay 03.2003 — All vertical-align: baseline will do is position the text at the bottom of the containing box - not the bottom of the page. You should be able to get the footer at the bottom by putting the <div> at the end then removing all margins, etc.

Adam
Copy linkTweet thisAlerts:
@NikolaVeberauthorMay 03.2003 — actualy, it is placed just above the </body> tag ...

I don't know if I was clear enough :

I want it to be just above the browser's bottom - since the pages in most cases fit the screen size.
Copy linkTweet thisAlerts:
@AdamGundryMay 03.2003 — Do you mean exactly on the bottom, outside the normal document i.e. using frames? I don't understand exactly what the problem is.

Adam
Copy linkTweet thisAlerts:
@NikolaVeberauthorMay 03.2003 — most of the pages fit one screen height. If so, I would like the footer to be on the bottom of the screen (which is not scrollable). In other case (when the page cant fit the screen, I would like the footer to be on the bottom of the content.

have a look at

www.frigofrutti.co.sr

The footer contains "designed by Weber 2003" and the w3 picture.
×

Success!

Help @NikolaVeber spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.2,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...