timsweb Posted September 17, 2005 Share Posted September 17, 2005 Hey, ok, well basically, its only a small thing but, it shows fine in firefox, but not ie (6 & 7) Heres the code for you to test: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">;html> <head> <title>Techaholics</title> <style type="text/css"> <!-- #box { position:absolute; padding: 20px; left:20px; width:160px; top:20px; background: #2B547C url(box.png) top repeat-x; } --> </style> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> </head> <body> <div id="box"> ?<p>Test</p> ?<p>Test</p> ?<p>Test</p> ?<p>Test</p> ?<p>Test</p> ?<p>Test</p> ?<p>Test</p> ?<p>Test</p> ?<p>Test</p> ?<p>Test</p> ?<p>Test</p> ?<p>Test</p> ?<p>Test</p> ?<p>Test</p> ?<p>Test</p> ?<p>Test</p> ?<p>Test</p> ?<p>Test</p> </div> </body> </html> And here is the image it needs (box.png): As you see it shows fine in firefox, nice and smooth gradient, but in IE, it dosent, lol, why? and how do i fix it? Thanks, Tim Link to comment https://www.neowin.net/forum/topic/373535-htmlcss-ie-problem-works-fine-in-firefox/ Share on other sites More sharing options...
0 IAIHMB Posted September 17, 2005 Share Posted September 17, 2005 It's because Internet Explorer hates the PNG format, replacing the PNG with a GIF makes things better. Link to comment https://www.neowin.net/forum/topic/373535-htmlcss-ie-problem-works-fine-in-firefox/#findComment-586540604 Share on other sites More sharing options...
0 timsweb Posted September 18, 2005 Author Share Posted September 18, 2005 oh, thanks, :D Tim Link to comment https://www.neowin.net/forum/topic/373535-htmlcss-ie-problem-works-fine-in-firefox/#findComment-586543894 Share on other sites More sharing options...
Question
timsweb
Hey,
ok, well basically, its only a small thing but, it shows fine in firefox, but not ie (6 & 7)
Heres the code for you to test:
And here is the image it needs (box.png):
As you see it shows fine in firefox, nice and smooth gradient, but in IE, it dosent, lol, why? and how do i fix it?
Thanks, Tim
Link to comment
https://www.neowin.net/forum/topic/373535-htmlcss-ie-problem-works-fine-in-firefox/Share on other sites
2 answers to this question
Recommended Posts