![]() |
CSS Trick that's commonly overlooked.
This isn't really anything of intense value, but it can help add that extra edge to your website.
On links, and some other objects in XHTML, when clicked, a dotted border appears. ![]() By adding the following css code: Code:
.object { outline: 0; }Edit: In some scenarios, this code isn't accepted perfectly, so you should add something similar to this: Code:
.object:focus { outline: 0; } |
Certainly overlooked by me!
I agree it makes pages look more professional. |
Thanks Chase, very handy tip :-)
Alan |
Quote:
thanks chase |
Warning: If you do this, people who use their keyboard to navigate the screen will not be able to select linked images. This severely decreases accessibility.
I'd rather a few dotted lines than to decrease accessibility to my site. |
Quote:
|
Quote:
|
That is true. I guess it all depends on who uses your page. I personally never really tab through links, so I don't have this problem =\
|
| All times are GMT. The time now is 07:28 AM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0