• Resolved hungzai

    (@hungzai)


    I would like posts to run across horizontally and stops right after every 4th post and continue on a new line. Any experts can give some hints? Thanks in advance.

    <table>
        <tr> <td>1</td> <td>2</td> <td>3</td> <td>4</td> </tr>
        <tr> <td>5</td> <td>6</td> <td>7</td> <td>8</td></tr>
        <tr> <td>9</td> <td>10</td> <td>11</td> <td>12</td></tr>
    
    </table>

    [Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]

Viewing 3 replies - 1 through 3 (of 3 total)
  • esmi

    (@esmi)

    Never use table markup for layout purposes. Use divs and CSS to float your posts.

    Thread Starter hungzai

    (@hungzai)

    Ok thanks will check out DIVs.

    Thread Starter hungzai

    (@hungzai)

    For those who are keen,

    float:left and set the width of the post div to total width/number of post per row

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to display files in table format’ is closed to new replies.