1

I am facing some problems with aligning GIF's in the github markdown file or README.md.

I used to align gif's similar to how we align images using the <img> tag.

Example (previously)

<img align=right width=150 src="file_name.gif" /> <--FOR GIF's-->
<img align=right width=150 src="file_name.png" /> <--FOR Images-->

But now I am unable to align the gif's as mentioned above.

The following code works with the GIF alignment to the right. (Now)

<p align=right>
<img width=150 src="file_name.gif" />
</p>

Since my aim is to align the GIF right next to the paragraph similar to this, here it deals with an img but I want it to be for a GIF

right alignment of image

How can I align the GIF properly in the README.md file?

Archit Gargi
  • 634
  • 1
  • 8
  • 24
Swarup
  • 55
  • 1
  • 6

1 Answers1

1

Finally found the solution. Go to the link below and do the required changes as mentioned below.

Github Accessibility

You can follow the image below -

  • By default for you it might be Sync with System, you should change it to enabled. Further you can confirm the changes i.e., right alignment of the GIF's in my case.

Github new feature

Swarup
  • 55
  • 1
  • 6