Автор Тема: Сползает сайдбар. Что делать?  (Прочитано 1443 раз)

12 Май, 2018, 15:09:45

Оффлайн Быковская_Све

  • Школьник
  • *
  • Сообщений: 12
  • Репутация: 0
  • OS: Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser: Chrome 63.0.3239.132 Chrome 63.0.3239.132
    • Просмотр профиля
<html>
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" Content="IE=edge">
        <meta name="viewport" content="width=device-width initial-scale=1">
        <title>Добро пожаловать!
        </title>
        <link href="css/bootstrap.min.css" rel="stylesheet">
<link href="style.css" rel="stylesheet">
    </head>
    <body>
        <div class="container">
<div class="row">
    <div class="col-md-12 block">
        <h1>Header</h1>
    </div>
            </div>
   
            <div class="row"></div>
            <div class="col-md-8 col-md-push-4 block">
                <h2>Content</h2>
                <div class="row">
                    <div class="col-sm-4"></div>
                    <div class="panel">
                    <h4>1 колонка</h4>
                    <img src="images/image.jpg" class="imag">
                        <p>Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. Why do we use it?</p>
                    </div>
                </div>
                </div>
             <div class="col-md-8 col-md-push-4 block">
                <h2>Content</h2>
                <div class="row">
                    <div class="col-sm-4"></div>
                    <div class="panel">
                    <h4>1 колонка</h4>
                    <img src="images/image.jpg" class="imag">
                        <p>Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. Why do we use it?</p>
                    </div>
                </div>
                </div>
                  <div class="col-md-8 col-md-push-4 block">
                <h2>Content</h2>
                <div class="row">
                    <div class="col-sm-4"></div>
                    <div class="panel">
                    <h4>1 колонка</h4>
                    <img src="images/image.jpg" class="imag">
                        <p>Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. Why do we use it?</p>
                    </div>
                </div>
                </div>

                  <div class="col-md-8 col-md-push-4 block">
                <h2>Content</h2>
                <div class="row">
                    <div class="col-sm-4"></div>
                    <div class="panel">
                    <h4>1 колонка</h4>
                    <img src="images/image.jpg" class="imag">
                        <p>Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. Why do we use it?</p>
                    </div>
                </div>
                </div>

                  <div class="col-md-8 col-md-push-4 block">
                <h2>Content</h2>
                <div class="row">
                    <div class="col-sm-4"></div>
                    <div class="panel">
                    <h4>1 колонка</h4>
                    <img src="images/image.jpg" class="imag">
                        <p>Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. Why do we use it?</p>
                    </div>
                </div>
                </div>

                  <div class="col-md-8 col-md-push-4 block">
                <h2>Content</h2>
                <div class="row">
                    <div class="col-sm-4"></div>
                    <div class="panel">
                    <h4>1 колонка</h4>
                    <img src="images/image.jpg" class="imag">
                        <p>Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. Why do we use it?</p>
                    </div>
                </div>
                </div>


       
    <div class="col-md-4 col-md-pull-8 block">Sidebar</div>
                <ul class="list-unstiled">
                    <li>1</li>
                                        <li>2</li>
<li>3</li>
                </ul>
                </div>
        <div class="col-md-12 block">
            <h3>Footer</h3>
            </div>
   
    </body>
</html>

Форум вебмастеров - Webmasters.BY

Сползает сайдбар. Что делать?
« : 12 Май, 2018, 15:09:45 »

13 Май, 2018, 12:17:29
Ответ #1

Оффлайн Diver

  • Administrator
  • Гуру форума
  • *****
  • Сообщений: 4945
  • Репутация: 112
  • Шииикарно!
  • OS: Windows NT 10.0 Windows NT 10.0
  • Browser: Firefox 59.0 Firefox 59.0
    • Просмотр профиля
вы бы лучше ссылку дали, а не это полотно кода

14 Май, 2018, 01:36:29
Ответ #2

Оффлайн Быковская_Све

  • Школьник
  • *
  • Сообщений: 12
  • Репутация: 0
  • OS: Linux Linux
  • Browser: Chrome 66.0.3359.158 Chrome 66.0.3359.158
    • Просмотр профиля
Тут и ошибка. Я не знаю где. Он на пк у мя

14 Май, 2018, 11:12:28
Ответ #3

Оффлайн vladkristsun

  • Школьник
  • *
  • Сообщений: 9
  • Репутация: 0
  • OS: Linux (Ubuntu) Linux (Ubuntu)
  • Browser: Chrome 66.0.3359.139 Chrome 66.0.3359.139
    • Просмотр профиля
Тут и ошибка. Я не знаю где. Он на пк у мя
Значит сделайте скриншот вашей проблемы. И покажите как должно выглядеть.
Качественный хостинг от https://uh.ua/

26 Май, 2018, 17:46:40
Ответ #4

Оффлайн AnToshka

  • Школьник
  • *
  • Сообщений: 7
  • Репутация: 0
  • OS: Windows NT 10.0 Windows NT 10.0
  • Browser: Chrome 56.0.2950.1 Chrome 56.0.2950.1
    • Просмотр профиля
Нужно выложить скрин.

19 Август, 2018, 22:56:57
Ответ #5

Оффлайн Мамуня_Оксана

  • Школьник
  • *
  • Сообщений: 9
  • Репутация: 0
  • OS: Windows NT 10.0 Windows NT 10.0
  • Browser: Chrome 68.0.3440.106 Chrome 68.0.3440.106
    • Просмотр профиля
не разбираюсь