Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #406

    Can you tell me if I can create a two column format in a post. The <div> code doesn’t seem to work. Thanks and GREAT template!

    #31235

    You need to modify a style.css and create a class “.one_half”. Open style.css and add this code:

    .one_half{overflow:hidden; float:left; position: relative; margin-right:35px; width:230px; }

    You can set any value for “margin-right” and “width” – it depends on your website layout.

    Now if you want to create 2 columns write following:

    <div class="one_half">
    You first column text goes here
    </div>
    <div class="one_half">
    You second column text goes here
    </div>

    The Dude

    #31236

    Works beautifully. Thank you!

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Two columns in a post’ is closed to new replies.