I do not think that the style.css will be taken from the cached file with normal firefox, if you press refresh. I did not clear all the browser history, because it was too strange, even for that, the file was legitimate, so cached file can not do this, if there is any logic here?..
Oh it’s that simple, but I have attached all the files you need(2files, just remove txt, and one image that shows what is the problem, if visiting the test.php (1 person from 1000?)):
btw replacing the #(ID tag from CSS) with .(CSS class tag) solves the problem and the CSS bug disappears, but why ID # tag makes this mess at all. Your browsers probably will work just fine and will not show any issues, it’s quite rare I guess.
by visiting the test.php, this box appears, seen on the attached image… it appears one of my friends PC (how is this possible?) no browser should display this CSS box. and the image disappears/changes transparency while moving mouse over and disappears after pointing mouse cursor over it twice.
You’ll be surprised what Firefox can do and I’ve often had to re-install it in the past to get it back on track. The cached gets corrupted and you get the wrong information passed to files.
As I said above a quick inspection with Firebug of the live code will show you where the styles are coming from and will allow you to fix it.
If all is as you said then it seems like an issue with that single browser unless you can reproduce the issue elsewhere. Or the only other explanation is that there is something else being added to the page that you are not telling us:) You are not on a free host are you as they upload all kinds of junk into your page?
It’s not a free hosting, It’s a company website, I just did redesign and one of my friends told me that the gallery is not working for him (I changed # to .class so It’s working now for him 2 ). So I made everything very simple to investigate the issue( with test.php). anyways the site is also in my last line of signature, the image gallery.
In the source code of the visited pages is no difference: ok, for there is no extra php-code running in the php-version.
Both versions have the same html-error according to the html-validator, [U]this one[/U]: “Using the meta element to specify the document-wide default language is obsolete. Consider specifying the language on the root element instead.”
It seems like it’s your friends browser that is at fault if the error can’t be reproduced anywhere else.
It may be an add-on or extension that is creating a div in the page called #popUpdiv and therefore it gets styled by the stylesheet. Try changing the id name(s) to see if this is the issue.
This is one of those issue where you really need to get on the machine with the problem and see what’s what. As I mentioned above if you have Firebug or the webdev extension you can just view the generated source and it will show you exactly what html it is seeing.
It does sound rather peculiar but there must be an answer in one of the methods we’ve covered so far.
I do not know if I get the chance to try this any soon.
Also suggested him to re-install Firefox, works a bit strange, by clearing the history the homepage starts loading/appears, after done clearing it, it goes back to my browsed page. Forgot to check any add-ons…
Because of this issue I will recommend using class instead of ID.
Thank you for the suggestions and samples, will post if any progress is made.