Home  >  Q&A  >  body text

When I do this, the page does not display, my win10

<!doctype html>

<html>

<head>

<meta charset="utf-8">

<title>Equal width from top to bottom</title>

<style type="text/css">

.container{

max-width: 960px;/*Set the maximum width to 960px*/

margin: 0 auto;/*Set the inner block element to be horizontally centered*/

}

.header{

height:50px;

background-color: #000000;

}

.main{

height: 600px;

background-color: #6531D0;

}

.footer{

height:50px;

background-color : #000000;

}

</style>

</head>


##< body>

</body>

</html>


100%100%1970 days ago1311

reply all(4)I'll reply

  • 失去过去

    失去过去2019-05-05 10:26:54

    Has your DOM structure been eaten by a dog

    reply
    0
  • 100%

    Ah ha ha ha ha ha

    100% · 2019-05-05 10:28:45
  • 100%

    100%2019-05-05 09:17:17

    No, but the columns should also be displayed on the page! I am a beginner

    reply
    0
  • ringa_lee

    ringa_lee2019-05-05 09:05:41

    What do you mean by not showing? Do you have corresponding elements in your body?

    reply
    1
  • Cancelreply