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
    New to the CF scene
    Join Date
    Oct 2006
    Location
    rochester hills, mi
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    IE Background Image Problem

    i've been reading a bunch of posts about this, but i absolutely cannot get this to work on my site. I am trying to get IE to display a background image that's a PNG. I'm setting the background-image to the PNG and it looks glorious in all but IE. IE7 looks super too. I'm doing all of this in a css file as the site is huge and there's no way I'm going through each page and doing it the way most of the samples have it (in the actual html).

    Here's what I have been trying to get working in IE.

    .CommonSidebarContent
    {
    font-family: Helvetica, Tahoma, Arial;
    font-size: 80%;
    color: #ffffff;
    padding: 8px;
    padding-bottom: 5px;
    border-style: solid;
    border-width: 1px;
    border-bottom-width: 0px;
    border-color: #666666;
    width: 174px;
    overflow: hidden; filterrogidXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale src='../images/IntelCouncil/BlueBack.png');
    }

    Doing it like this displays nothing at all as a background image. Could someone please help. I'm rippin my hair out over here.

  • #2
    Regular Coder
    Join Date
    Oct 2003
    Location
    on a ship
    Posts
    574
    Thanks
    1
    Thanked 6 Times in 5 Posts
    instead of src try:
    background-image:url(path/file.png);
    I make no attempt at pretending like I'm a professional. I offer help with what knowledge I do have.

  • #3
    New to the CF scene
    Join Date
    Oct 2006
    Location
    rochester hills, mi
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You mean within the filter tag replacing the src attribute, or outside as another css attribute. The latter doesn't work.


  •  

    Posting Permissions

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