HTML Page Width and Height Settings | CSS Full Screen Size

HTML Page Width and Height Settings | CSS Full Screen Size

Dave Gray

3 года назад

132,737 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@Enn99999
@Enn99999 - 22.12.2023 20:57

super useful, this is what exactly I want

Ответить
@samfabio
@samfabio - 02.12.2023 20:14

This is so helpful, keep going. you'r amazing!

Ответить
@salehdesta5569
@salehdesta5569 - 01.11.2023 06:20

Thanks boss. I have finally understood why that horizontal bar keeps appearing. Very helpful video 🔥🔥🔥🔥

Ответить
@dudsfrenchieclothing
@dudsfrenchieclothing - 26.09.2023 20:29

what is the name program used when you are doing this

Ответить
@mocococo2877
@mocococo2877 - 20.09.2023 23:08

Professionally explained and yet easy to understand. Thank you

Ответить
@noodian3268
@noodian3268 - 27.07.2023 13:44

never thought i would have the big lebowski explaining css quirks to me, but here we are

Ответить
@salvador8164
@salvador8164 - 09.07.2023 16:49

OMG I'VE BEEN SEARCHING FOR AGES AND THIS GUY SOLVES MY PROBLEM IN JUST 17 MINS OF VIDEO WHAT A GUY! BRAVO MAN CHEERS!

Ответить
@sagarchawla4926
@sagarchawla4926 - 24.06.2023 22:42

I was struggling with the bottom scrollbar, you cleared my confusions

Ответить
@toilabanda
@toilabanda - 15.06.2023 06:15

I've tried and noticed 1 point that when I added * { box-sizing : border-box; } , there is no horizonal scrollbar even though body { width : 100% } is not set. Maybe body { width : auto } by default solved that problem. So do I need to set width to 100% anymore?

Ответить
@ocabreiro
@ocabreiro - 13.06.2023 22:46

The simple sometimes are the best way to do complex things. Amazing lessions, thank you very much.

Ответить
@rynakiqbal
@rynakiqbal - 03.06.2023 23:10

Amazing, thank you

Ответить
@nihalmurali7470
@nihalmurali7470 - 23.05.2023 14:15

Had this overflow issue everytime i was styling a webpage. Scoured the internet for solutions and didn't find any. And stumbled upon this video. Thanks so much for doing this video Dave. Really helped me a lot.

Ответить
@hgjghjkhify
@hgjghjkhify - 20.05.2023 18:29

Great quick and thorough explanation, Dave. Was having CSS overflow issues until I stumbled on this video. Crediting you and this channel in my documentation for my dynamic golf application site for a school project.

Ответить
@gustavoferreira9802
@gustavoferreira9802 - 14.05.2023 22:25

Exactly what I was searching for! Very good content, mate.
Helped me a lot. Congrats!

Ответить
@yuli3873
@yuli3873 - 12.05.2023 04:12

Thank you so much! This is super helpful!

Ответить
@rmrerejm123
@rmrerejm123 - 13.04.2023 23:59

Neither the old or new method actually work for me

Ответить
@mobalic8673
@mobalic8673 - 25.03.2023 14:02

Awesome explanation, Thanks!
I think with the upcoming CSS 'Dynamic viewport units' feature, we can simply do:
body{min-block-size: 100dvh;}, especially since '100vh' can cause some issues in mobile browsers.

Ответить
@BTjacker
@BTjacker - 22.03.2023 10:18

I was facing some flickering of tooltips in my full screen react app and setting styles this way solved the issue. Thank you, love the way you explain things!

Ответить
@anshhmehta
@anshhmehta - 19.01.2023 16:13

Thanks,
I was facing issue regarding multiple horizontal bars of the gradient I chose, It got resolved after setting the (min-height:100vh;) in the body in CSS.

Ответить
@gilblax8764
@gilblax8764 - 14.01.2023 22:46

Amazing.
I'm starting now and the hardest thing to me is about to display objects on CSS.
Even understanding about the tags, the parent and child, I'm still confused about how to display correctly the content.
But, you and all community are helping.

Ответить
@David_Liu93
@David_Liu93 - 03.01.2023 09:01

I absolutely loved your thorough and beginner friendly explanations. I'm currently learning web development and have to create a website based on figma design, and it's overwhelming, but therefore so interesting. Thanks for a chance to learn from the pro🤝
Can't wait to dive in your js and react content

Ответить
@silasowu4502
@silasowu4502 - 26.12.2022 17:28

Wow....Dave, this content is mind-blowing. Thanks to your insight on height and width settings, I have peace of mind now. 🤩🤩

