English 中文(简体)
如何缩小在html要素之间的神秘鸿沟?
原标题:How to fix mystery padding gap between html elements?

我有一个段落内容,接着是一份没有顺序的清单(图画是从对Joomla的简单图像展台延伸到来的),在我根本无法解释的两者之间存在着大约200px的垂直差距! 这一差距出现在Catherine、Empa和Safari。

即便在火药或 Chrome develop开发器工具中使用DOM观器,在应用中,绝对没有穿透或差值,这会造成这一差距——它是一种真正的神秘!

I have already put * {margin:0, padding:0} in place with no luck. I get the feeling it has something to do with the webkit-padding values being added by the browser or something.

任何帮助都会受到高度赞赏。

最佳回答

页: 1

clear: both,在上面的浮动之后,垂直出现在一个新的线上。

问题回答

你可以通过在你的风格上添加一条规则来加以确定。

#wrapper {
    float: right;
}




相关问题
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!

热门标签