Transparent? image background in IE -...

User 243515 Photo


Registered User
508 posts

Fe Pixie wrote:


Greg
if you nest your divs like this it can help to position the right hand image...

<html>
<head>
<title>Untitled</title>
<style type="text/css">
<!--
div#leftimage {
background-image: url("leftimage.gif");
background-repeat:no-repeat;
}
div#rightimage {
background-image: url("rightimage.gif");
background-position: right top;
background-repeat:no-repeat;
}
-->
</style>
</head>
<body>
<div id="headerwrapper">
<div id="leftimage">
<div id="rightimage">
Header content
</div>
</div>
</div>
</body>
</html>


Thank you Fe; that helps alot. Now my hair can grow back :P

Greg


Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.