English 中文(简体)
试图使用负差差去除 CSS 图像网格上的发线
原标题:Trying to remove a hairline on CSS image grid using negative margin

恐怕这就是我对盒式模型的理解不足的地方。 如果你看看麦克(在PC上似乎不会发生)上的这一页, 图像之间有一条线。 它使我的客户发疯了, 并想知道是否有人能帮助我理解如何使这些图像百分之百地相互对立, 因此图像之间没有明显的线。 希望这很有意义 。

http://mkmultimedia.net/labs/mcafee/site/crew.html

最佳回答

The problem was in my CSS reset: The body had line-height: 1.
I changed that to zero and got rid of the -2px margins on the LIs.

问题回答

我和Andy一样,也在Firefox(PC)上(一些图像下面的一条细线)看到它。我建议删除 margin-down: -2px ,并将.crew-fade 的高度设定为 .crew hleight:110px (图像高度)。





相关问题
CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

image changed but appears the same in browser

I m writing a php script to crop an image. The script overwrites the old image with the new one, but when I reload the page (which is supposed to pickup the new image) I still see the old one. ...

Firefox background image horizontal centering oddity

I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!