Previous Message
Next Message

[css-d] Background gif clashes with <img> in IE6

Sent by Ian on 22 July 2002 12:12


Hi,  i've  just joined the group, so first off hello. At the following
page:

http://www.nontroppo.pwp.blueyonder.co.uk/people/adam.html

IE6  (win2k) puts the background image for the div that is holding the
content  OVER a floated image inside the div but not the text (mozilla
V1.0  and  Opera  V6.04  don't). I have two style sheets attached (one
link  (twoboxns.css)one  @import(twobox.css))  for  compatibility with
NS4,  If  I  remove  the linked stylesheet (the one with no background
image   declaration),   then   IE6  seems  ok.  I  have  to  have  NS4
compatibility  (why  are  academics  so  conservative  sometimes?), so
dumping the NS4 style-sheet is not an option.

here is the definition from the @imported sheet:

#content {background: url(../images/contentfill.gif) repeat scroll;
        border: 0px;
        color: #000000;
        margin: 0px 180px 40px 10px;
        padding: 10px;}

and the linked one:

#content{border: 1px solid #FFFFFF;
        margin: 0px 10px 10px 152px;
        padding: 0px 10px 10px 10px;
        position: relative;
        z-index: 2}

Otherwise, the page looks OK in NS4 OP6.04 and Moz1

thanks in advance,

Ian


-- 
It  is  only about things that do not interest one that one can give a
really  unbiased opinion, which is no doubt the reason why an unbiased
opinion is always valueless. - Oscar Wilde
Previous Message
Next Message

Message thread: