Ingo Chao wrote:
> Eike Jordan wrote:
>> recently i ran into a problem concerning background-images. In some cases
>> the image has a really weird position that doesn't fit to the given
>> CSS-settings:
>>
>> a.link_ext {
>> background-image: url(/images/smarticons/link_ext.gif);
>> background-repeat: no-repeat;
>> background-position: 0% 50%;
>> padding-left: 16px;
>> border-bottom: 1px dotted #FC0;
>> }
>>
>> The problem appears (on WinXP:IE6SP2) if the a.link_ext contains more
>> than
>> one word which may cause a line-break within this element.
>> See http://www.eike-jordan.de/prototype/ for an example.
>
> See
> http://www.satzansatz.de/cssd/wrappinglinkbg.html
Thank you for this one. Very detailed views!
>
> and Chris Heilmanns script
> http://icant.co.uk/sandbox/inlinelinks/
>
I already considered such a Javascript-DOM solution but the aspects
on http://www.satzansatz.de/cssd/wrappinglinkbg.html inspired me to
play around with some CSS settings. I found a semi optimal solution
whereas it is not less weird. Just add a defined height to the affected
selector et voilĂ : No more vanished background images.
a.link_ext {
height: 1em;
}
Inimitable groovy :-)
Regards
--
Eike Jordan
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- 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/