Database System Concepts
Database System Concepts
7th Edition
ISBN: 9780078022159
Author: Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher: McGraw-Hill Education
Bartleby Related Questions Icon

Related questions

Question

HTML

  • One way of centering a div element with class name "inner" inside of another larger div element with class name "outer" with having inner being 200 X 200 pixels and outer being 400 X 400 pixels would be: (Assume that they are nested in the html file page and NOT decoupled and self-contained)

Both div elements have borders

a.

.inner{ margin-top:200px;

margin-left:200px; }

b.

div { margin-top:100px;

margin-left:100px; }

c.

.inner{ margin-top:100px;

margin-left:100px; }

d.

.inner{ margin-left: 100px; }

  • Given the following html, what would be the correct css to make the ul element red text

    <html>

    <head>

    <link rel= "

    stylesheet" type="text/css" href="mystyle3300.css">

    </head>

    <body>

    <p class="central">

    I'm a paragraph; what color am I?

    </p>

    <div class = "central">

    <p>

    I'm another paragraph, what color am I ?

    </p>

    <ul>

    <li> I'm a list item;what color am I?</ li>

    </ ul>

    </div>

    </body>

    </html>

    a.

    div.central.ul li {color:red;}

    b.

    div.central{color:red;}

    li,ul {color:yellow;}

    c.

    p.central ul{color:red;}

    d.

    div.central ul {color:red;}

    div.central{ {color:yellow;}





Expert Solution
Check Mark
Knowledge Booster
Background pattern image
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
    Recommended textbooks for you
    Text book image
    Database System Concepts
    Computer Science
    ISBN:9780078022159
    Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
    Publisher:McGraw-Hill Education
    Text book image
    Starting Out with Python (4th Edition)
    Computer Science
    ISBN:9780134444321
    Author:Tony Gaddis
    Publisher:PEARSON
    Text book image
    Digital Fundamentals (11th Edition)
    Computer Science
    ISBN:9780132737968
    Author:Thomas L. Floyd
    Publisher:PEARSON
    Text book image
    C How to Program (8th Edition)
    Computer Science
    ISBN:9780133976892
    Author:Paul J. Deitel, Harvey Deitel
    Publisher:PEARSON
    Text book image
    Database Systems: Design, Implementation, & Manag...
    Computer Science
    ISBN:9781337627900
    Author:Carlos Coronel, Steven Morris
    Publisher:Cengage Learning
    Text book image
    Programmable Logic Controllers
    Computer Science
    ISBN:9780073373843
    Author:Frank D. Petruzella
    Publisher:McGraw-Hill Education