Siol Siol - 1 year ago 181
CSS Question

Incredible Google Chrome Render

Do you see the rectangle inside the blue div? It make no sense for me that Google Chrome render this rectangle. The page is only having a div with the class "sidebar" and the css is only this:


I removed all extensions in Google Chrome, I've restarted my computer. Only me experiencing this render. I'm not sure how to fix this behavior. Any help?

Edit: I'm using MacOS Sierra v 10.12 and Chrome Version 53.0.2785.143 (64-bit) seem to be the last update possible. The problem appear also for me here: see . It seem to be not easy to reproduce.

Answer Source

This question is going to have all shots in the dark I think but here are some things you could try:

  1. Set * { all:initial; } to reset all style props to initial.
  2. Switch display from inline to inline-block to block on the div / body.
  3. Does the issue happen in Firefox? Safari?
  4. Install Chrome Canary and see if it happens there.
  5. Try going into the chrome devtools drawers and disable emulation and other options as shown here.
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download