473,566 Members | 3,307 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Missing focus rectangle on IE

2 New Member
Hi,

For some pages I'm styling, the focus rectangle around a link appears just fine in Firefox.
However, they are not appearing at all in IE.

I don't think there's anything in my css file that gets rid of the focus rectangles:

a:link{
color: #3366CC;
}
a:visited{
color: #3366CC;
}
a:hover{
color: #D4A017;
background-color: none;
text-decoration: none;
}
a:active{
color: blue;
}

I've googled around without much success (and I got more results on how to remove the focus...)

If anyone could point me in the right directions, it would be very helpful.
Thanks in advance.
Jun 22 '07 #1
2 2818
AricC
1,892 Recognized Expert Top Contributor
Hi,

For some pages I'm styling, the focus rectangle around a link appears just fine in Firefox.
However, they are not appearing at all in IE.

I don't think there's anything in my css file that gets rid of the focus rectangles:

a:link{
color: #3366CC;
}
a:visited{
color: #3366CC;
}
a:hover{
color: #D4A017;
background-color: none;
text-decoration: none;
}
a:active{
color: blue;
}

I've googled around without much success (and I got more results on how to remove the focus...)

If anyone could point me in the right directions, it would be very helpful.
Thanks in advance.
Can you be a little more clear I don't know what a focus rectangle is
Jun 23 '07 #2
neihc2
2 New Member
Can you be a little more clear I don't know what a focus rectangle is
For example, when you click on a link, it gets wrapped by a box in dotted-line.

It may be hard to spot, but it allows keyboard navigators to tab around.

Thanks
Jun 25 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

7
10546
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...
0
2153
by: Steve Bezner | last post by:
I have an issue in which a link label on a windows form does not draw the focus rectangle if you programmatically force it to have focus via the Control.Focus() method. To duplicate, create a new windows app, place a button and a link label on the form. In the button click event, place the following code, this.linkLabel1.Focus(). Run...
0
2134
by: Stephen Bedford | last post by:
I am developing an application that is primarily keyboard not mouse driven. Navigation is very difficult within some controls (list boxes, radio groups etc) unless the focus rectangle is visible. When an application starts the focus rectangle for a control is never visible and only becomes visible once the TAB key is pressed. After that...
2
5954
by: Peter | last post by:
I have the following code where I get Rectangle Bounds of a text box, but I have other controls on my Windows Form like ListBoxes and Combo Boxes, I want to get Rectangle Bounds when I Enter the control regardless which control I Enter. How would I code Form1_Paint method so rect can equal the Bounds of the current control with focus? private...
1
5037
by: cider123 | last post by:
I've tried working with the SelectedIndices and Items.Selected attributes to get the problem to go away, but not having any luck. Questions I have are: 1) How do you move (using code) the focus Rectangle when your Selected Index changes ? 2) If there are no selected rows, can that focus rectangle be removed? 3) What other quirks exist in...
1
5731
by: Jason | last post by:
I am creating my own tab control in vb.net. I am inheriting System.Windows.Forms.TabControl. I want to provide a property that disables or enables the focus rectangle being drawn on the tabs. Setting the DrawMode to OwnerFixed and adding the drawing methods in overrides OnDrawItem doesn't seem to do it. The focus rectangle is drawn no...
4
3937
by: SJ | last post by:
Hi all, I have come across a weird problem when attempting to automatically set the focus in a vb.net form to a checkbox control... In my form I have (on a tab page in a tab control) several textboxes and a checkbox. The behaviour I want from my app is as follows:- When the textbox (which is prior in tab order to the tab control) has...
5
11629
by: Matt B | last post by:
I know this is a bit of nonstandard behavior, but I would like the Enter key to move focus through a group of radiobuttons without selecting them. The user would then have to use Space or actually click to select one of the radiobuttons to select. The default behavior of Focus() seems to also select the radiobutton, but I can't seem to...
1
2700
by: john ciriello | last post by:
I created a form and put a button and a label on it. I set the tabstops to false. When I first run it I can click the button and there is no focus rectangle. Which is what I want. However, if I press the tab key nothing initially seems to happen, I know nothing should because I set the tabstop to false, but to my surprise, when I then click...
0
7673
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...
0
7584
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7893
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8109
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7645
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...
0
3643
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...
0
3626
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2085
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
1202
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.