I have to posion a DIV at the bottom of the html page. (Servers are running IIS and I need to put common code onto thousands of them. I figured using the IIS Footer Method would work, but I would like the content to be placed at the top of the page.
Is there a way to position the DIV at the top of the page so that anything else is "pushed" down (no overlap)? Or is there a better way to force this "top bar" onto thousands of pages at the server level?
Altneratively, is there a way I can force the div to be at the very bottom of the window (not just the bottom of the code) to emulate a bottom frame?
I need the div to appear at the top of the page, but I need to append the actual code as a footer on each page (using IIS). IIS does not allow you to place a header of every page. If there is another way to append this header onto every page without manual editing, I can use that.
If it is not possible to place the code at the top of the pages, I can put it at the bottom. But if it is on the bottom, is there anyway to ensure that it is positions at the bottom of the users screen?
I don't know how to use IIS, but can you just call the tag
div class="top" as the one to take the data?
You'd set the container div for the width you want -
can set height, too as long as the content won't overflow it.
That means you could then set widths and heights for
the divs inside of it - and remember that margins will keep
elements next to each other vt. [margin:0 auto; if centered]
or add space between them.