troubleshooting Question

PNG Transparency and DIV absolute positioning help.

Avatar of dbestcomputers
dbestcomputers asked on
Web DevelopmentCSSHTML
5 Comments1 Solution390 ViewsLast Modified:
I am having 2 issues with my web page.  The first is that in IE6 my PNGs are not transparent, is there a work-around for this?  I need something fairly simple...

My second issue is that I have a flower I am wanting to put in the middle of my page, kind of like at this site: http://www.markup4u.com/, but when I re-adjust my browser window, the flower moves also, but I want it to stay in one spot.

Their code and my code look the same to me.
My Code:
<div style="position:absolute; background-image:url(../images/flower.png); width:350px; height:300px; right:50px; top:50px; clear:both; z-index:5;"></div>
 
Their code:
#content div.deco {
	position: absolute;
	left: 522px;
	top: -125px;
	width: 185px;
	height: 261px;
	background: url(../images/deco.png) no-repeat;
	clear: both;
	z-index: 4;
}
ASKER CERTIFIED SOLUTION
David S.
Consultant & Challenge Subduer
Join our community to see this answer!
Unlock 1 Answer and 5 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros