473,396 Members | 1,738 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

CSS dotted box link outline (to mimic MSIE)


As you probably know, when you click on a link in MSIE and go to a page,
then when you click the "back" button, you see a dotted box outlining the
link on which I just clicked.

As far as I'm aware, no versions of Opera support this desired capability
natively, so I've experimented, as best I could, with using a custom CSS
file which contains the following:

a:hover { outline: 2px dotted black; }

This works -somewhat- well. Most (but not all) of the time, when I click
on a link in Opera, and then go back, the link that I clicked on is
outlined by a dotted box, much the same way it is in MSIE. However, it's
not 100%. Frequently, it is not displayed correctly (e.g., only the
bottom of the link has dots around it, etc.), and sometimes the dotted box
is not surrounding my chosen link at all!

Is there a way to force Opera to display this correctly? I know that
Opera 7.x has some issues with certain CSS pseudo-elements, and I presume
that displaying an outline for hover falls under this category. I really
prefer having dotted outline on selected links, as I think it helps with
site navigation.

I'm using Opera 7.21 on Windows 2000 SP4.

Any thoughts, tips, or suggestions would be greatly appreciated.
Thanks in advance! :)
Jul 20 '05 #1
4 8482
On Thu, 23 Oct 2003 19:37:19 GMT, Doors of Perception
<fo******@IHATESPAMhotmail.com> wrote:

As you probably know, when you click on a link in MSIE and go to a page,
then when you click the "back" button, you see a dotted box outlining the
link on which I just clicked.

As far as I'm aware, no versions of Opera support this desired capability
natively, so I've experimented, as best I could, with using a custom CSS
file which contains the following:


I would hardly say this is a desired capability, as a lot of the questions
in web authoring groups used to be how to eliminate this box!!

--
Always proof read carefully in case you any words out.
Fish Head on a Stick
http://www.fhoas.com
Jul 20 '05 #2
On Thu, 23 Oct 2003, at 9:20pm, Russell Codd wrote:
As far as I'm aware, no versions of Opera support this desired
capability natively, so I've experimented, as best I could, with using
a custom CSS file which contains the following:


I would hardly say this is a desired capability, as a lot of the
questions in web authoring groups used to be how to eliminate this box!!


Hehehe, very true! I apologize for my ambiguous wording. I meant to say
that this is a desired capability for me. :)
Jul 20 '05 #3
[follow-ups only to opera.tech, next time, please set follow up to
header, and consider x-posting carefully.]

In article Doors of Perception wrote:

As you probably know, when you click on a link in MSIE and go to a page,
then when you click the "back" button, you see a dotted box outlining the
link on which I just clicked.
Opera uses different focusing method*s*, so it soes not necessarily make
sence to make focus visible always (and it would require more code to
implement it for mouse navigation.). If you use keyboard navigation (qa,
shift+<arrow>, tab, etc.), selected link stays selected when backing.

You can ask this feature in opera.wishlist. If it will be implemented, I
want it to be toggleable setting. Especially if it will come to same
As far as I'm aware, no versions of Opera support this desired capability
natively, so I've experimented, as best I could, with using a custom CSS
file which contains the following:

a:hover { outline: 2px dotted black; }
I have been trying something somewhat similar using a:focus, exept my aim
has been changing ugly select style that is used for keyboard navigation.
This works -somewhat- well. Most (but not all) of the time, when I click
on a link in Opera, and then go back, the link that I clicked on is
outlined by a dotted box, much the same way it is in MSIE. However, it's
not 100%. Frequently, it is not displayed correctly (e.g., only the
bottom of the link has dots around it, etc.),
There is problems with outline. Not related to anything.
and sometimes the dotted box
is not surrounding my chosen link at all!
Because a:hover should only be aplied when hovering over with mouse. So
it is not at all relevant weather you backed to link or used it first
time.
Is there a way to force Opera to display this correctly?
No. At least I haven't found one.
I know that
Opera 7.x has some issues with certain CSS pseudo-elements, and I presume
that displaying an outline for hover falls under this category. I really
prefer having dotted outline on selected links, as I think it helps with
site navigation.
a:focus could be better than a:hover. It actually partially works when
surfing with mouse on some versions (but not latest. maybe some of 7.2
betas) I don't think there is sence to revert to older version, since I
don't think it would work 100% either.
I'm using Opera 7.21 on Windows 2000 SP4.

