This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Stylesheets > February 2004 > hover -> jump to next line; maybe solved?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
hover -> jump to next line; maybe solved?
|
|
| Alan J. Flavell 2004-02-26, 12:32 pm |
|
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.)
| |
|
|
|
| On Thu, 26 Feb 2004 15:12:03 +0000, Alan J. Flavell <flavell@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.
| |
| Alan J. Flavell 2004-02-26, 1:30 pm |
| On Thu, 26 Feb 2004, Andrew Thompson wrote:
> On Thu, 26 Feb 2004 15:12:03 +0000, Alan J. Flavell wrote:
>
>
> 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.
| |
| Alan J. Flavell 2004-02-26, 1:30 pm |
| 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
| |
| Spartanicus 2004-02-26, 1:30 pm |
| "Alan J. Flavell" <flavell@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
| |
| Alan J. Flavell 2004-02-26, 2:32 pm |
| On Thu, 26 Feb 2004, Spartanicus wrote:
>
> 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".
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|