I
I
Ivan Pogorelov2014-09-06 09:40:30
css
Ivan Pogorelov, 2014-09-06 09:40:30

Why browsers don't see block height in css?

I started learning adaptive layout for bootstrap, and it turns out that something is not right. I have been struggling with a simple page for the 2nd day already, I did everything as in the video, and improvised myself, but something was not right. I still have a lot to write, but I got up on the layout. the problem is that it already needs to be shown on Monday.

<!doctype html>
<html>
  <head>
        <link rel="stylesheet" type="text/css" href="css/bootstrap-responsive.css">
        <link rel="stylesheet" type="text/css" href="css/stylesheet.css">
        <link rel="stylesheet" type="text/css" href="css/bootstrap.css">
        <script type="text/javascript" src="js/bootstrap.js"></script>
        <script type="text/javascript" src="js/bootstrap.min.js"></script>
    <meta charset="utf-8">
    <title>
    ходячие мертвецы
    </title>
  </head>
  <body>
        <div class="container">
            <div class="row">
                <div class="col-ld-10 col-md-10 col-sd-12 col-ed-12"></div>
            </div>
        </div>

  </body>
</html>

And here is the css
body
{
    background: url(../imgs/les.jpg) no-repeat;
    background-size: 100%;
    background-attachment: fixed;
}

.container
{
    height: 1000px;
}

. row
{
    background-color: #EEE8AA;
    border-radius: 10px;
    height: 500px;
}
    
.row, div
{
    height=200px;
}

+ using the latest version of bootstrap. there is nothing in the console, except for some dregs in the bootstrap itself, but the block is still displayed with a height of 0. What should I do?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Андрей Федоров, 2016-08-12
@artlivee

codepen.io/aliencash/pen/rLPOqZ

S
Sergey Nikolaevich, 2014-09-06
@Ipogorelov

height = 200px;
^
:

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question