A
A
Andrew2015-11-13 22:32:28
css
Andrew, 2015-11-13 22:32:28

Lots of 3 DIVs per line - like a table?

There is a DIV layout .. and there can be a lot of DIVs (the number is not known in advance), you need to make a table out of them - ala 3 DIVs per line, the next line should start at the height of the maximum previous
one, i.e. I should write like

<div>my Code</div>
<div>my Code<br>dssdfdsf<br>dssdfdsf</div>
<div>my Code</div>

<div>my Code</div>
<div>my Code</div>
<div>my Code<br>dssdfdsf<br>dssdfdsf</div>

<div>my Code</div>
<div>my Code</div>
<div>my Code</div>

bootstrap is used - AngularJS
is there a way to do this?
Now it's like that - f97d6d6eeb0d464c872f9461683d4795.png
I would like evenly

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Viktor, 2015-11-13
@R0dger

Guys, well, do not be perverted. Tabular data typeset tables.

A
Andrew, 2015-11-13
@R0dger

<div style="margin: 10px">
        <div ng-repeat="prop in data.properties" style="display:inline-block; width: 33%; vertical-align:top;">
            <h3>{{::prop.name}}</h3><hr />
            <table class="table" ng-view="prop.tags.lengtn > 0">
                <tr>
                    <td>.
........
                    </td>
                </tr>
            </table>
        </div>
</div>

something like this))) here is the screen ...
4dce25a0d12a49b991d17038ca27b2c2.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question