Page 1 of 1

Webpage: Hide Selected Element/Cursor

Posted: Sat Mar 14, 2009 10:36 pm
by Space Bags
So I'm making an webpage that loads entirely through AJAX and this is driving me absolutely bzonkers.
Image
I want to know how to get rid of the dotted selection box. It is really killing the look of this site. Does anyone know how to get rid of it? WILLIKERS.

One note: please don't ask me why I don't want people to be able to see the box.

Re: Webpage: Hide Selected Element/Cursor

Posted: Sat Mar 14, 2009 10:45 pm
by JdL
a.yourlink {
outline: none;
}

Edit: You deserve points for posting a screenshot. :)

Re: Webpage: Hide Selected Element/Cursor

Posted: Sat Mar 14, 2009 11:06 pm
by steelcity_ballin
What do you mean "loads entirely in ajax"?. JDL's code should work perfectly.

Re: Webpage: Hide Selected Element/Cursor

Posted: Sun Mar 15, 2009 6:18 pm
by Space Bags
All I meant was this wouldn't be a problem if I had new pages completely reload the dom but I only allow a div to reload with an ajax call.
Thanks so much for this, it was an easy fix that makes my site look a lot better. You're a beautiful human being.

Re: Webpage: Hide Selected Element/Cursor

Posted: Sun Mar 15, 2009 6:25 pm
by JdL
Space Bags wrote:
You're a beautiful human being.

My wife would have you believe otherwise :)

Re: Webpage: Hide Selected Element/Cursor

Posted: Sun Mar 15, 2009 6:33 pm
by Space Bags
hahaha lol