473,651 Members | 2,582 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

*:focus { outline: none }

Hi,

I'm posting in this forum for the first time so if I break any conventions
or protocols I'm sorry.

I've attached this style:

*:focus { outline: none }

to a page but it doesn't remove the dotted lines (surrounding links that
have been 'hit') like it's supposed to.

http://www.arvonfoundation.org/test/new_index5.htm is the page with the
style attached.

http://www.arvonfoundation.org/test/...main_style.css is the
stylesheet.

Thanks for any help.

Chris Bradbury
Jul 20 '05 #1
20 33814
Chris Bradbury wrote:
Hi,

I'm posting in this forum for the first time so if I break any conventions
or protocols I'm sorry.

I've attached this style:

*:focus { outline: none }

to a page but it doesn't remove the dotted lines (surrounding links that
have been 'hit') like it's supposed to.

http://www.arvonfoundation.org/test/new_index5.htm is the page with the
style attached.

http://www.arvonfoundation.org/test/...main_style.css is the
stylesheet.

Thanks for any help.

Chris Bradbury


AFAIK, this is not supported. Perhaps Safari does support it, but I
can't test it at the moment.

--
Anne van Kesteren
<http://www.annevankest eren.nl/>
Jul 20 '05 #2
in post <news:40******@ 212.67.96.135>
Chris Bradbury said:
I've attached this style:
*:focus { outline: none }
to a page but it doesn't remove the dotted lines (surrounding links that
have been 'hit') like it's supposed to.


why do you want to make it more difficult for people to navigate your
site?

--
brucie
Jul 20 '05 #3
Hi Anne,

A colleague has used it with no problem. I also found this info which seems
to suggest it's supported:

http://www.phpfreaks.com/css_manual/...namic-outlines

Also tried this different approach:

http://www.liquidpulse.net/code/129

but...didn't work!

TIA
Chris

"Anne van Kesteren" <ma**@annevanke steren.nl> wrote in message
news:bt******** **@reader11.wxs .nl...
Chris Bradbury wrote:
Hi,

I'm posting in this forum for the first time so if I break any conventions or protocols I'm sorry.

I've attached this style:

*:focus { outline: none }

to a page but it doesn't remove the dotted lines (surrounding links that
have been 'hit') like it's supposed to.

http://www.arvonfoundation.org/test/new_index5.htm is the page with the
style attached.

http://www.arvonfoundation.org/test/...main_style.css is the stylesheet.

Thanks for any help.

Chris Bradbury


AFAIK, this is not supported. Perhaps Safari does support it, but I
can't test it at the moment.

--
Anne van Kesteren
<http://www.annevankest eren.nl/>

Jul 20 '05 #4
It's not that, the client wants them gone and the client is GOD...

Chris

"brucie" <sh**@bruciesus enetshit.info> wrote in message
news:bt******** ****@ID-117621.news.uni-berlin.de...
in post <news:40******@ 212.67.96.135>
Chris Bradbury said:
I've attached this style:
*:focus { outline: none }
to a page but it doesn't remove the dotted lines (surrounding links that
have been 'hit') like it's supposed to.


why do you want to make it more difficult for people to navigate your
site?

--
brucie

Jul 20 '05 #5
"Chris Bradbury" <cj********@dia l.pipex.com> wrote:
"brucie" <sh**@bruciesus enetshit.info> wrote in message
news:bt******* *****@ID-117621.news.uni-berlin.de...
in post <news:40******@ 212.67.96.135>
Chris Bradbury said:
> I've attached this style:
> *:focus { outline: none }
> to a page but it doesn't remove the dotted lines (surrounding links that
> have been 'hit') like it's supposed to.


why do you want to make it more difficult for people to navigate your
site?

It's not that, the client wants them gone and the client is GOD...


But is the client aware of the negative impact this will have on his
site? Has the client signed off on this, acknowledging that what he
wants is against your expert advice, and accepted all responsibility
for future costs that might arise as a result of following this
course?

Anyway, I'm fairly certain that :focus is supported by IE and I know
that outline: isn't so this solution definitely won't work for the
majority of user's out there.

Opera supports outline but uses highlighting not outline on the
currently selected link. Opera's support for :focus seems to be
patchy.

Mozilla supports :focus and it's own -moz-outline property, so
*:focus { -moz-outline: none } will work in Mozilla.

If the client is determined to screw any potential customers who
happen not to use a mouse to navigate web pages then you'll have to
use JavaScript methods to hide the focus rectangle.

Steve

--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor

Steve Pugh <st***@pugh.net > <http://steve.pugh.net/>
Jul 20 '05 #6
Steve Pugh <st***@pugh.net > wrote in
news:lk******** *************** *********@4ax.c om:
If the client is determined to screw any potential customers who
happen not to use a mouse to navigate web pages then you'll have to
use JavaScript methods to hide the focus rectangle.


It's worth mentioning that there are many people who use a mouse for
general link/menu navigation but prefer to use the keyboard for navigating
between form elements (less hand-shifting when you're typing).
Jul 20 '05 #7
How am I supposed to post my replies in a newsgroup?:
http://allmyfaqs.com/faq.pl?How_to_post
brucie wrote
Chris Bradbury said:
I've attached this style:
*:focus { outline: none }
to a page but it doesn't remove the dotted lines (surrounding
links that have been 'hit') like it's supposed to.
why do you want to make it more difficult for people to navigate
your site?


