BillyTyne
04-24-2007, 05:38 PM
Hello there,
i'm trying to make a website for somebody, but it doesnt do what i want it to do.
I'm the biggest noob in webdesign, so i'm sorry for the stupid coding.
This is a part of my code:
<html>
<head>
<title>J</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="style.css" rel="stylesheet" type="text/css" />
<style type="text/css">
img, div { behavior: url(iepngfix.htc) }
</style>
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<td style="background-image:url(../images/background_round.gif);" colspan="2" rowspan="3">
<div align="center"><a href="../images/products/4_product_big.gif" target="_blank"><img src="../images/products/4_product_small_round.png" alt="" width="120" height="120" border="0" align="middle"></a></div></td>
</body>
</html>
Now i'm using the css style with the iepngfix.htc to get a round, transparent .png picture. This one: http://webfx.eae.net/dhtml/pngbehavior/pngbehavior.html
Behind that picture is another round, but thats for the background. No that all works fine, but i want it so that when you roll over the transparent picture, you see a other picture, and bigger.
I tried to use this code:
http://www.dynamicdrive.com/style/csslibrary/item/css-popup-image-viewer/
It al works fine with the png and gif, but he doesnt make it transparent anymore.
Its like he doesnt look at the
<style type="text/css">
img, div { behavior: url(iepngfix.htc) }
</style> or something.
Also, when i just try to put a link to the png file, it doesnt work anymore.
Can anybody please help me?
sorry for my english..
Thnx Bill
i'm trying to make a website for somebody, but it doesnt do what i want it to do.
I'm the biggest noob in webdesign, so i'm sorry for the stupid coding.
This is a part of my code:
<html>
<head>
<title>J</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="style.css" rel="stylesheet" type="text/css" />
<style type="text/css">
img, div { behavior: url(iepngfix.htc) }
</style>
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<td style="background-image:url(../images/background_round.gif);" colspan="2" rowspan="3">
<div align="center"><a href="../images/products/4_product_big.gif" target="_blank"><img src="../images/products/4_product_small_round.png" alt="" width="120" height="120" border="0" align="middle"></a></div></td>
</body>
</html>
Now i'm using the css style with the iepngfix.htc to get a round, transparent .png picture. This one: http://webfx.eae.net/dhtml/pngbehavior/pngbehavior.html
Behind that picture is another round, but thats for the background. No that all works fine, but i want it so that when you roll over the transparent picture, you see a other picture, and bigger.
I tried to use this code:
http://www.dynamicdrive.com/style/csslibrary/item/css-popup-image-viewer/
It al works fine with the png and gif, but he doesnt make it transparent anymore.
Its like he doesnt look at the
<style type="text/css">
img, div { behavior: url(iepngfix.htc) }
</style> or something.
Also, when i just try to put a link to the png file, it doesnt work anymore.
Can anybody please help me?
sorry for my english..
Thnx Bill