Image problem with IE8 - Printable Version +- Support Forums (https://www.supportforums.net) +-- Forum: Categories (https://www.supportforums.net/forumdisplay.php?fid=87) +--- Forum: Webmaster Support (https://www.supportforums.net/forumdisplay.php?fid=36) +---- Forum: Website Development (https://www.supportforums.net/forumdisplay.php?fid=43) +---- Thread: Image problem with IE8 (/showthread.php?tid=3840) Pages:
1
2
|
Image problem with IE8 - cortexaz - 12-21-2009 Hi Folks, I wonder if anybody has some problems with IE8 image rendering. I've inserted the image in php code, all browsers render it but not IE8 . . . Does anyone know how to fix this issue? Thanks . . . RE: Image problem with IE8 - RPicard - 12-21-2009 Could you post the code? RE: Image problem with IE8 - cortexaz - 12-21-2009 Yes of course . . . PHP Code: <div style="position:absolute; left:41%; right::50%; text-align:center; margin-left:auto; margin-top:8px;" align="center" <img src="tolia2.png" > </div> RE: Image problem with IE8 - Grizzly - 12-21-2009 Is tolia2.png uploaded to the root of the site? (public_html or such other place that you placed your index.html) Code: <div style="position:absolute; left:41%; right::50%; text-align:center; margin-left:auto; margin-top:8px;" align="center"> <img src="tolia2.png" > </div> Try that code. RE: Image problem with IE8 - cortexaz - 12-21-2009 Yes of course . . . All browsers show me the image Firefox, Chrome, Safari but not IE8 (maybe IE7 either because I've tested the page in compatibility mode . . .) RE: Image problem with IE8 - Gaijin - 12-21-2009 (12-21-2009, 02:15 PM)cortexaz Wrote: Yes of course . . . IE is very angry when you use tags wrong. The image tag REQUIRES width="" height="" and alt="" attributes, I'm not sure if that solves your problem(didn't touched IE ages ago) Try this img tag Code: <img src="tolia2.png" width="100" height="100" alt="Some text" /> Also at the div you have a syntax error Code: right::51% It's only : not "::" And you didn't close (>) the first div tag RE: Image problem with IE8 - cortexaz - 12-21-2009 Thanks . . . I'll try . . . neeeeee . . . It doesn't work . . . Thanks for help anyway . . . RE: Image problem with IE8 - RPicard - 12-21-2009 Sorry for abandoning you here. I can't think of anything else though. RE: Image problem with IE8 - Gaijin - 12-21-2009 (12-21-2009, 02:43 PM)cortexaz Wrote: Thanks . . . You say you inserted into PHP, could I see the PHP script... Does the image don't show up, or are you having transparency problems? RE: Image problem with IE8 - cortexaz - 12-22-2009 (12-21-2009, 09:39 PM)Master of The Universe Wrote: You say you inserted into PHP, could I see the PHP script...Yes Sure . . . Script is the same as password randomizer . . . I'll put it here as well . . . Problem is that image won't show up . . . The code is on line 108 . . . PHP Code: <?php |