Mobile view frozen - Page 2 - Post ID...

User 379556 Photo


Registered User
1,533 posts

I think I overlooked that the default value of the overflow property is 'visible', and should therefore not have used the word 'normally'.

I note also that the overflow property is said (https://www.w3schools.com/cssref/pr_pos_overflow.asp) to work only for block elements with a specified height, making your comments, Inger, about Grid particularly relevant if the body is set to Grid.

Frank
User 2699991 Photo


Registered User
4,782 posts
Online Now

Frank Cook wrote:


I note also that the overflow property is said (https://www.w3schools.com/cssref/pr_pos_overflow.asp) to work only for block elements with a specified height, making your comments, Inger, about Grid particularly relevant if the body is set to Grid.

A body height of 100vh would normally*, I think, be unable to scroll.
Frank


Overflow works on flexed elements not just block both for widths & heights (obviously the element has to have a specified height/width in order to have an overflow) but it doesn't have to be "block" maybe that w3c thingy is a bit out of date

so if the body is set to 100vh overflow hidden, and an element inside is set to 200vh or even 110vh then the overflow would be hidden therefore no scroll bars on the body element
Mastering The Understanding With Hands-On Learning
NEW TO "COFFEECUP SITE DESIGNER" FOUNDATION 6 FRAMEWORK?
STUCK ON SOMETHING?

LEARNING & UNDERSTANDING "THE HOW TO"? THE WHY'S & THE WHEREFORE'S?
WITH WAYAN'S STEP BY STEP TUTORIALS
Contact Me For One To One Assistance
https://alphathemes.coffeecup.com/forms … an%281%29/
User 164528 Photo


Registered User
13 posts

Thank you all for your contributions. That gives me something to work on. Will report back if I get to the bottom of it.

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.