maghiel
10-22-2004, 04:43 PM
Hey dudes!
On a site i've been working, i have a button that's a transparent png.
I had to go trough a lot of hassle to make that transparent in IE, but that works now.
I've hyperlinkt the button like this:
<div class="button1"><a href="<?php echo $PHP_SELF."?page=71"; ?>"><img alt="Startpage" src="./images/button.gif" /></a></div>
The imageis a background-image of the div. First I had the hyperlink around the div, but that's not valid xhtml, so i put the hyperlink inside the div, and used a transparant gif the size of the button to make it work.
But this doens't work in IE. Beats me why too!
Could someone help me plz? :)
On a site i've been working, i have a button that's a transparent png.
I had to go trough a lot of hassle to make that transparent in IE, but that works now.
I've hyperlinkt the button like this:
<div class="button1"><a href="<?php echo $PHP_SELF."?page=71"; ?>"><img alt="Startpage" src="./images/button.gif" /></a></div>
The imageis a background-image of the div. First I had the hyperlink around the div, but that's not valid xhtml, so i put the hyperlink inside the div, and used a transparant gif the size of the button to make it work.
But this doens't work in IE. Beats me why too!
Could someone help me plz? :)