O
O
Olga2018-10-07 16:15:13
HTML
Olga, 2018-10-07 16:15:13

The table is not transferred on mobile devices. How to do?

Good afternoon! The site has a table, and if you access the site from your phone, the second button is not transferred, but cut off. How can I move table columns under each other?
I tried to do it through bootstrap, but somehow the result did not change,
thanks in advance!

<table>
    <tr>
<div class="calc-for-content-pages" style="text-align: center;">
            <div class="buttonblock">
                <td><a href="#zayavka" class="button sliding" data-link="price-list"><b>ОСТАВИТЬ ЗАЯВКУ</b></a></td>
                    <td style="vertical-align: middle;"><span>
                         или
                    </span></td>
                <td><a href="javascript:void(0)" class="button callback"><b>ПОЛУЧИТЬ КОНСУЛЬТАЦИЮ</b></a></td>
            </div>
    </tr>        
</div>
</table>

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Y
Yevhenii K, 2018-10-07
@AFI19

Set the cells

td {
 display: block;
 width: 100%;
}

P
Pavel Kokovin, 2018-10-07
@Per_Ardua

In my opinion, there is no need for a table. Use flex, flex-wrap: wrap and flex-basis with the desired width after which the wrap should occur

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question