footer on top?

D

David Dorward

Peter said:
Can please somebody tell me why the footer presents itself at the top
off the page?

Everything else is absolutely positioned, so not in normal flow, so not
influencing the layout of the rest of the page.
 
M

Mark Parnell

P

Peter

Mark said:
Deciding to do something for the good of humanity, Peter
<[email protected]> declared in alt.html:




Because you've absolutely positioned div#houder (header?). The footer
div is the only other child of body, so it ends up at the top of the
page.

Most likely you don't understand what absolute positioning actually
does.
http://www.w3.org/TR/CSS21/visuren.html#propdef-position
You are absolutely right. Even after trying to understand what w3 says
it is not clear to me.
Probably my knowledge of English is not enough. But on the other pages
of that site
the footer is where it belongs. I see no difference. Could you help me
understand?
tahnk you very much
Peter
 
M

Mark Parnell

Deciding to do something for the good of humanity, Peter
You are absolutely right. Even after trying to understand what w3 says
it is not clear to me.

Absolute positioning means that the element is removed completely from
the flow of the page. When laying out the rest of the page, it is as
though that element isn't there at all.
But on the other pages
of that site
the footer is where it belongs.

On the other pages you have the footer inside the header div.
 
P

Peter

Mark said:
Deciding to do something for the good of humanity, Peter
<[email protected]> declared in alt.html:




Absolute positioning means that the element is removed completely from
the flow of the page. When laying out the rest of the page, it is as
though that element isn't there at all.




On the other pages you have the footer inside the header div.
That takes care of that. Thank you so much.
Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,681
Members
48,796
Latest member
Greg L.

Latest Threads

Top