Wrox Programmer Forums
|
CSS Cascading Style Sheets All issues relating to Cascading Style Sheets (CSS).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the CSS Cascading Style Sheets section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 14th, 2007, 04:41 PM
Friend of Wrox
 
Join Date: Mar 2006
Posts: 310
Thanks: 0
Thanked 0 Times in 0 Posts
Default strange bug on IE

Hello!

I'm with a strange problem on my IE.

I use Firefox and IE to test my pages. But IE, sometimes show me a black image in the place of my repeated background images...

I saw a lot of stuff about png images and IE but they are about transparency and i think it's not my case

If I have a div with a repeated background image with width=1px and if I write some text inside this div and open it on IE sometimes I see a black div!

I think this only happens with png and gif files (whith or without transparency)
But If I replace the 1 pixel image for one image with all div with (and then I don't need to repeat image) the problem is solved and things show right on my IE...
(But I like to use 1 pixels images...) :(

Theres an example.
Please, open this page on IE and on Firefox:
http://www.bazon.net/mishoo/Articles/msie/958/test.html

On my case, firefox open this png lines ok but IE don't have this capacity...
See here my printscreen:
http://img145.imageshack.us/img145/5237/iebugkj9.jpg

My IE version is: 6.02.xxx

What could it be?
IE problem? My graphicCard problem? Windows Problem?

Thanks!


 
Old October 21st, 2007, 10:06 PM
Friend of Wrox
 
Join Date: Jun 2007
Posts: 477
Thanks: 10
Thanked 19 Times in 18 Posts
Default

It does seem like a really strange error. I'm not used to background images giving you this much trouble. Although they do look almost identical on my box. Is it possible there's some other configuration issues on your machine? Firefox displays one black line, one white line, etc. all the way down the page. IE is inserting an extra line of white pixels at the bottom of each image, creating a noticeable white band about every quarter inch. But otherwise they look the same here. So maybe it's not really a problem. How does it look to anyone else?

If there is a problem, my bet would be on the javascript. DOM support is a little iffy in IE, and you may be running into some problems with the image display for that reason. Not because the background image is your real problem. That's the spot that looks more ripe for cross-browser incompatibility to me.

-------------------------

Whatever you can do or dream you can, begin it. Boldness has genius, power and magic in it. Begin it now.
-Johann von Goethe

When Two Hearts Race... Both Win.
-Dove Chocolate Wrapper

Chroniclemaster1, Founder of www.EarthChronicle.com
A Growing History of our Planet, by our Planet, for our Planet.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Bug Base jackandjo BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 2 January 22nd, 2008 02:31 PM
Bug or no to bug learning C using VS.Net to compil tesh All Other Wrox Books 0 February 14th, 2007 01:06 PM
Strange IE CSS bug? turklet CSS Cascading Style Sheets 0 July 29th, 2006 04:01 PM
Bug happens guoqi BOOK: ASP.NET Website Programming Problem-Design-Solution 0 October 13th, 2003 01:35 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.