anchor bg image not displaying properly when URL wraps in IE6

Giganews Newsgroups
Subject: anchor bg image not displaying properly when URL wraps in IE6
Posted by:  rpaterso…@hotmail.com
Date: 30 Mar 2007

Hello,

I am trying to insert a background image into URLs that link to pages
outside our intranet and thus when clicked open a new window. The
image used is the common one seen on many sites, the little
overlapping windows.  This code:

a.newWindow {
padding-right: 14px;
background: url(/bcasinfo/images/productionFiles/icons/newWindow.gif)
no-repeat right center;
}

works fine in FF-whatever regardless, and, most of the time in IE6.
However it does not work in IE6 when the sentence text that comprises
anchor wraps to a new line.  What happens is the bg image stays on the
first line, usually overlapping the text, even as the padding-right is
visible on the line below.

The basic anchor rules have nothing unusual in their styling so I have
not included that code here.
Any help would be appreciated.
Thanks,
R.A. Paterson

Replies