Inside the tiddlers I tested:
| [img [http://placehold.it/25.png]] | [img [http://placehold.it/25.png]] | [img [http://placehold.it/25.png]] |
| [img [http://placehold.it/50.png]] | [img [http://placehold.it/50.png]] | [img [http://placehold.it/50.png]] |
<table class="tg">
<tr>
<td class="cg">[img [http://placehold.it/25.png]]</td>
<td class="cg">[img [http://placehold.it/25.png]]</td>
<td class="cg">[img [http://placehold.it/25.png]]</td>
</tr>
<tr>
<td class="cg">[img [http://placehold.it/50.png]]</td>
<td class="cg">[img [http://placehold.it/50.png]]</td>
<td class="cg">[img [http://placehold.it/50.png]]</td>
</tr>
</table>
I tried both using the tiddlywiki format and html tables. I was able to do a quick fix by padding the top of each cell by 5px. I've been trying to search for the css handling the table alignment using the chrome dev tool but could not find it. Is there a better way to do it?
.tg {border:0;}
.tg .cg{border: 1px solid black;padding: 5px 5px 0px 5px;}
<td align="center"><img src="foldername/imagename.jpg" width=120 ></td>I have been trying add images inside tables and the images keep aligning top and not the middle.
I tried both using the tiddlywiki format and html tables. I was able to do a quick fix by padding the top of each cell by 5px. I've been trying to search for the css handling the table alignment using the chrome dev tool but could not find it. Is there a better way to do it?