what is the total height of the section element - do not include the thickness of the borders

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

HTML/CSS

  1. Given the following HTML and the accompanying css, and the illustrated output for the section element

    A section element is another way of creating an outer div element. IN this case there is the div section

    , containing first a paragraph ,the margin below that in grey, then followed by the blue div- the outer flex container.

    The blue div has three divs inside it ( red, green and blue)

     

     

         If the margin below the paragraph is changed to 75px , the outer flex container

         height is changed to 400px, the 750px height is removed from the section element,

         what is the total height of the section element - do not include the thickness of the borders

     

     



     

     

    <html>
      <head>
        <meta charset="utf-8">
    </head>
    <link rel="stylesheet" type="text/css" href="square12_with_pg.css">
      <title>Squarespace layout</title>
      
      
      <body>
        <nav></nav>
        <header></header>
        <section>
          <!-- main paragraph --> 
          <p></p>
          <!-- Two column-type things --> 
          <div id="flex-container">
            <div class="col">
             </div>    
        <div class="col1">
             </div> 
         <div class="col">
             </div>     
          </div>

        </section>
        <footer></footer>
      </body>
    </html>

     

     

     

    square12_with_pg.css file

     

    body {
      margin: 0;
    }

    #flex-container {

      height: 300px;
      background-color:blue;
      
    }

    nav {
      background-color: royalblue;
      height: 75px;
      margin:150px;
    }

    header {
      background-color: lightskyblue;
      height: 400px;
      margin:100px;
    }

    section {
      background-color: gray;
      margin: 75px ;
      height:750px;
      
    }

    footer {
      background-color: black;
      height: 100px;
    }

    p {
      background-color: khaki;
      height: 275px;
      margin-bottom: 175px;
    }

    div.col {
      background-color: tomato;
      border: 1px solid black;
      height:50px;
      width:300px;
    }

    div.col1 {
      background-color: green;
      border: 1px solid black;
      height:100px;
      width:300px;
    }


     
      

      a.

    650px

      b.

    750px

      c.

    500px

      d.

    675px

Expert Solution
steps

Step by step

Solved in 4 steps with 1 images

Blurred answer
Knowledge Booster
Form and its Elements
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education