README - Markdown Question #113697
-
Select Topic AreaQuestion BodyWhen creating a README file, I'm wanting to have something that allows me to basically have two images combined together (one under the other) and when the screen resizes then Image A for example will always be above Image B. I've tried doing this a few different ways and even though it shows that it works with a Markdown viewer, it does not when being displayed on GitHub. What I'm doing:
I have nested this div insidea another as there's a bunch of these together and I wanted to center them all but I don't think this is working either. Is it possible to do it the way I want to? Thanks in advance, |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 7 replies
-
Hello @JordanPicton-try to use grid instead of flexbox or this directly in a markdown readme | Website | Description | |
Beta Was this translation helpful? Give feedback.
-
Hey Jordan, have you tried wrapping your images into a good old HTML table? You could specify 2 rows and 4 cols and put the matching images into the respective cells. So basically <table>
<tr>
<td>1A</td>
<td>2A</td>
<td>3A</td>
<td>4A</td>
</tr>
<tr>
<td>1B</td>
<td>2B</td>
<td>3B</td>
<td>4B</td>
</tr>
</table> and replace the placeholder vals with your |
Beta Was this translation helpful? Give feedback.
-
This helped me fix the formatting I was trying to accomplish thank you a lot for helping me with this. :) |
Beta Was this translation helpful? Give feedback.
Hey Jordan,
have you tried wrapping your images into a good old HTML table? You could specify 2 rows and 4 cols and put the matching images into the respective cells.
So basically
and replace the placeholder vals with your
<img>
tags.