Ответить
@havefun5519
@havefun5519 - 11.12.2022 15:38

Thanks for the detailed tut.

Ответить
@imade6707
@imade6707 - 05.11.2022 10:22

thank u Dave!

Ответить
@my_codingchannel7479
@my_codingchannel7479 - 24.10.2022 11:21

Why is it that when setting vph, in the various ways you have, it still is quite sensitive between similar screens, if I set something right, so the page fits perfectly with a desktop screen, then if I move it over to the laptop I get a scrollbar and what should be a single page is cut off (not a huge amount, just enough to annoy the hell out of me) ... I'm talking about something that should easily adjust between the screens.. (medium sized image and title) ...It's done my head in. ... or is this what I should expect, should I do media queries for all brands and then for all sizes ... if that is the case I think I'll smash my computer and go and sit on a beach somewhere...

Ответить
@danielmadison4451
@danielmadison4451 - 11.10.2022 07:25

You nailed it. You actually explained it. Fantastic video. Thank you so much,

Ответить
@andrewwarren654
@andrewwarren654 - 02.10.2022 05:52

Awesome. Practical fundamentals and great presentation. Very helpful. Thank you.

Ответить
@lionelfaith3646
@lionelfaith3646 - 31.08.2022 12:23

wow 😀😀 you are the best , love you bro !

Ответить
@mohamedmahmoud-nj1uh
@mohamedmahmoud-nj1uh - 29.08.2022 11:43

thanks a lot I have been several days struggles because i can't understand the usage of the min-height
you give details no one teach it
thanks a lot .

Ответить
@infinito-potencial
@infinito-potencial - 28.08.2022 02:17

thank u very much!!! 🥰

Ответить
@accept415
@accept415 - 01.08.2022 18:00

It is year 2022 and this worked for me thank you so much

Ответить
@DreamTitanGames
@DreamTitanGames - 29.07.2022 08:31

Excellent work Dave

Ответить
@humairafasihahmed1754
@humairafasihahmed1754 - 28.07.2022 20:34

Honestly was looking for this!

Ответить
@SanthoshKumar44
@SanthoshKumar44 - 10.07.2022 23:03

Thank you so much !!!

Ответить
@michaeltse4711
@michaeltse4711 - 01.07.2022 15:22

Very Helpful

Ответить
@ck0024
@ck0024 - 27.06.2022 20:19

Fixed header and footer create issue in mobile devices while body{ min-height : 100vh; } defined.
Solution:
html{ height: -webkit-fill-available; }
body{ height : -webkit-fill-available; }

Ответить
@kasetophono
@kasetophono - 21.06.2022 16:52

"In the past 100vh had problems in mobile browsers but it seems like they have that worked out". Nope, the problems still exist sadly

Ответить
@Sonu_Kr95
@Sonu_Kr95 - 02.06.2022 10:01

Great video thanks alot

Ответить
@ervaergul3539
@ervaergul3539 - 31.05.2022 18:54

sir, i love you

Ответить
@Max-tq1ig
@Max-tq1ig - 29.05.2022 08:39

This is just perfect. Thank you (:

Ответить
@j_u_d_y3041
@j_u_d_y3041 - 22.05.2022 17:56

Thank you so much for the clear explanation! I've always been confused about why the content exceeds body and why width: 100vw generates that horizontal scrollbar. So glad that I found your video!

Ответить
@ernesto790
@ernesto790 - 20.05.2022 07:58

Really??!!...I've spent dozens of hours on tutorials trying to get these topics straight, and this guy nails it in 15min. The works 👏👏👏

Ответить
@asimwilliams2116
@asimwilliams2116 - 20.05.2022 05:15

This is so helpful!

Ответить
@rual284
@rual284 - 15.05.2022 19:08

I started working on a project and after i've set everything like you did, and got rid of the red border, the vertical scroll bar appeared again.. why is this happening ?

Ответить
@sbmahapatra
@sbmahapatra - 12.05.2022 18:08

Hey Dave, one thing I have to say, "You are the best". I am going to watch all your old videos followed by future videos.

Ответить
@sxmvp
@sxmvp - 12.05.2022 15:00

Thank you so much, I'm currently learning HTML and CSS and this cleared up the confusion about why my height didn't act the way I wanted it to

Ответить
@joshuam7818
@joshuam7818 - 11.05.2022 03:31

Could you take the html properties like font-family or font-size and put them in the universal selector instead of the html selector?

Ответить
@joshuam7818
@joshuam7818 - 11.05.2022 03:24

Do you have to set width:100% for the body or could you just leave it and only set the minheight

Ответить