English 中文(简体)
动物分解时,男性分子跳跃
原标题:Menu elements jumping when zooming
  • 时间:2012-04-20 17:42:31
  •  标签:
  • html
  • css

The problem is as follows: I have a basic unordered list which I turn into a horizontal menu using css. However while zooming in or out in browser, the menu items jump to the next line as such:

不详:

大会和会议管理部印发

动物园艺:

|Menu 1| |menu 2| |Menu 3|
|Menu 4|

我能做些什么来使菜单项目从跳跃上来?

问题回答

试验硫酸ul的固定(最低)尺寸(或视可能部分包装硫酸ul),并给硫酸.留出过量。 类似:

ul {
    width: 750px;
    overflow:auto;
}

我同意SinsitraD——在那里留下一点小路。 如果你再使用百分比,我通常会想留下大约2%的津贴。 如果你喜欢用餐厅作为你选择的单位,那么,1-2%的猜测津贴将涵盖大多数四舍五入的错误。

也许你发现,浏览器之间的动物群行为不一致,因为大多数浏览器使用不同的方法计算动物体积。

try applying a position: relative in li elements





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

热门标签