DIV菜单的另一个问题 [英] Another problem with the DIV menu

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

问题描述

就像我在几个不同的问题中说的那样,我有一个DIV菜单。

现在我几乎完成了我的网站,我正在测试它的不同

浏览器。我的问题是,当我看到IE中的Div菜单时,

一切都还可以,但是当我去Netscape或Opera的DIV菜单时

显示下面的5个像素在IE浏览器中,所以菜单看起来并不像它连接到横幅上的b $ b。

Like I have said in a couple of different questions I have a DIV menu.
Now I am almost complete with my site and I am testing it on different
browsers. My problem is that when I look at the Div menu in IE
everything is okay but when I go to Netscape or Opera the DIV menu
shows about 5 pixes below where it does in IE so the menu doesn''t look
like it is connected to the banner.

推荐答案



" Mark Constant" <共******* @ mix-net.net>在消息中写道

news:ce ************************** @ posting.google.c om ...

"Mark Constant" <co*******@mix-net.net> wrote in message
news:ce**************************@posting.google.c om...
就像我在几个不同的问题中说的那样,我有一个DIV菜单。
现在我几乎完成了我的网站,我正在不同的浏览器上测试它。我的问题是当我看到IE中的Div菜单时
一切都还可以,但是当我去Netscape或Opera时,DIV菜单显示下面的5个像素,它在IE中的位置,所以菜单没有看起来好像它连接到横幅。
Like I have said in a couple of different questions I have a DIV menu.
Now I am almost complete with my site and I am testing it on different
browsers. My problem is that when I look at the Div menu in IE
everything is okay but when I go to Netscape or Opera the DIV menu
shows about 5 pixes below where it does in IE so the menu doesn''t look
like it is connected to the banner.




Url?


没有看到实际的网站,人们只能猜到发生了什么。

尝试将此声明添加到你的div规则中:


margin-top:0;


问候,

Jim Roberts



Url?

Without seeing the actual website, one can only guess what is going on.
Try adding this declaration to your div rule:

margin-top: 0;

Regards,
Jim Roberts




" Mark Constant" ; <共******* @ mix-net.net>在消息中写道

news:ce ************************** @ posting.google.c om ...

"Mark Constant" <co*******@mix-net.net> wrote in message
news:ce**************************@posting.google.c om...
就像我在几个不同的问题中说的那样,我有一个DIV菜单。
现在我几乎完成了我的网站,我正在不同的浏览器上测试它。我的问题是当我看到IE中的Div菜单时
一切都还可以,但是当我去Netscape或Opera时,DIV菜单显示下面的5个像素,它在IE中的位置,所以菜单没有看起来好像它连接到横幅。
Like I have said in a couple of different questions I have a DIV menu.
Now I am almost complete with my site and I am testing it on different
browsers. My problem is that when I look at the Div menu in IE
everything is okay but when I go to Netscape or Opera the DIV menu
shows about 5 pixes below where it does in IE so the menu doesn''t look
like it is connected to the banner.




Url?


没有看到实际的网站,人们只能猜到发生了什么。

尝试将此声明添加到你的div规则中:


margin-top:0;


问候,

Jim Roberts



Url?

Without seeing the actual website, one can only guess what is going on.
Try adding this declaration to your div rule:

margin-top: 0;

Regards,
Jim Roberts


" Jim Roberts" < JR ****** @ msn.com>在消息新闻中写道:< c6 ************ @ ID-184466.news.uni-berlin.de> ...
"Jim Roberts" <jr******@msn.com> wrote in message news:<c6************@ID-184466.news.uni-berlin.de>...
" Mark Constant" <共******* @ mix-net.net>在消息中写道
新闻:ce ************************** @ posting.google.c om ...
"Mark Constant" <co*******@mix-net.net> wrote in message
news:ce**************************@posting.google.c om...
就像我在几个不同的问题中说的那样,我有一个DIV菜单。
现在我几乎完成了我的网站,我正在不同的浏览器上测试它。我的问题是当我看到IE中的Div菜单时
一切都还可以,但是当我去Netscape或Opera时,DIV菜单显示下面的5个像素,它在IE中的位置,所以菜单没有看起来好像它已连接到横幅。
Like I have said in a couple of different questions I have a DIV menu.
Now I am almost complete with my site and I am testing it on different
browsers. My problem is that when I look at the Div menu in IE
everything is okay but when I go to Netscape or Opera the DIV menu
shows about 5 pixes below where it does in IE so the menu doesn''t look
like it is connected to the banner.



网址?

没有看到实际的网站,人们只能猜到会发生什么尝试将此声明添加到div规则中:

margin-top:0;

问候,
Jim Roberts



Url?

Without seeing the actual website, one can only guess what is going on.
Try adding this declaration to your div rule:

margin-top: 0;

Regards,
Jim Roberts




我会尝试保证金最高价:0但是我不能发布我的网站,因为它在受限制的学校网站上是

。这是我的DIV图层的代码,如果

有帮助。


#TutorialsLayer {

position:absolute;

填充:4px 4px 4px 4px;

剩余:442px;

顶部:154px;

宽度:140px;

身高:85px;

z-index:2;

背景颜色:#4169E1;

layer-background -color:#4169E1;

可见性:隐藏;

}



I will try the margin-top: 0 but I can''t post my website since it is
in a restricted school website. Here is the code for my DIV Layer if
that helps.

#TutorialsLayer {
position:absolute;
padding: 4px 4px 4px 4px;
left: 442px;
top: 154px;
width: 140px;
height: 85px;
z-index:2;
background-color: #4169E1;
layer-background-color: #4169E1;
visibility: hidden;
}


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

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