• 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 :

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

    and the CSS

    .listhomepage1 {
    
            margin:0 0 0 0;
            padding:0px 0px 0px 0px;
    
    }
    
    .listhomepage2 {
    
            margin:0 0 0 0;
    	padding:0px 0px 0px 0px;
    
    }

    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 50×50 but 46×50.

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

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Problem with tables in Twenty Eleven’ is closed to new replies.