Click here to Skip to main content
15,888,351 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: What is the capability of Django to handle large amounts of data? Pin
Gulshan Negi6-Feb-23 19:53
professionalGulshan Negi6-Feb-23 19:53 
GeneralI am trying to send confirmed Person and Vehicle images to telegram. Pin
sesipod29-Dec-22 6:22
sesipod29-Dec-22 6:22 
QuestionLooking for testers Pin
Alberto Enrique Franco Ferreiro24-Nov-22 9:15
Alberto Enrique Franco Ferreiro24-Nov-22 9:15 
AnswerRe: Looking for testers Pin
Richard Deeming24-Nov-22 21:45
mveRichard Deeming24-Nov-22 21:45 
GeneralRe: Looking for testers Pin
Alberto Enrique Franco Ferreiro25-Nov-22 5:51
Alberto Enrique Franco Ferreiro25-Nov-22 5:51 
QuestionHosting Question Pin
Kevin Marois21-Nov-22 6:41
professionalKevin Marois21-Nov-22 6:41 
AnswerRe: Hosting Question Pin
Richard Deeming21-Nov-22 21:55
mveRichard Deeming21-Nov-22 21:55 
GeneralRe: Hosting Question Pin
Kevin Marois24-Nov-22 7:26
professionalKevin Marois24-Nov-22 7:26 
GeneralRe: Hosting Question Pin
Richard Deeming24-Nov-22 21:43
mveRichard Deeming24-Nov-22 21:43 
GeneralRe: Hosting Question Pin
Kevin Marois29-Nov-22 17:11
professionalKevin Marois29-Nov-22 17:11 
QuestionJavascript Pin
Yuvraj Singh Nov202216-Nov-22 21:40
Yuvraj Singh Nov202216-Nov-22 21:40 
AnswerRe: Javascript Pin
Richard Deeming16-Nov-22 23:24
mveRichard Deeming16-Nov-22 23:24 
AnswerRe: Javascript Pin
Sam Hobbs18-Nov-22 11:59
Sam Hobbs18-Nov-22 11:59 
JokeRe: Javascript Pin
Richard Deeming20-Nov-22 22:38
mveRichard Deeming20-Nov-22 22:38 
JokeRe: Javascript Pin
Jeremy Falcon15-Dec-22 12:50
professionalJeremy Falcon15-Dec-22 12:50 
AnswerRe: Javascript Pin
Jeremy Falcon15-Dec-22 12:51
professionalJeremy Falcon15-Dec-22 12:51 
QuestionNeed a simple *everything centered* html template Pin
Member 149874928-Nov-22 16:15
Member 149874928-Nov-22 16:15 
AnswerRe: Need a simple *everything centered* html template Pin
Richard Deeming8-Nov-22 21:44
mveRichard Deeming8-Nov-22 21:44 
GeneralRe: Need a simple *everything centered* html template Pin
Member 1498749210-Nov-22 17:25
Member 1498749210-Nov-22 17:25 
GeneralRe: Need a simple *everything centered* html template Pin
Richard Deeming14-Nov-22 22:32
mveRichard Deeming14-Nov-22 22:32 
GeneralRe: Need a simple *everything centered* html template Pin
Member 1498749216-Nov-22 8:13
Member 1498749216-Nov-22 8:13 
GeneralRe: Need a simple *everything centered* html template Pin
Richard Deeming16-Nov-22 21:26
mveRichard Deeming16-Nov-22 21:26 
AnswerRe: Need a simple *everything centered* html template Pin
Jeremy Falcon15-Dec-22 13:00
professionalJeremy Falcon15-Dec-22 13:00 
Just to add to Richard's great answer, you may wish to adjust your styles:
CSS
html,
body {
    display: grid;
    height: 100vh;
    margin: 0;
    padding: 0;
}

Technically, having height 100% on the body works out to be the same in that context. But it means 100% of the parent element. If there is a lot of content this may not mean center on the screen - which can be a good thing. Just depends on your use case. The 100vh always means 100% of the viewport height regardless the size of the body container.

Also, the margin and padding is set to zero to avoid the doubling up of the scrollbar.
Jeremy Falcon

QuestionFirefox won't let me change my privacy and security options. Pin
Member 1579676025-Oct-22 3:31
Member 1579676025-Oct-22 3:31 
QuestionFile upload not working, can't figure out why... Pin
DSB Audio (David Sweeney-Bear)22-Oct-22 12:34
DSB Audio (David Sweeney-Bear)22-Oct-22 12:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.