html - 背景图像未在 chrome 中显示

标签 html css

因此背景图像不会在 chrome 中显示,但会在所有其他浏览器中显示。我有背景图片和背景颜色,但是 chrome 中没有显示颜色和图像。它在所有其他浏览器上都能完美显示,可能是什么问题?

您可以在这里查看网站 Here

最佳答案

1/如果这是预期的图像,则可能是您的问题,错误:未找到: Link

2/这很有趣;

在 Chrome 中右键单击,转到“检查元素”(顺便说一句,非常有用的工具)你会看到这个:

<body class="home page page-id-2 page-template page-template-template-homepage-style2-
php top" style="background: none; background-image: 
url('http://buenavistabistro.drivenmodels.net/wp-content/themes/bordeaux/images/homepage-bg.JPG'); background-repeat: repeat-x; background-color: #0056C5;">

'http://buenavistabistro.drivenmodels.net/wp-content/themes/bordeaux/images/homepage-bg.JPG'是当前主页的背景图片,它只是一个又高又细的普通白框

关于html - 背景图像未在 chrome 中显示,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8665716/

相关文章:

jquery - 模糊整个 <li> 除了最后一个词

css - 将 child 移动到 parent 的左侧(外侧)

html - 与我的其他元素组合时,我似乎无法让我的页脚位于页面底部

php - Facebook Open Graph,未提供类型为 'og:title' 的必需属性 'string'

css - 如何使用 z-index 修复菜单

javascript - 如何根据页面上的内容定位按钮

html - 强制文本在没有宽度的情况下换行到 div 中

html - 在 flexbox li 元素中底部对齐图像

javascript - 单击时更改背景位置

javascript - 如何记住浏览器刷新时 iframe 指向哪个 href?