Thomas van den Bulk February 2016

Odd blue line when reloading page

I'm making a script that automatically shows a video on fullscreen, and it's all working perfectly,but for some reason, when I load a page, it gets this odd blue line on the side of my screen, which is gone on clicking somewhere on the page. Does anyone know why this happens?

Maybe not clearly visible, second one should be more clear

Made a second screenshot where partially is offscreen so you can see it clearly

Answers


Achshar February 2016

It's most probably the focus "glow". It's called the outline of an element. Any element with a tab index will have the focus outline. You can remove it with css easily.

video {
    outline: none;
}

That should be enough.

Post Status

Asked in February 2016
Viewed 3,798 times
Voted 11
Answered 1 times

Search




Leave an answer