473,386 Members | 2,050 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,386 software developers and data experts.

hover -> jump to next line; maybe solved?


The page under discussion was
http://ppewww.ph.gla.ac.uk/~flavell/www/html-smac.html

An email correspondent referred to the link text "screenshot" in part
2, which in his case was coming at the right-hand end of a line. As
soon as he hovered over it in MSIE, it sprang to the next line -
making it impossible to use it, obviously. This didn't happen in
Mozilla (which by the way reports that this page is in
standards-compliance mode, if that's relevant).

The operative CSS portions for this case seem to be:

a { border-style: none; } /* which had been done for netscape 4 */

a:link { /* some features are repeated to overcome old browser foibles */
color: #33f;
background-color: #fff; background-image: none;
background: none #fff;
text-decoration: none;
}

a:link:hover { /* don't change text and bg colour */
color: #33f;
background-color: #fff; background-image: none;
background: none #fff;
text-decoration: none;
}
It would appear, from what I've tried so far, that MSIE calms down
if I add, specifically to the a:link:hover stanza, the additional
property:

border-style: none;

which, supposedly, is only repeating what was *supposed* to have been
inherited from the "a {...}" stanza.

Was this a known effect? Does it seem a reasonable workaround?

cheers

p.s page validates as 4.01 transitional and passes W3C CSS checking.

(Complaints about me explicitly turning off text decoration will be
understood, but probably not actioned for the moment. I think we've
discussed the point before in relation to this specific page.)
Jul 20 '05 #1
6 2447
On Thu, 26 Feb 2004 15:12:03 +0000, Alan J. Flavell wrote:
The page under discussion was
http://ppewww.ph.gla.ac.uk/~flavell/www/html-smac.html


I am getting a 404 on that URL
at the moment..

--
Andrew Thompson
* http://www.PhySci.org/ Open-source software suite
* http://www.PhySci.org/codes/ Web & IT Help
* http://www.1point1C.org/ Science & Technology
Jul 20 '05 #2
On Thu, 26 Feb 2004 15:12:03 +0000, Alan J. Flavell <fl*****@ph.gla.ac.uk>
wrote:

The page under discussion was
http://ppewww.ph.gla.ac.uk/~flavell/www/html-smac.html

An email correspondent referred to the link text "screenshot" in part
2, which in his case was coming at the right-hand end of a line. As
soon as he hovered over it in MSIE, it sprang to the next line -
making it impossible to use it, obviously.


I cannot get this to occur in IE 5.01, 5.5 or 6. Seems to be repaired.

I imagine the border must somehow be adding to the width of the element,
causing it to wrap. Very odd, not anything I've seen before.
Jul 20 '05 #3
On Thu, 26 Feb 2004, Andrew Thompson wrote:
On Thu, 26 Feb 2004 15:12:03 +0000, Alan J. Flavell wrote:
The page under discussion was
http://ppewww.ph.gla.ac.uk/~flavell/www/html-smac.html


I am getting a 404 on that URL at the moment..


Somebody made several attempts to access html-smac.htm (without the
final "l") just moments before you posted that. I don't have
mod_speling turned on in that directory, evidently. Sorry.
Jul 20 '05 #4
On Thu, 26 Feb 2004, Neal wrote:
I cannot get this to occur in IE 5.01, 5.5 or 6.
thanks. We only have IE6 here (after a security purge that allowed
only the security-fixed versions of MS software to be run on the
network - if I found any recalcitrants, it would be my duty to upgrade
them, not to use them as a test platform ;-).
Seems to be repaired.
Thanks.
I imagine the border must somehow be adding to the width of the element,
causing it to wrap.


Indeed.

cheers
Jul 20 '05 #5
"Alan J. Flavell" <fl*****@ph.gla.ac.uk> wrote:
We only have IE6 here (after a security purge that allowed
only the security-fixed versions of MS software to be run on the
network


They finally fixed the outstanding security issues in IE?

Where can we download it? ;-)

--
Spartanicus
Jul 20 '05 #6
On Thu, 26 Feb 2004, Spartanicus wrote:
We only have IE6 here (after a security purge that allowed
only the security-fixed versions of MS software to be run on the
network


They finally fixed the outstanding security issues in IE?


:-}

You remind me of an incident, many years ago while I was still at
Cambridge. On the notice board there appeared an announcement:

New version of Operating System now in service.
All known bugs have been cured.

Soon afterwards it was observed that someone had crossed out
"cured" and written-in "replaced by unknown bugs".

Jul 20 '05 #7

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

Similar topics

7
by: LRW | last post by:
Below I'll paste my CSS and the HTML in question. But what's happening is, I'm trying to establish a link behavior for a class that's separate from the normal link class. I've established a: 's...
6
by: Nikolaos Giannopoulos | last post by:
If I have simplified html (I have removed height, weight, alt, etc... attributes to simplify the example) such as: <div id="header"> <a href="blah.html"><img src="img/blah.jpg"></a> </div> ...
12
by: Sander Tekelenburg | last post by:
Trying to make some images disappear on hover (works), and others appear on hover (works not). In tested browsers, this gives the expected result: IMG.disappear {visibility: visible}...
8
by: JLahm | last post by:
I have defined a class for my images called .image that specifies the default border color, width and style. I'd like to be able to have the pseudo elements link, visited and active have one color...
3
by: Gnolen | last post by:
Hi, I am wondering if someone could guide me in the right direction about this. How can I make div 'one' hover? Does not need to be clickable/link...It would be easy if the images was not...
51
by: madsgormlarsen | last post by:
I can not get hover effect on a TD to work in IE, it seams you can not have a hover on a td in IE? I have treid this body.section-2 td.current, body.section-2 td.submenu, body.section-2...
2
by: skipc | last post by:
I posted a recent message regarding navigating a table using arrow keys. I've got the code for the navigation working. My table contains rows of links (anchors). I can get to a specific link...
5
by: Gerry Vandermaesen | last post by:
Hi, I'm trying out the following: CSS .className { width: 30px; height: 30px; border: 1px solid black; }
24
by: fehays | last post by:
Hello, I'm having a problem with the css hover effect in IE. I have an <a> tag with the following CSS: a.subNavItem { display:block; color:#464645; padding:2px 7px 4px 6px;...
7
by: Cate Archer | last post by:
I want to have a border around an image that changes color when the mouse hovers over it. The following code works perfectly in FireFox but not in Internet Exploiter. The text link changes color...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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,...
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...

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.