How to center GitHub readme video horizontally?
I tried:
<p align="center">
<video src="myvideo.mp4" width=400/>
<p/>
It works when p
is containing img
( see ) but not with video
tag in it
I had the same problem recently try div instead of p tag
<div align="center">
<video src="myvideo.mp4" width=400/>
<div/>
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.