markup not working in IE6

Discussion in 'ASP .Net' started by Jeff, Mar 24, 2009.

  1. Jeff

    Jeff Guest

    hi

    the markup below doesn't fully work on IE6. the problem is that the 2 images
    inside the inner div has a transparent color. and this color isn't
    transparent when viewing page in IE6. what is suppose to be transparent but
    get a grey color instead.

    <div style="width:960px; height:108px;
    background-image:url('Images/Background/helloworld.jpg');">
    <div style="float:right; background-color:Lime; margin-top:76px;">
    <a href="Pages/Default.aspx"><img src="Images/test1.png"
    style="border-style:none;" /></a>
    <a href="Pages/Default.aspx"><img src="Images/test2.png"
    style="border-style:none;" /></a>
    </div>
    </div>

    any suggestions?
     
    Jeff, Mar 24, 2009
    #1
    1. Advertising

  2. Jeff

    bruce barker Guest

    ie 6 does not fully support transparent png's. here is an article on
    approach to displaying one in ie 5.5 & 6.0

    http://24ways.org/2007/supersleight-transparent-png-in-ie6

    -- bruce (sqlwork.com)

    Jeff wrote:
    > hi
    >
    > the markup below doesn't fully work on IE6. the problem is that the 2 images
    > inside the inner div has a transparent color. and this color isn't
    > transparent when viewing page in IE6. what is suppose to be transparent but
    > get a grey color instead.
    >
    > <div style="width:960px; height:108px;
    > background-image:url('Images/Background/helloworld.jpg');">
    > <div style="float:right; background-color:Lime; margin-top:76px;">
    > <a href="Pages/Default.aspx"><img src="Images/test1.png"
    > style="border-style:none;" /></a>
    > <a href="Pages/Default.aspx"><img src="Images/test2.png"
    > style="border-style:none;" /></a>
    > </div>
    > </div>
    >
    > any suggestions?
    >
    >
     
    bruce barker, Mar 25, 2009
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ivor O'Connor
    Replies:
    4
    Views:
    854
    Isofarro
    Nov 25, 2003
  2. Peter Mount
    Replies:
    4
    Views:
    959
    Peter Mount
    Jan 31, 2006
  3. Jeff
    Replies:
    3
    Views:
    1,393
  4. Pugi!
    Replies:
    0
    Views:
    240
    Pugi!
    Feb 5, 2007
  5. timothytoe
    Replies:
    4
    Views:
    157
Loading...

Share This Page