PDA

View Full Version : Sticky Footer Problem (PHP related?)



FordCorsair
08-02-2011, 07:15 PM
I created this (http://www.domcoleman.co.uk/NEW/index_7-6.html) in html first so as to get my footer to stick to the bottom of the browser and worked in IE, Chrome, FF, Safari and Opera.

However, when I converted it all to php [here (http://www.domcoleman.co.uk/NEW/)] with header and footer includes and dynamic title etc. the footer does not stick to the bottom of the page and seems to drop off by the number of pixels it is high (130px). The source of this 'looks' fine and as it should, but doesn't behave as I expect.

Could anyone help shed some light on this?
I'm at a loss. Most of my work/code is cut and paste learnt so please be gentle.

Dom

FordCorsair
08-02-2011, 08:31 PM
Resolved:

I had not replaced the original <title> tag with my php dynamic <title> code in the header.php file and resulted in 'two' titles in the source code... as i had placed the php stuff outside of the <HTML> tag too! Lesson learnt now, thanks.

Dom