Center of page moves when page changes
Forgive me if this has been answered before - I can't find a reference to it - perhaps I'm using the wrong words.
When one of my pages exceeds a certain length, the centre seems to shift. This doesn't happen in IE but seemingly all the other browsers.
I thought it was because I'm using tables, but the header is in a div so I'm not so sure.
My draft site is at www.steamchicken.co.uk/76/index.html and the "how to find us" page is the offending one.
Thanks in advance.
Add a valid DTD
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
This will force a scrollbar on the index page.
Thanks for the suggestion but no joy.
It's still moving! My editor overwrites the Doctype line but I've edited that in notepad and uploaded.
I put the overflow force in my stylesheet (hope that was the intention).
I'm using Opera to test this. Any other ideas?
You haven't added
Sorry - thought it should be in the style sheet.
Where should it go - sorry to be thick.
It's correct, only the rule just before it has incorrect brackets
I suppose you already know you are a genius!
Thank you for your time and trouble.
I didn't even need that bit of code.
I'm starting to think I need to let my tables go and move to divs - do you know a good tutorial - or should I make a new post for this?
Thanks again - really appreciate it.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)