Page 1 of 1

images color change in IE

Posted: Mon May 03, 2010 4:52 am
by ivan_nn2
Hello everybody,...

I would ask ad advice about smt happening on IE..

I have a menu where the link are made with images (contacts, about us, brands, sign in)..

In firefox i can see them perfectly aligned ...
In IE8 i can see them perfectly aligned but i don't know why, while the first box menu (contacts) has the image of the original color, the others link images have a different color (black, to be precise)..

Do you know why happens?...

thanks, I.

Re: images color change in IE

Posted: Mon May 03, 2010 10:09 am
by rnoack
my guess is the CSS/style, but if you really want help you have to post the code.

Re: images color change in IE

Posted: Mon May 03, 2010 11:22 am
by hypedupdawg
Yes - if you post the codes of any pages / CSS styles I can get to work! Just attach them with the "upload attachments" tab.

Re: images color change in IE

Posted: Mon May 03, 2010 12:04 pm
by pickle
hypedupdawg wrote:Yes - if you post the codes of any pages / CSS styles I can get to work! Just attach them with the "upload attachments" tab.
Better to just post the code inline so we don't have to download anything.

Have you validated your markup & CSS?

Re: images color change in IE

Posted: Mon May 03, 2010 2:45 pm
by hypedupdawg
or that... however, if he has 2 or 3 files and no idea where the problem is, I'd prefer to run them on my own server... same difference I suppose :)

Anyway, what does the validation process do? Does it catch more than just the standard "unexpected $T_VARIABLE" that web browsers do? I haven't had much experience with them.

Re: images color change in IE

Posted: Mon May 03, 2010 2:51 pm
by pickle
The "unexpected $T_VARIABLE" errors are not caught by the browser to indicate malformed HTML. They are caught by the PHP interpreter when parsing the PHP file.

Validation makes sure the HTML & CSS are properly formed. In some cases. If ~ivan_nn2 has forgotten to close a <span> or some other element, the validator will catch that. It's possible that might be what's causing the problem.

In any case, that's a good first step to, if nothing else, eliminate bad markup as a culprit.

Re: images color change in IE

Posted: Mon May 03, 2010 3:10 pm
by hypedupdawg
Gotcha - so basically they catch things that some browsers will work round (e.g. Firefox) but some will fail to cope with (e.g. IE). Sounds like a good thing to invesigate :?