0

Currently my table html layout looks like this with <tr> and <td> obviously being used

[text1]  [image1] 
[image2] [text2] 
[text3]  [image3]
[image4] [text4]

When it reaches <640px it looks like

[text1]
[image1]
[image2]
[text2]
[text3]
[image3]
[image4]
[text4]

Although i want

[text1]
[image1]
[text2]
[image2]
[text3]
[image3]
[text4]
[image4]

etc. Is this possible with CSS or javascript?

<table class="overview">
        <tr class="box one fadeInBlock">
            <td>
                <div class="homeInfo2">
                    {{ page.securityText|richtext }}
                </div>
            </td>
            <td>
                <div class="homeIm1 responsiveness">
                    Secuirty image
                </div>
            </td>
        </tr>
        <tr class="box two fadeInBlock">
            <td>
                <div class="homeIm2 responsiveness">
                    Fire image
                </div>
            </td>
            <td>
                <div class="homeInfo3">
                    {{ page.fireText|richtext }}
                </div>
            </td>
      </tr>

Joelad
  • 492
  • 3
  • 12

0 Answers0