(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.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.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 anywayAll 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.
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.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.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 anywayAll 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.