Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    dep
    dep is offline
    Regular Coder
    Join Date
    Nov 2005
    Posts
    121
    Thanks
    0
    Thanked 0 Times in 0 Posts

    background image working in Firefox but not IE6

    Hello. Here's the code I'm trying to use..

    In an external stylesheet:

    #transfer {
    position: absolute;
    border-style: solid;
    border-width: 0px;
    padding: 25px 0 0 35px;
    color: black;
    background: url(images/panel-small.png) top left no-repeat;
    }

    And in the HTML:

    <div id="transfer">
    <a href="javascript:flyClosed('tabTransfer', 'transfer');">Close</a>
    </div>


    Pretty straight forward, yes? But it works in Firefox but not IE. The background-image will not display in IE. I've tried "background: " as well as "background-image:" -- no dice.

    Any ideas?

    dep

  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Can you give us a link please? The code you posted looks fine.

  • #3
    Senior Coder
    Join Date
    Jun 2002
    Location
    The Netherlands, Baarn, Ut.
    Posts
    4,252
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Dash

    IE probably has an issue with the dash in the file name: "panel-small.png"; try an underscore: "panel_small.png" instead.
    Regards,
    Ronald.
    ronaldvanderwijden.com


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •