Making boxes on posts and pages

  • The best way to tell you what exactly I need is to show this blog that I have found.
    http://orologiatango.wordpress.com/about/
    Go at the very bottom of this page, where you will see a box with huge bix red letters (you probably won’t understand the text, but it doesn’t matter).
    How can I make like this (with four rows), but instead of one column I would like to have two.
    I hope you didn’t get confused by my post (I just woke up and I’m sleepy!)

    The blog I need help with is: (visible only to logged in users)

  • Well…I found what I wanted:
    [div align=”center”]
    [table width=”530″]
    [tbody]
    [tr]
    [td](text goes here)[/td]
    [td](text goes here)[/td]
    [/tr]
    [tr]
    [td](text goes here)[/td]
    [td](text goes here)[/td]
    [/tr]
    [tr]
    [td](text goes here)[/td]
    [td](text goes here)[/td]
    [/tr]
    [tr]
    [td](text goes here)[/td]
    [td](text goes here)[/td]
    [/tr]
    [/tbody]
    [/table]
    [/div]

    This is what I wanted (replace the [] with <>). But there is a problem. I put all that code-thing on a page, but when I publicized the page, I could only see the text.
    The box was invisible!! How can i make the box white??

  • a) Some themes display table borders by default, but most don’t.
    b) width=”530″ is old-fashioned coding that doesn’t work in the theme you’re using.

    So, to constrain the width of the table and create a thin white border around each cell, you need to write the opening table tag this way:
    <table style="width:530px;border-collapse:collapse;">
    and each opening td tag this way:
    <td style="border:1px solid #fff;">

    PS1 To display code in the WP forums (without having to replace anything), you enclose it in backticks (see the note on “Allowed markup”).
    PS2 You can post in the Greek forum instead of here.

  • @notawoodpecker: The type of coding suggested on the pages you linked to is obsolete.

  • It works exactly the way I want. Thank you a lot!

  • The topic ‘Making boxes on posts and pages’ is closed to new replies.