/    Sign up×
Community /Pin to ProfileBookmark

(work based)

i am trying to add a footer to my companys web site. the site has thousends of pages but it is using a dreamweaver template so it is easy to edit. anyway they want to add a footer at the bottom but i can’t seem to get it to work.

i tried using top:auto; then bottom:0; but it makes it go to the bottom of the window then go to the bottom of the site.

can anyone help.

i would post the CSS of the site but it is quite long

thanks to anyone who can help.

PS if you need the CSS and HTML i could give you a bit of it.

to post a comment
CSS

3 Comments(s)

Copy linkTweet thisAlerts:
@gil_davisNov 10.2003 — As you have already discovered, "bottom: 0px" places the object at the bottom of the window. There is really nothing you can do using CSS for that.

If you want something to be at the bottom of the document, then add an "include" to each of your thousand pages. Then create a footer page in HTML (or whatever) to be included.
Copy linkTweet thisAlerts:
@chris9902authorNov 10.2003 — it will not work becuase the layout is CSS i can't just have it floting outside a div tags becuase it ends up to the right (for some reason)

i will just use the search and replace inside dreamweaver and re do the CSS. leave it running all do while it replaces the files... man that sucks.

thanks anyway
Copy linkTweet thisAlerts:
@DaveSWNov 10.2003 — All the rest of the layout is done with absolute positioning then?

If it was done with floats you could use clear:both;

With absolute positioning the only thing you can do is tag it into the center/longest column. - i.e. add it to a column, nested inside one of those divs, rather than having a new div.
×

Success!

Help @chris9902 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 6.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: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

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