By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,624 Members | 2,229 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,624 IT Pros & Developers. It's quick & easy.

hover -> jump to next line; maybe solved?

P: n/a

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
Share this Question
Share on Google+
6 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
"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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.