简体   繁体   English

网站菜单在Safari浏览器中未显示某些内容

[英]Site menu not displaying some content in safari browser

If you visit this website http://www.togethermutualinsurance.co.uk in any browser apart from safari (in windows) the menu displays fine. 如果您使用除野生动物园之外的任何浏览器(在Windows中)访问此网站http://www.togethermutualinsurance.co.uk ,菜单显示都会很好。

However when I visit this website in safari it does not display the title of the menus and and submenus with images. 但是,当我通过野生动物园访问此网站时,它不会显示菜单标题和带有图像的子菜单。

I have tried everything in css I just can't get my head around it. 我已经尝试过在CSS中进行的所有操作,但我还是无法解决。

Here is the menu css file 这是菜单css文件

http://togethermutualinsurance.co.uk/TG/App_Stylesheets/Menu/mainmenu.css http://togethermutualinsurance.co.uk/TG/App_Stylesheets/Menu/mainmenu.css

Any help would be appreciated. 任何帮助,将不胜感激。

Thanks 谢谢

Apply - 申请-

html,body{
margin:0px;
padding:0px;
}

Web browsers have different default settings for the base margins and padding. Web浏览器的基本边距和填充具有不同的默认设置。

You need to set this to make sure your browsers are all set to equal levels for margin/padding. 您需要进行设置,以确保所有浏览器的边距/边距都设置为相同的级别。

I tried to open the website in afari and found out the issue 我试图在afari中打开网站并发现问题

check the image the issue is with #main-menu li class reomve padding and margin and there your menu comes... 使用#main-menu li class reomve padding和margin检查问题的图像,然后出现菜单...

    #main-menu li 
{

}

在此处输入图片说明

尝试

margin:0, padding:0 in ul, li

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM