Excellent! I used <span> tags rather than <u>, but the effect was the same.
If I don't want to do the updates by hand, all is not lost: it's a dynamic site
(PHP), so if need be I can run all text through a link-fixer before displaying
it. For now, I'll do it manually. (Count me as another person who thought
first-word was going to be in the specification because some older CSS books
mentioned it as a "coming thing"; too bad it never arrived, would've fit this
situation perfectly! (Heck, having thought of that, I tried :first-letter, but
it doesn't apply to non-block elements like my links. Foo.)
-------------------------------------------
Mark Wilson, Computer Programming Unlimited
Web: http://www.cpuworks.com/
Email: [EMAIL PROTECTED] or [EMAIL PROTECTED]
Our motto: "Getting the Job Done"
-----Original Message-----
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; css-d@lists.css-discuss.org; [EMAIL PROTECTED]
Sent: Tue, 27 Feb 2007 6:40 PM
Subject: Re: [css-d] POOF! Background image on link goes away in IE!
Ingo Chao wrote:
> [EMAIL PROTECTED] wrote:
> >> [...] issue at http://runwithmcp.org/poof.html
>> [...] in IE6 if the link wraps around an end-of-line, the background image
>> vanishes! >> [...] I've tried several IE voodoo-hacks ...
>> [...]
>> > There is no CSS-only fix, and it is not a bug. The positioning of the >
>> > background-image on inline elements is just not defined in CSS2.1 [1].
>
> IE seems to follow the 'bounding-box' model for the 'background-break' >
> property (CSS3) [2].
>
> Ingo
>
> [1]http://www.satzansatz.de/cssd/wrappinglinkbg.html
> [2] http://www.w3.org/TR/2005/WD-css3-background-20050216/#background-break
> Hi Mark,
Some months ago I was Voodoo-ing IE as well for this problem, and found a
dirty trick.
*
CSS workaround for external link with small icon
<http://home.tiscali.nl/developerscorner/css-discuss/test-link-iconEN.htm>
Can be used without scripting (css/html only): most handy if a new site/page
(fresh html) is started. Or otherwise some work by hand, to change html (all
external links have to be adapted). Small site, small problem; big amount of
external links, big problem. ;-)
And who knows, maybe also good starting point for a script builder to
implement on existing sites.
Hope you can use some of this,
Success and greetings,
francky
________________________________________________________________________
Check out the new AOL. Most comprehensive set of free safety and security
tools, free access to millions of high-quality videos from across the web, free
AOL Mail and more.
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/