C
C
Ciscoridze2016-06-10 12:42:32
css
Ciscoridze, 2016-06-10 12:42:32

Adaptive layout. Is it right?

I don't know much about layout, but I want to understand.
I need tables with a picture inside a div to be displayed the same on all monitors, am I doing it right?

<div class="col-lg-1 col-md-1 col-sm-1 col-xs-1" style="height: 603px;">
  <div class="info-box info-box2">
     <div class="img">
        <img src="images/uploads/test/arrow.png" style="width: 70%;">
     </div>
  </div><!-- /.info-box -->
</div>

Is there any master-read guide on this topic? Yearly lessons maybe.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry Krymtsev, 2016-06-10
@Ciscoridze

Here everything is explained in detail and shown
webformyself.com/minikurs/bootstrap/index-subscrib...

P
Pretor DH, 2016-06-10
@PretorDH

Here it is not correct:
Define a class and set height in it.
For the image, specify the width in aribut, not inline style.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question