html - Div 隐藏在 Chrome 中

标签 html css google-chrome css-float

此代码适用于 IE 和 Firefox,但由于某些原因,大多数 div 不会在 Chrome 中显示。不知道我在这里错过了什么。有很多 html 和 css,所以我在这里只包含一个带有链接的片段。任何让我知道我的错误的帮助将不胜感激

https://jsfiddle.net/Dude_Abides/Lau6qg1b/

<div class="left">
<div class="articleHeader">
<h3 class="articleHeaderContent">President's Corner</h3>
</div><!-- end articleHeader -->

<img src="images/000-BillyElliott.jpg" alt="Author Pic" style="height:100px; width:100px;" class="authorPic">

<br>

<div class="authorHeader">
<p class="authorName">Billy Elliott</p>
<br>
<p class="authorTitle">President</p>
</div><!-- end authorHeader -->

<br>

<p class="aP">If you have been with the company long, I'm sure you've heard we have a goal of 15% growth in gross profit each year. As a company we have no debt and have excess capital to invest in growth. So what's slowing us down? Figuring out where we should put in new locations is easy, finding or building a new building is not that difficult, and inventory is pretty straight forward. The hardest part is finding the right people.</p>

<p class="aP">It depends on the size of the location, but typically we need a store manager, maybe an operations manager, counter and inside sales people, warehouse and delivery people. We would prefer to promote from within. We like giving people who work for us the first chance at new opportunities, and it's easier to start a new branch with people who already know what they're doing. We find that even when we hire individuals who have experience in our industry but from outside <span class="store">Elliott Electric</span>, there is still a learning curve to doing things our way.</p>

<p class="aP">It seems like it should be easier to find people. We already know who works for us. But yet we still have a hard time identifying people who are interested in taking on a new challenge. In most cases it would require a move because we are opening up in a new town. With over 1600 employees, it makes it difficult to know who might be interested in moving and if so, where. Of course you might not be interested this year because your kid(s) may be graduating this year, but next year or the year after that you might be interested. In some cases we need someone fully qualified and other times we can take someone with limited experience but shows the drive to learn and willingness to take on a new challenge. We post job opportunities on our website and we send out companywide emails, but we still seem to get limited responses. I don't have a solution to the problem, but my suggestion is: if you're someone interested in moving up then you need to keep putting a bug in your manager's ear so when opportunities come up everyone will know you're a candidate. If you have any suggestions, please don't be shy!</p>
</div><!-- end left -->

最佳答案

您正在使用像 ::-webkit-scrollbar 这样的伪选择器。 Chrome 会处理它,其他浏览器会忽略该行。因此,删除带有这些选择器的行,它将起作用。

See updated jsfiddle .

关于html - Div 隐藏在 Chrome 中,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45841715/

相关文章:

python - Django:css 引用静态文件中的媒体(django dev/1.3/static 文件)

javascript - 将 JSON 对象与 HTML 混合是否合适?

javascript - 在 .htaccess 中处理内容安全策略

google-chrome - 预连接 vs dns-prefetch 资源提示

javascript - 更改图像源 onclick Accordion

javascript - 我需要制作一个警告框,显示用户在评论部分输入的内容

css - 文本溢出 : ellipsis doesn't appear to be working

jquery - jsTree默认箭头/三 Angular 形图标配置

css - 在 Chrome 中 - 父 div 的 CSS 变换旋转导致文本被剪切

javascript - 在 chrome 扩展程序中保留页面操作的状态