Help - Search - Members - Calendar
Full Version: Page moving
HTMLHelp Forums > Web Authoring > Markup (HTML, XHTML, XML)
bigginge
I recently finished a site, Viewable here, but looking at it this morning I notice there is a slight movement between, say, the Home page and he Other Courses page. All pages are made with header, content and footer divs which have commom measurements. Any ideas why they should move, please?
Frederiek
That's because the Other Courses page doesn't have (or needs) vertical scrollbars like the Home page does.
bigginge
QUOTE(Frederiek @ May 4 2012, 10:39 AM) *

That's because the Other Courses page doesn't have (or needs) vertical scrollbars like the Home page does.


Ah, I see, thank you. If I close up the browser window they're both the same. Is there a way round this?
bigginge
QUOTE(Frederiek @ May 5 2012, 09:31 AM) *

Thank you
CODE
html {
    overflow-y: scroll;
}
worked a treat. Impressive.
Frederiek
You're welcome.
Frederiek
It's CSS.

This has nothing to do with server-side or client-side programming.
Why copy a reply by Darin in another thread that's out of place here?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2024 Invision Power Services, Inc.