?
Solved

transparency

Posted on 2011-10-28
2
Medium Priority
?
249 Views
Last Modified: 2012-05-12
what are the solutions for transparent png images in ie6 ie7 ie 8?

<html>
<head>
<style>
.box {
      padding:50px;
      background:transparent;
      border:1px solid green;
      float:left;
      left:100px;
      top:5px;
      position:absolute;
}
.smallbox {
      width:400px;
      height:300px;
      background-color:red;
}
</style>
</head>
<body bgcolor="gray">
<div class="box">
            <div class="smallbox" style="color:#fff">
            live live livev <img src="tran.png" />
            </div>
</div>      
</html>
tran.png
0
Comment
Question by:jcbmtt
2 Comments
 
LVL 5

Accepted Solution

by:
hax1 earned 1000 total points
ID: 37049899
http://24ways.org/2007/supersleight-transparent-png-in-ie6

see here for example ... many ways to do this.
0
 
LVL 20

Assisted Solution

by:thehagman
thehagman earned 1000 total points
ID: 37057842
Off topic, but do you still need to support IE6?
The article hax1 came up with is dated almost four years ago and already then IE7 had been out for quite some time. Honestly, anyone still using IE6 today is probably several years behind with respect to security updates of all kind (e.g. they may be running Win2000 or WinXP SP1 or something, or see http://www.atomicfission.com/index.php/white-papers/42-information-security/84-evaluating-ie6-risks ). Agreed, IE6 is officially supported as long as XP SP3 is (i.e. April 2014), but bigger sites have already started phasing out IE6 support (some parts of Google did so almost two years ago)
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

CSS3 Custom checkboxes This article shows how to style the checkbox form element using only CSS. Works in: Chrome, FF, Safari, Opera, IE9+ Uses modernizr.js to check for :checked pseudo class, falling back to plain old checkboxes (IE8 and bel…
Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
In this Micro Tutorial viewers will learn how to create a CSS image sprite (In a later tutorial, viewers will learn how to use CSS and HTML to create a navigation menu using this sprite) Open a new Photoshop document with a width of (Icon width)x(N…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
Suggested Courses
Course of the Month8 days, 22 hours left to enroll

621 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question