图片在响应式设计中没有正确对齐
Images are not properly aligning in responsive design
我开发了响应式网站设计。这是 secondgf . In one of my post I have arranged all the images at center. It is working properly on desktop and all images seems properly aligned at center, but when I open it on a mobile device all the images get aligned at right. My previously written post also have images aligned at center and it works perfect in both mobile and desktop. This is the working post-secondgf.com 我试图弄清楚 post 有什么问题,但没有成功。它托管在博客上。
问题不在于图像,而在于包含的元素,在此示例中为元素 "a"。这有 1em 的内联边距,删除它们,图像将不会移动 ;)
我开发了响应式网站设计。这是 secondgf . In one of my post I have arranged all the images at center. It is working properly on desktop and all images seems properly aligned at center, but when I open it on a mobile device all the images get aligned at right.
问题不在于图像,而在于包含的元素,在此示例中为元素 "a"。这有 1em 的内联边距,删除它们,图像将不会移动 ;)