Opera中的CSS菜单渲染问题 [英] CSS Menu Rendering Problem in Opera

查看:52
本文介绍了Opera中的CSS菜单渲染问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我一直在尝试,但未能弄清楚是什么导致Opera

在我的网站上错误地渲染我的下拉菜单。 />
http://www.lachy.id.au/


出于某种原因,每个列表下面似乎都有额外的保证金

项目,每个后续项目都会增加。有人可以请

看看他们是否能找到我的问题?它在Firefox中几乎可以完美地工作,所以你可以看到它应该是什么样子。它在IE中相当多地降低了

,那里只有一个hack使它至少可以让b $ b可读。


样式表是:
http:/ /www.lachy.id.au/lib/style/basic/coolblue

(确实有效,但-moz-border-radius除外,我是

只是试验)


最后,如果有人能让我知道它看起来有多好或多坏,那么它将会是什么样的好消息。也不错。但是,当我在几周内购买第一台Mac时,我会解决这些问题。


-

Lachlan寻找
http://www.lachy.id.au/


请将所有垃圾邮件发送至ab***@127.0.0.1

谢谢。

Hi,
I''ve been trying, but failing to work out what is causing Opera to
render my drop down menu incorrectly on my site.

http://www.lachy.id.au/

For some reason, there seems to be extra margin added below each list
item, that gets bigger for each subsequent item. Can someone please
take a look and see if they can find my problem? It works almost
perfectly in Firefox so you can see how it should look. It degrades
quite a lot in IE, there''s only one hack in there to make it at least
readable.

The style sheet is:
http://www.lachy.id.au/lib/style/basic/coolblue
(It does validate, with the exception of -moz-border-radius which I''m
just experimenting with)

Finally, if someone could let me know how good or bad it looks in
Safari, that would be good too. But I''ll fix those problems when I buy
my first Mac in a few weeks.

--
Lachlan Hunt
http://www.lachy.id.au/

Please direct all spam to ab***@127.0.0.1
Thank you.

推荐答案

我没有安装Opera(我是火狐人),但是你的网站看起来不错。

你在IE浏览器中可怕的降级并没有错: - )

你来自新南威尔士州中部的哪个城镇?我在Tamworth(我也不喜欢

乡村音乐;-)
I don''t have Opera installed (I''m a Firefox man) but your site looks good.
You''re not wrong about it degrading horribly in IE :-)

Which town in central NSW are you from? I''m in Tamworth (and I don''t like
country music, either ;-)


Frostillicus写道:
Frostillicus wrote:
我没有安装Opera(我是火狐人),但你的网站看起来不错。


谢谢。

你在IE浏览器中可怕的降级没错!-)


是的,我知道。这就是为什么我称之为Internet Exploder a?o

您来自新南威尔士州中部的哪个城镇?我在塔姆沃思(我也不喜欢乡村音乐; - )
I don''t have Opera installed (I''m a Firefox man) but your site looks good.
Thank you.
You''re not wrong about it degrading horribly in IE :-)
Yeah, I know. That''s why I call it Internet Exploder a?o
Which town in central NSW are you from? I''m in Tamworth (and I don''t like
country music, either ;-)




嗯,这不是主题,但好吧,我原来是来自帕克斯,但后来又把他们带到了悉尼工作。


-

Lachlan Hunt a?o
http://www.lachy.id.au/


请将所有垃圾邮件发送至ab***@127.0.0.1

谢谢。



Well, it''s off topic, but ok, I''m originally from Parkes, but have since
moved to Sydney for work.

--
Lachlan Hunt a?o
http://www.lachy.id.au/

Please direct all spam to ab***@127.0.0.1
Thank you.


Lachlan Hunt写道:
Lachlan Hunt wrote:

我一直在尝试,但没有弄清楚是什么导致Opera
在我的网站上错误地渲染我的下拉菜单。

http ://www.lachy.id.au/

出于某种原因,每个列表项下面似乎都有额外的保证金,每个后续项目都会变大。
有人可以看看,看看他们是否可以f我的问题?


Haven没有看到所有的可能性,但如果你改变:

#sitenav li {margin:0;填充:0; text-align:center; min-

身高:100%;}

to:

#sitenav li {margin:0;填充:0; text-align:center; min-

身高:40%;}

问题似乎消失了(在我的''只有菜单'' - 测试中)。


很可能这与代码中某处的其他

属性有关。

几乎可以工作完全在Firefox中,所以你可以看看它应该是什么样子。它在IE中降级了很多,
只有一个黑客可以让它至少可读。
Hi,
I''ve been trying, but failing to work out what is
causing Opera to
render my drop down menu incorrectly on my site.

http://www.lachy.id.au/

For some reason, there seems to be extra margin added below
each list item, that gets bigger for each subsequent item.
Can someone please take a look and see if they can find my
problem?
Haven''t looked at all the possibilities, but if you change:
#sitenav li { margin: 0; padding: 0; text-align: center;min-
height:100%;}
to:
#sitenav li { margin: 0; padding: 0; text-align: center;min-
height:40%;}
the problem seems to disappear (in my ''only the menu''-test).

Could well be that this has to do with one of the other
properties somewhere in the code though.
It works almost perfectly in Firefox so you can
see how it should look. It degrades quite a lot in IE,
there''s only one hack in there to make it at least
readable.




在我的IE6.0 WinXP,我得到406:不接受。我自己的本地

副本确实有效......

可以通过居中页面来增强它的价值

: - )


-

Els
http://locusmeus.com/

Sonhos vem。 Sonhos v?o。 Orestoébritfeito。

- Renato Russo -



In my IE6.0 WinXP, I get a 406 : Not accepted. My own local
copy does work however...
Could enhance it a tiny bit more by centering the page though
:-)

--
Els
http://locusmeus.com/
Sonhos vem. Sonhos v?o. O resto é imperfeito.
- Renato Russo -


这篇关于Opera中的CSS菜单渲染问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