• prologuemedia

    (@prologuemedia)


    I am building a site where I when you bring up a tags page, it will default to the newest post with that tag and then have a 2 column listing of the other posts tagged below.

    How can I get the two columns?

    -gl

Viewing 2 replies - 1 through 2 (of 2 total)
  • Phil

    (@owendevelopment)

    If you mean how to create 2 columns in html and css, then below is how you do it:

    HTML

    <div class="columnwrap">
        <div class="column1">Insert content / php here</div>
        <div class="column2">Insert content / php here</div>
    </div>

    The CSS

    .columnwrap { width: 900px; }
    .column1 { float: left; width: 440px; margin-right: margin-right: 20px; }
    .column2 { float: right; width: 440px; }

    Adjust widths etc to suit. Hope this helps.

    Thread Starter prologuemedia

    (@prologuemedia)

    Thanks. That is part of it but, running the loop to populate both columns is the other question in this.

    -gl

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Showing other posts at the bottom of a post’ is closed to new replies.