Any thoughts, tips, or suggestions would be greatly appreciated.
Thanks in advance! :)


Opera mentioned bugs are AFAIK well known. At least I have known them
since 7.0.
--
Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>
Saapi lähettää meiliä, jos aihe ei liity ryhmään, tai on yksityinen
tjsp., mutta älä lähetä samaa viestiä meilitse ja ryhmään.

Jul 20 '05 #4
[follow-ups only to opera.tech, next time, please set follow up to
header, and consider x-posting carefully.]

In article Doors of Perception wrote:

As you probably know, when you click on a link in MSIE and go to a page,
then when you click the "back" button, you see a dotted box outlining the
link on which I just clicked.
Opera uses different focusing method*s*, so it soes not make
sence to make focus to be visible always (and it would require more code
to implement it for mouse navigation.). If you use keyboard navigation
(qa, shift+<arrow>, tab, etc.), selected link stays selected when
backing.

You can ask this feature in opera.wishlist. If it will be implemented, I
want it to be toggleable setting. Especially if it will come to same
As far as I'm aware, no versions of Opera support this desired capability
natively, so I've experimented, as best I could, with using a custom CSS
file which contains the following:

a:hover { outline: 2px dotted black; }
I have been trying something somewhat similar using a:focus, exept my aim
has been changing ugly select style that is used for keyboard navigation.
This works -somewhat- well. Most (but not all) of the time, when I click
on a link in Opera, and then go back, the link that I clicked on is
outlined by a dotted box, much the same way it is in MSIE. However, it's
not 100%. Frequently, it is not displayed correctly (e.g., only the
bottom of the link has dots around it, etc.),
There is problems with outline. Not related to anything.
and sometimes the dotted box
is not surrounding my chosen link at all!
Because a:hover should only be aplied when hovering over with mouse. So
it is not at all relevant weather you backed to link or used it first
time.
Is there a way to force Opera to display this correctly?
No. At least I haven't found one.
I know that
Opera 7.x has some issues with certain CSS pseudo-elements, and I presume
that displaying an outline for hover falls under this category. I really
prefer having dotted outline on selected links, as I think it helps with
site navigation.
a:focus could be better than a:hover. It actually partially works when
surfing with mouse on some versions (but not latest. maybe some of 7.2
betas) I don't think there is sence to revert to older version, since I
don't think it would work 100% either.
I'm using Opera 7.21 on Windows 2000 SP4.

Any thoughts, tips, or suggestions would be greatly appreciated.
Thanks in advance! :)


Opera mentioned bugs are AFAIK well known. At least I have known them
since 7.0.
--
Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>
Saapi lähettää meiliä, jos aihe ei liity ryhmään, tai on yksityinen
tjsp., mutta älä lähetä samaa viestiä meilitse ja ryhmään.

Jul 20 '05 #5

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

Similar topics

3
by: Craig | last post by:
Hi, What I'm trying (quite poorly) to do is make it so when a link is clicked the text inside a div or p changes. I've tried numerous things, most of which work in IE but none of which work in...
20
by: Chris Bradbury | last post by:
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...
3
by: Howard Martin | last post by:
I have a page at www.caymanquays.com.au/index.html where the navigation at the top works fine in MSIEv6 and Opera v7.5 but appears dead in Mozilla v1.5 and Firefox v1.0. The external sylesheet...
3
by: libsfan01 | last post by:
hi all when u click a link in firefox for mac it puts a dotted border around the link. is there a way to switch this feature off? regards marc
3
by: Charlie | last post by:
Hi: When you click image button in Firefox, a thin, gray dotted line appears around image. Is there a way to get rid of this? Thanks, Charlie
2
by: FredZimmerman | last post by:
When I have my black backround for Body and my button is a round .GIF image (actually image has round green button on black backround, whole thing a rectangle), when I click on the button...
10
by: JD | last post by:
I've seen websites where the link underline is a different colour to the link text. I've also seen links with dotted underlines (see the hover effect on the 'Change' and 'All Microsoft Sites' links...
2
by: kristin09 | last post by:
Hi guys, I have a windows mobile application that has html pages generated on the fly (some pages have links in them). With the new browser MSIE 6.0 the links on the pages are not read as links....
6
KeredDrahcir
by: KeredDrahcir | last post by:
I'm trying the specify outline properties for a link. The css I'm using is: outline: invert dotted thin; However the error console says: Expected colour but fouud 'invert'. Error in parsing value...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.