Chris Bradbury wrote: It's not that,
Is *is* that. You are removing information that users are accustomed
to seeing, information that they use to figure out where they've been.
the client wants them gone and the client is GOD...


Tempting though it is to reply with smart-alec responses ("Does God
pay well? Could you ask him if he *does*, after all, play dice with
the universe? etc.), I'll stick to the topic.

The client has hired you to design a site. Presumably, this client
wants a site that visitors will find easy to use. You are the expert.
Isn't it your job to warn the client that their wish to remove
navigation hints (the focus outline) conflicts with the goal of
creating a functioning site?

--
Brian
follow the directions in my address to email me

Jul 20 '05 #8
On Mon, 12 Jan 2004 15:51:33 -0000, Chris Bradbury
<cj********@dia l.pipex.com> wrote:
It's not that, the client wants them gone and the client is GOD...


If I tell the architect I don't want any load-bearing walls on the first
floor, and no cross-beams and pillars because I don't like how they look,
is it the architect's duty to build me a house that will fall down, or to
politely tell me that I'm an idiot and to let him do the job I'm paying
him to?

Biggest problem with web authoring - too many forget that the structure is
more important than the presentation.
Jul 20 '05 #9
Top-posting corrected; please have a quick read of
http://www.xs4all.nl/~sbpoley/toppost.htm
On Mon, 12 Jan 2004 15:51:33 -0000, "Chris Bradbury"
<cj********@dia l.pipex.com> wrote:
"brucie" <sh**@bruciesus enetshit.info> wrote in message
news:bt******* *****@ID-117621.news.uni-berlin.de...
in post <news:40******@ 212.67.96.135>
Chris Bradbury said:
> I've attached this style:
> *:focus { outline: none }
> to a page but it doesn't remove the dotted lines (surrounding links that
> have been 'hit') like it's supposed to.
why do you want to make it more difficult for people to navigate your
site?

It's not that, the client wants them gone and the client is GOD...

Gently point out to the client that visitors may decide not to believe
in him ...

The outline is there for a reason, and some people will find the site
very difficult (even impossible) to use without it. Try navigating the
site using the keyboard. Oh, and by the way - you do know that not all
browsers use a dotted outline, don't you?

--
Stephen Poley

http://www.xs4all.nl/~sbpoley/webmatters/
Jul 20 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
8250
by: Charles Eubanks | last post by:
The enclosed html snippet displays an area map. The behavior I want is for each area to show up (eg show the outline of the poly) when the user mouses over it. This happens nicely BUT in order for this to occur, the user must hit the tab key to set the focus into the image (or the map -- I am not sure which at this point). In any case, I need a way to automatically force the browser focus into the image (or map) -- because end-users do...
7
10550
by: Chris | last post by:
I'm using eight links listed horizontally as a menu on my site. I'm using font-variant:small-caps and they are padded so that they mimic buttons. My gripe is with the way IE handles the focus rectangle on these links. It insists on drawing this crazy shape that traces the text, which with small caps looks rather assinine. Firefox handles the same task very gracefully (yeah Gecko!) and I would like to force IE to do the same. The site...
11
2728
by: VK | last post by:
a:active { color: #FF0000; text-decoration: underline} /* a:visited color rule has higher priority over a:hover if viewed from your local drive, so visited links will not "hover". To fix this bug (feature?) one should use additional !important instruction: */ a:hover { color: #FF0000 !important; text-decoration: underline} a:link { color: #0000FF; text-decoration: underline} a:visited { color: #800080; ; text-decoration: underline}
3
1714
by: msnews.microsoft.com | last post by:
Anyone ever play with Outline views in VS.NET? I'm amazed I never discovered this. None of this was ever discussed in my training. It's a big help to use this with HTML view. View/Synchronize Document Outline -Max
0
1542
by: LCAdeveloper | last post by:
Another newbie question I'm afraid. When I use the .Focus() or .Select() methods to set the initial control that has focus on a form, try as I might I cannot get the control to visually indicate that it has the focus (e.g. a dotted outline around the caption of a RadioButton). The visible and enabled properties are set to true, and I know that the desired control has the focus (in this case one of two or more RadioButtons located in a...
5
5676
by: Charles Law | last post by:
I have a document in the following style 1 Introduction 2 Next Heading 2.1 Sub-section Some text ... 2.2 Another Sub-section 2.2.1 Getting deeper 3 Another Major Heading ....
3
3971
by: jab3 | last post by:
Hello. I"m new to this group, and to JavaScript in general, so please forgive me if I breach local etiquette. I'm trying to implement some client-side 'dynamic' validation on a form. I'm having a couple of problems, which I'll try to describe. But this e-mail will only reproduce one of them, in a "short" example. What I'm generally doing is having each form entry contained in a div, which as a label, an input with some event handlers,...
13
5753
by: deko | last post by:
I. A. B. II. A. 1) 2) B. C.
2
1897
by: Joel Byrd | last post by:
I want to get a red outline around different divs on a page when I hover the mouse over them, and then have the red outline disappear on mouse out (basically to indicate that various elements on the page are "active"). Does anyone know how to do this, or know the best way to do this? Any help with this would be fantastic. OPTIONAL READING I'm thinking of doing it this way: when I hover over an element, I find the dimensions...
0
8347
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
8457
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6157
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5605
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4143
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4280
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2696
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1905
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1585
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.