The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Page moving
bigginge
post May 4 2012, 03:20 AM
Post #1


Member
***

Group: Members
Posts: 37
Joined: 23-January 12
Member No.: 16,315



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?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Frederiek
post May 4 2012, 04:39 AM
Post #2


Programming Fanatic
********

Group: Members
Posts: 4,324
Joined: 23-August 06
From: Europe
Member No.: 9



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


--------------------
"The earth does not belong to us. We belong to the earth."
from Vue du ciel (in French)

"Leave scepticism to others and take action"
from HOME by Goodplanet

An inconvenient truth by Al Gore
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
bigginge
post May 4 2012, 08:47 AM
Post #3


Member
***

Group: Members
Posts: 37
Joined: 23-January 12
Member No.: 16,315



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?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Frederiek
post May 5 2012, 03:31 AM
Post #4


Programming Fanatic
********

Group: Members
Posts: 4,324
Joined: 23-August 06
From: Europe
Member No.: 9



See http://css-tricks.com/eliminate-jumps-in-h...g-a-scroll-bar/ .


--------------------
"The earth does not belong to us. We belong to the earth."
from Vue du ciel (in French)

"Leave scepticism to others and take action"
from HOME by Goodplanet

An inconvenient truth by Al Gore
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
bigginge
post May 5 2012, 04:57 AM
Post #5


Member
***

Group: Members
Posts: 37
Joined: 23-January 12
Member No.: 16,315



QUOTE(Frederiek @ May 5 2012, 09:31 AM) *

Thank you
CODE
html {
    overflow-y: scroll;
}
worked a treat. Impressive.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Frederiek
post May 6 2012, 04:16 AM
Post #6


Programming Fanatic
********

Group: Members
Posts: 4,324
Joined: 23-August 06
From: Europe
Member No.: 9



You're welcome.


--------------------
"The earth does not belong to us. We belong to the earth."
from Vue du ciel (in French)

"Leave scepticism to others and take action"
from HOME by Goodplanet

An inconvenient truth by Al Gore
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Frederiek
post May 9 2012, 01:10 AM
Post #7


Programming Fanatic
********

Group: Members
Posts: 4,324
Joined: 23-August 06
From: Europe
Member No.: 9



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?


--------------------
"The earth does not belong to us. We belong to the earth."
from Vue du ciel (in French)

"Leave scepticism to others and take action"
from HOME by Goodplanet

An inconvenient truth by Al Gore
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 30th August 2014 - 11:13 AM