开发者

What would cause a <div> to bunch up in the corner?

开发者 https://www.devze.com 2023-02-04 12:32 出处:网络
This worked fine on my test page. But when I put 开发者_如何学编程it on my boss\'s page, it bunches up in the top left corner!

This worked fine on my test page. But when I put 开发者_如何学编程it on my boss's page, it bunches up in the top left corner!

#chatBox {
  z-index: 100;
  position: absolute;
  top: 125;
  left: 200;
  width: 400;
  height: 200;
  background-color: #8596C1;
  padding: 15px;
  border: solid 1px;
  display: none;
}

Any ideas?

Thanks!


You might have problems cross-browser because your "width" and "height" don't end in "px". See if that helps at all.

0

精彩评论

暂无评论...
验证码 换一张
取 消