• Resolved Harry Hobbes

    (@harry-hobbes)


    Using the latest version of WordPress and PODS, I am unable to get the output to display correctly. The content is displaying correctly.

    Objective: display an “Historical Note” custom content type as a pre-formatted block on a page, and the block has a border and takes 90% of the width of the page. I’ve used an HTML table as the block “container,” in order to obtain a “box” border around the block.

    Problem: The width is always 100%, and the table border is always 1 pixel. Essentially, the HTML code below has no effect, no matter how I change the border and width settings.

    Can anyone advise where I’m in error or suggest a course of action?

    PODS Template code:

    
    

    <table border=”5″ width=”90%”>
    <tr>
    <td><center></center>
    <center><h3>Historical Note</h3></center>
    <hr />
    <center><h4>{@historical_note_descriptive_title}</h4></center>
    <center></center>
    <p>{@historical_note_body}</p>
    <center></center>
    <h5>Source: </h5>
    <p>{@historical_note_source}</p>
    </td>
    </tr>
    </table>`

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter Harry Hobbes

    (@harry-hobbes)

    Problem resolved with the following HTML:

    <table style=”width:80%; Border-width: 5px; margin: auto”>

    …as the first line in the PODS template.

Viewing 1 replies (of 1 total)
  • The topic ‘Tavle Format in PODS Template’ is closed to new replies.