The module works fine and adds fantastic value to my sites.

However, when I click anywhere inside the div that has the scrollbar, a red border appears around the div. Is this a javascript standard phenomenon?

CommentFileSizeAuthor
#6 chrome2.png161.12 KBopdavies
#4 chrome.png112.28 KBopdavies

Comments

Anonymous’s picture

Status: Active » Closed (works as designed)

Wait, no, this is a Chrome issue it seems.

opdavies’s picture

For reference, I'm running Chrome v17.0.963.56 and I don't get this issue so it may be an issue with your specific version of Chrome. Do you see it around the bottom-right div on http://www.wlsquared.com/home?

Anonymous’s picture

I'm on Chrome 17.0.963.83.
It's not on your website link.
But it's on this one: www.high-horse.com
Oddly it's also around this text area (the one I'm typing into right now). So it must be a Chrome thing. But why is it not around the div on your website? Is there a way to turn that off?

opdavies’s picture

StatusFileSize
new112.28 KB

I get a border around the textarea when the :focus pseudo element is trigged (screenshot attached). Is this what you're referring to?

Anonymous’s picture

That's the one.
Why would this particual div on my site be a focusable element? The classes on this are "inner column center scroll-pane jspScrollable".

opdavies’s picture

StatusFileSize
new161.12 KB

:focus is just a selector within CSS, the same as :hover and :active. It doesn't need to have a class within your HTML.

http://www.w3schools.com/cssref/sel_focus.asp

If you use the Element Inspector, then you can see that there's a computed style being applied by Chrome to add an outline-color (I've attached a screenshot).

You could try adding the following into your CSS:

textarea:focus {
  outline: none !important;
}