Need help? Check out our Support site, then


Problem with tables in Twenty Eleven

  1. Hi,

    I have problems with Twenty Eleven. I created a child theme, and I want to use a table with absolutely no spaces between the row. There will be 2 cells on each row, one with an image and one with text.

    Here is the HTML code :

    <br /> <table><br /> <tbody><br /> <tr><br /> <td class="listhomepage1" style="border: 1px solid #000000;"><img title="50x50" src="THEURL/50x50.png" width="50" height="50" /></td><br /> <td class="listhomepage2" style="border: none;">blabla</td><br /> </tr><br /> </tbody><br /> </table>

    and the CSS

    .listhomepage1 {</p> <p> margin:0 0 0 0;<br /> padding:0px 0px 0px 0px;</p> <p>}</p> <p>.listhomepage2 {</p> <p> margin:0 0 0 0;<br /> padding:0px 0px 0px 0px;</p> <p>}

    So, there should be my image directly rounded by the black border, with no space between.

    But here is how my images appears : Link to the image. There is a 2px-wide blank on the right and a 6px-wide blank at the bottom. Moreover, the image is no more 50x50 but 46x50.

    Have you got any idea where it could come from ?
    Thanks in advance

  2. You did not specify a blog address or reason for posting when you created this topic.

    This support forum is for blogs hosted at WordPress.com. If your question is about a self-hosted WordPress blog then you'll find help at the WordPress.org forums.

    If you don't understand the difference between WordPress.com and WordPress.org, you may find this information helpful.

    If you forgot to include a link to your blog, you can reply and include it below. It'll help people to answer your question.

    This is an automated message.

Topic Closed

This topic has been closed to new replies.

About this Topic