Jump to content

Ie Crazy Image


Obi1-Cannabis

Recommended Posts

Hi, i'm having the most strange problem. i'm the code i'll show you bellow to display an image with transparency over anhother image, it works perfect on FF, Opera, Chrome,... but for IE (7 at least, because i haven't tested other versions) this crazy thing happens.The over image starts to appear when the page first loads but then it disapears and the one under never appears, but if i open another browser tab and then go back to this page SURPRISE: the images are both there and visible!!and this only happens to this specific page, i have other pages with the same code that work just fine in all browser including IE7.pretty strange huh.by the way the code is:

<div style="position:relative;">   <img src="{$wwwroot}/alojamentos/printImagemPrincipal.php?idfornecedor={$alojamento.id}" style="width:90px;height:90px;"/>   <img src="{$wwwimages}/image_frame.png" style="position:absolute;top:0px;left:0px;width:90px;height:90px;"/></div>

ah, forgot to mention that i'am using smarty and that the first image is loaded from database.if anyone can tell me what can this problem be, i'll apreciate it.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...