View Full Version : How do I make...

04-20-2005, 08:15 PM
I am currently working on one of my first sites, so please excuse any odd sounding explainations.

I would like my banner/heading image to be completely flush with the top of the window so that no background colour is visable. Similarly I would like the bottom banner to be identical but at the bottom. I don't mind space down either side it is just the top and bottom i'm interested in.

I seem to be going round in circles am I missing something simple?

Please help.

Thank you :blink:

04-20-2005, 09:07 PM
For the top
Set your body top margin to 0.
Set your banner div to margin-top : 0

For the bottom.
It is almost impossible to set anything to stay at the bottom of the viewable page as not everyone is using the same resolution.

The closest you can get is to use CSS style to set your footer.
Something like this:

<div id=footer style="margin-top:98%">footer content</div>


04-27-2005, 07:22 PM
Thanks for your reply, I really apprciated the help. :)