• Hi,

    I have been trying to work in HTML. Now I am stuck with getting text centered under my image in a table.

    Under the blue space image it says “blue space”:
    https://timbeek.com/collections/

    Is there a way to get the text centered right under the image? It’s too low and not in the center. I cannot figure out why because I aligned the text to the center. It looks good in edit mode but not on the website itself.

    Code:

    <table>
    <tbody>
    <tr>
    <td><a style="line-height: 19px;" title="Blue space" href="https://www.timbeek.com/collections/blue_space/"><img class="alignnone size-full wp-image-307" alt="avatar_standaard" src="https://timbeek.com/wp-content/uploads/2013/08/Blue-space2.jpg" width="128" height="128" /></a>
    <p style="text-align: center;"><a title="Blue space" href="https://www.timbeek.com/collections/blue_space/"><span style="font-size: medium;">Blue space</span></a></p>
    </td>
    </tr>
    </tbody>
    </table>

    Any help would be greatly appreciated!

    Tim

Viewing 1 replies (of 1 total)
  • In the chrome and firefox browsers, when visiting your website’s URL, I get this code, you’ll notice a <p></p> at the end of a line, causing the problem in my opinion.

    <table>
    <tbody>
    <tr>
    <td><a style="line-height: 19px;" title="Blue space" href="https://www.timbeek.com/collections/blue_space/"><img class="alignnone size-full wp-image-307" alt="avatar_standaard" src="https://timbeek.com/wp-content/uploads/2013/08/Blue-space2.jpg" height="128" width="128"></a><p></p>
    <p style="text-align: center;"><a title="Blue space" href="https://www.timbeek.com/collections/blue_space/"><span style="font-size: medium;">Blue space</span></a></p>
    </td>
    </tr>
    </tbody>
    </table>

    Could you have accidentally saved a bugged version ?

Viewing 1 replies (of 1 total)
  • The topic ‘Picture below table’ is closed to new replies.